blib/lib/Paws/CodeGuruProfiler.pm untested

filter: Statementstmt 0.0% 0 / 102 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 30 Podpod 0.0% 0 / 29 totaltotal 0.0% 0 / 165 CC 3 SCAR 10.8
CC
3
Cov
0%
ListAllProfileTimes
12.0
service
2.0
signing_name
2.0
CRAP 2.9
1 package Paws::CodeGuruProfiler;
2 use Moose;
3 sub service { 'codeguru-profiler' }
4 sub signing_name { 'codeguru-profiler' }
5 sub version { '2019-07-18' }
6 sub flattened_arrays { 0 }
7 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
8 has retry => (is => 'ro', isa => 'HashRef', default => sub {
9 { base => 'rand', type => 'exponential', growth_factor => 2 }
10 });
11 has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
12 ] });
13  
14 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller';
15  
16
17 sub AddNotificationChannels {
18 my $self = shift;
19 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::AddNotificationChannels', @_);
20 return $self->caller->do_call($self, $call_object);
21 }
22 sub BatchGetFrameMetricData {
23 my $self = shift;
24 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::BatchGetFrameMetricData', @_);
25 return $self->caller->do_call($self, $call_object);
26 }
27 sub ConfigureAgent {
28 my $self = shift;
29 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::ConfigureAgent', @_);
30 return $self->caller->do_call($self, $call_object);
31 }
32 sub CreateProfilingGroup {
33 my $self = shift;
34 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::CreateProfilingGroup', @_);
35 return $self->caller->do_call($self, $call_object);
36 }
37 sub DeleteProfilingGroup {
38 my $self = shift;
39 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::DeleteProfilingGroup', @_);
40 return $self->caller->do_call($self, $call_object);
41 }
42 sub DescribeProfilingGroup {
43 my $self = shift;
44 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::DescribeProfilingGroup', @_);
45 return $self->caller->do_call($self, $call_object);
46 }
47 sub GetFindingsReportAccountSummary {
48 my $self = shift;
49 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::GetFindingsReportAccountSummary', @_);
50 return $self->caller->do_call($self, $call_object);
51 }
52 sub GetNotificationConfiguration {
53 my $self = shift;
54 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::GetNotificationConfiguration', @_);
55 return $self->caller->do_call($self, $call_object);
56 }
57 sub GetPolicy {
58 my $self = shift;
59 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::GetPolicy', @_);
60 return $self->caller->do_call($self, $call_object);
61 }
62 sub GetProfile {
63 my $self = shift;
64 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::GetProfile', @_);
65 return $self->caller->do_call($self, $call_object);
66 }
67 sub GetRecommendations {
68 my $self = shift;
69 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::GetRecommendations', @_);
70 return $self->caller->do_call($self, $call_object);
71 }
72 sub ListFindingsReports {
73 my $self = shift;
74 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::ListFindingsReports', @_);
75 return $self->caller->do_call($self, $call_object);
76 }
77 sub ListProfileTimes {
78 my $self = shift;
79 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::ListProfileTimes', @_);
80 return $self->caller->do_call($self, $call_object);
81 }
82 sub ListProfilingGroups {
83 my $self = shift;
84 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::ListProfilingGroups', @_);
85 return $self->caller->do_call($self, $call_object);
86 }
87 sub ListTagsForResource {
88 my $self = shift;
89 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::ListTagsForResource', @_);
90 return $self->caller->do_call($self, $call_object);
91 }
92 sub PostAgentProfile {
93 my $self = shift;
94 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::PostAgentProfile', @_);
95 return $self->caller->do_call($self, $call_object);
96 }
97 sub PutPermission {
98 my $self = shift;
99 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::PutPermission', @_);
100 return $self->caller->do_call($self, $call_object);
101 }
102 sub RemoveNotificationChannel {
103 my $self = shift;
104 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::RemoveNotificationChannel', @_);
105 return $self->caller->do_call($self, $call_object);
106 }
107 sub RemovePermission {
108 my $self = shift;
109 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::RemovePermission', @_);
110 return $self->caller->do_call($self, $call_object);
111 }
112 sub SubmitFeedback {
113 my $self = shift;
114 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::SubmitFeedback', @_);
115 return $self->caller->do_call($self, $call_object);
116 }
117 sub TagResource {
118 my $self = shift;
119 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::TagResource', @_);
120 return $self->caller->do_call($self, $call_object);
121 }
122 sub UntagResource {
123 my $self = shift;
124 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::UntagResource', @_);
125 return $self->caller->do_call($self, $call_object);
126 }
127 sub UpdateProfilingGroup {
128 my $self = shift;
129 my $call_object = $self->new_with_coercions('Paws::CodeGuruProfiler::UpdateProfilingGroup', @_);
130 return $self->caller->do_call($self, $call_object);
131 }
132
133 sub ListAllProfileTimes {
134 my $self = shift;
135  
136 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
137 my $result = $self->ListProfileTimes(@_);
138 my $next_result = $result;
139  
140 if (not defined $callback) {
141 while ($next_result->nextToken) {
142 $next_result = $self->ListProfileTimes(@_, nextToken => $next_result->nextToken);
143 push @{ $result->profileTimes }, @{ $next_result->profileTimes };
144 }
145 return $result;
146 } else {
147 while ($result->nextToken) {
148 $callback->($_ => 'profileTimes') foreach (@{ $result->profileTimes });
149 $result = $self->ListProfileTimes(@_, nextToken => $result->nextToken);
150 }
151 $callback->($_ => 'profileTimes') foreach (@{ $result->profileTimes });
152 }
153  
154 return undef
155 }
156  
157  
158 sub operations { qw/AddNotificationChannels BatchGetFrameMetricData ConfigureAgent CreateProfilingGroup DeleteProfilingGroup DescribeProfilingGroup GetFindingsReportAccountSummary GetNotificationConfiguration GetPolicy GetProfile GetRecommendations ListFindingsReports ListProfileTimes ListProfilingGroups ListTagsForResource PostAgentProfile PutPermission RemoveNotificationChannel RemovePermission SubmitFeedback TagResource UntagResource UpdateProfilingGroup / }
159  
160 1;
161  
162 ### main pod documentation begin ###
163  
164 =head1 NAME
165  
166 Paws::CodeGuruProfiler - Perl Interface to AWS Amazon CodeGuru Profiler
167  
168 =head1 SYNOPSIS
169  
170 use Paws;
171  
172 my $obj = Paws->service('CodeGuruProfiler');
173 my $res = $obj->Method(
174 Arg1 => $val1,
175 Arg2 => [ 'V1', 'V2' ],
176 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
177 # of the arguments type
178 Arg3 => { Att1 => 'Val1' },
179 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
180 # the constructor of the arguments type
181 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
182 );
183  
184 =head1 DESCRIPTION
185  
186 This section provides documentation for the Amazon CodeGuru Profiler
187 API operations.
188  
189 Amazon CodeGuru Profiler collects runtime performance data from your
190 live applications, and provides recommendations that can help you
191 fine-tune your application performance. Using machine learning
192 algorithms, CodeGuru Profiler can help you find your most expensive
193 lines of code and suggest ways you can improve efficiency and remove
194 CPU bottlenecks.
195  
196 Amazon CodeGuru Profiler provides different visualizations of profiling
197 data to help you identify what code is running on the CPU, see how much
198 time is consumed, and suggest ways to reduce CPU utilization.
199  
200 Amazon CodeGuru Profiler currently supports applications written in all
201 Java virtual machine (JVM) languages and Python. While CodeGuru
202 Profiler supports both visualizations and recommendations for
203 applications written in Java, it can also generate visualizations and a
204 subset of recommendations for applications written in other JVM
205 languages and Python.
206  
207 For more information, see What is Amazon CodeGuru Profiler
208 (https://docs.aws.amazon.com/codeguru/latest/profiler-ug/what-is-codeguru-profiler.html)
209 in the I<Amazon CodeGuru Profiler User Guide>.
210  
211 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codeguru-profiler-2019-07-18>
212  
213  
214 =head1 METHODS
215  
216 =head2 AddNotificationChannels
217  
218 =over
219  
220 =item Channels => ArrayRef[L<Paws::CodeGuruProfiler::Channel>]
221  
222 =item ProfilingGroupName => Str
223  
224  
225 =back
226  
227 Each argument is described in detail in: L<Paws::CodeGuruProfiler::AddNotificationChannels>
228  
229 Returns: a L<Paws::CodeGuruProfiler::AddNotificationChannelsResponse> instance
230  
231 Add up to 2 anomaly notifications channels for a profiling group.
232  
233  
234 =head2 BatchGetFrameMetricData
235  
236 =over
237  
238 =item ProfilingGroupName => Str
239  
240 =item [EndTime => Str]
241  
242 =item [FrameMetrics => ArrayRef[L<Paws::CodeGuruProfiler::FrameMetric>]]
243  
244 =item [Period => Str]
245  
246 =item [StartTime => Str]
247  
248 =item [TargetResolution => Str]
249  
250  
251 =back
252  
253 Each argument is described in detail in: L<Paws::CodeGuruProfiler::BatchGetFrameMetricData>
254  
255 Returns: a L<Paws::CodeGuruProfiler::BatchGetFrameMetricDataResponse> instance
256  
257 Returns the time series of values for a requested list of frame metrics
258 from a time period.
259  
260  
261 =head2 ConfigureAgent
262  
263 =over
264  
265 =item ProfilingGroupName => Str
266  
267 =item [FleetInstanceId => Str]
268  
269 =item [Metadata => L<Paws::CodeGuruProfiler::Metadata>]
270  
271  
272 =back
273  
274 Each argument is described in detail in: L<Paws::CodeGuruProfiler::ConfigureAgent>
275  
276 Returns: a L<Paws::CodeGuruProfiler::ConfigureAgentResponse> instance
277  
278 Used by profiler agents to report their current state and to receive
279 remote configuration updates. For example, C<ConfigureAgent> can be
280 used to tell an agent whether to profile or not and for how long to
281 return profiling data.
282  
283  
284 =head2 CreateProfilingGroup
285  
286 =over
287  
288 =item ClientToken => Str
289  
290 =item ProfilingGroupName => Str
291  
292 =item [AgentOrchestrationConfig => L<Paws::CodeGuruProfiler::AgentOrchestrationConfig>]
293  
294 =item [ComputePlatform => Str]
295  
296 =item [Tags => L<Paws::CodeGuruProfiler::TagsMap>]
297  
298  
299 =back
300  
301 Each argument is described in detail in: L<Paws::CodeGuruProfiler::CreateProfilingGroup>
302  
303 Returns: a L<Paws::CodeGuruProfiler::CreateProfilingGroupResponse> instance
304  
305 Creates a profiling group.
306  
307  
308 =head2 DeleteProfilingGroup
309  
310 =over
311  
312 =item ProfilingGroupName => Str
313  
314  
315 =back
316  
317 Each argument is described in detail in: L<Paws::CodeGuruProfiler::DeleteProfilingGroup>
318  
319 Returns: a L<Paws::CodeGuruProfiler::DeleteProfilingGroupResponse> instance
320  
321 Deletes a profiling group.
322  
323  
324 =head2 DescribeProfilingGroup
325  
326 =over
327  
328 =item ProfilingGroupName => Str
329  
330  
331 =back
332  
333 Each argument is described in detail in: L<Paws::CodeGuruProfiler::DescribeProfilingGroup>
334  
335 Returns: a L<Paws::CodeGuruProfiler::DescribeProfilingGroupResponse> instance
336  
337 Returns a C<ProfilingGroupDescription>
338 (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html)
339 object that contains information about the requested profiling group.
340  
341  
342 =head2 GetFindingsReportAccountSummary
343  
344 =over
345  
346 =item [DailyReportsOnly => Bool]
347  
348 =item [MaxResults => Int]
349  
350 =item [NextToken => Str]
351  
352  
353 =back
354  
355 Each argument is described in detail in: L<Paws::CodeGuruProfiler::GetFindingsReportAccountSummary>
356  
357 Returns: a L<Paws::CodeGuruProfiler::GetFindingsReportAccountSummaryResponse> instance
358  
359 Returns a list of C<FindingsReportSummary>
360 (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_FindingsReportSummary.html)
361 objects that contain analysis results for all profiling groups in your
362 AWS account.
363  
364  
365 =head2 GetNotificationConfiguration
366  
367 =over
368  
369 =item ProfilingGroupName => Str
370  
371  
372 =back
373  
374 Each argument is described in detail in: L<Paws::CodeGuruProfiler::GetNotificationConfiguration>
375  
376 Returns: a L<Paws::CodeGuruProfiler::GetNotificationConfigurationResponse> instance
377  
378 Get the current configuration for anomaly notifications for a profiling
379 group.
380  
381  
382 =head2 GetPolicy
383  
384 =over
385  
386 =item ProfilingGroupName => Str
387  
388  
389 =back
390  
391 Each argument is described in detail in: L<Paws::CodeGuruProfiler::GetPolicy>
392  
393 Returns: a L<Paws::CodeGuruProfiler::GetPolicyResponse> instance
394  
395 Returns the JSON-formatted resource-based policy on a profiling group.
396  
397  
398 =head2 GetProfile
399  
400 =over
401  
402 =item ProfilingGroupName => Str
403  
404 =item [Accept => Str]
405  
406 =item [EndTime => Str]
407  
408 =item [MaxDepth => Int]
409  
410 =item [Period => Str]
411  
412 =item [StartTime => Str]
413  
414  
415 =back
416  
417 Each argument is described in detail in: L<Paws::CodeGuruProfiler::GetProfile>
418  
419 Returns: a L<Paws::CodeGuruProfiler::GetProfileResponse> instance
420  
421 Gets the aggregated profile of a profiling group for a specified time
422 range. Amazon CodeGuru Profiler collects posted agent profiles for a
423 profiling group into aggregated profiles.
424  
425 <note> <p> Because aggregated profiles expire over time <code>GetProfile</code> is not idempotent. </p> </note> <p> Specify the time range for the requested aggregated profile using 1 or 2 of the following parameters: <code>startTime</code>, <code>endTime</code>, <code>period</code>. The maximum time range allowed is 7 days. If you specify all 3 parameters, an exception is thrown. If you specify only <code>period</code>, the latest aggregated profile is returned. </p> <p> Aggregated profiles are available with aggregation periods of 5 minutes, 1 hour, and 1 day, aligned to UTC. The aggregation period of an aggregated profile determines how long it is retained. For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AggregatedProfileTime.html"> <code>AggregatedProfileTime</code> </a>. The aggregated profile's aggregation period determines how long it is retained by CodeGuru Profiler. </p> <ul> <li> <p> If the aggregation period is 5 minutes, the aggregated profile is retained for 15 days. </p> </li> <li> <p> If the aggregation period is 1 hour, the aggregated profile is retained for 60 days. </p> </li> <li> <p> If the aggregation period is 1 day, the aggregated profile is retained for 3 years. </p> </li> </ul> <p>There are two use cases for calling <code>GetProfile</code>.</p> <ol> <li> <p> If you want to return an aggregated profile that already exists, use <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ListProfileTimes.html"> <code>ListProfileTimes</code> </a> to view the time ranges of existing aggregated profiles. Use them in a <code>GetProfile</code> request to return a specific, existing aggregated profile. </p> </li> <li> <p> If you want to return an aggregated profile for a time range that doesn't align with an existing aggregated profile, then CodeGuru Profiler makes a best effort to combine existing aggregated profiles from the requested time range and return them as one aggregated profile. </p> <p> If aggregated profiles do not exist for the full time range requested, then aggregated profiles for a smaller time range are returned. For example, if the requested time range is from 00:00 to 00:20, and the existing aggregated profiles are from 00:15 and 00:25, then the aggregated profiles from 00:15 to 00:20 are returned. </p> </li> </ol>
426  
427  
428 =head2 GetRecommendations
429  
430 =over
431  
432 =item EndTime => Str
433  
434 =item ProfilingGroupName => Str
435  
436 =item StartTime => Str
437  
438 =item [Locale => Str]
439  
440  
441 =back
442  
443 Each argument is described in detail in: L<Paws::CodeGuruProfiler::GetRecommendations>
444  
445 Returns: a L<Paws::CodeGuruProfiler::GetRecommendationsResponse> instance
446  
447 Returns a list of C<Recommendation>
448 (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_Recommendation.html)
449 objects that contain recommendations for a profiling group for a given
450 time period. A list of C<Anomaly>
451 (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_Anomaly.html)
452 objects that contains details about anomalies detected in the profiling
453 group for the same time period is also returned.
454  
455  
456 =head2 ListFindingsReports
457  
458 =over
459  
460 =item EndTime => Str
461  
462 =item ProfilingGroupName => Str
463  
464 =item StartTime => Str
465  
466 =item [DailyReportsOnly => Bool]
467  
468 =item [MaxResults => Int]
469  
470 =item [NextToken => Str]
471  
472  
473 =back
474  
475 Each argument is described in detail in: L<Paws::CodeGuruProfiler::ListFindingsReports>
476  
477 Returns: a L<Paws::CodeGuruProfiler::ListFindingsReportsResponse> instance
478  
479 List the available reports for a given profiling group and time range.
480  
481  
482 =head2 ListProfileTimes
483  
484 =over
485  
486 =item EndTime => Str
487  
488 =item Period => Str
489  
490 =item ProfilingGroupName => Str
491  
492 =item StartTime => Str
493  
494 =item [MaxResults => Int]
495  
496 =item [NextToken => Str]
497  
498 =item [OrderBy => Str]
499  
500  
501 =back
502  
503 Each argument is described in detail in: L<Paws::CodeGuruProfiler::ListProfileTimes>
504  
505 Returns: a L<Paws::CodeGuruProfiler::ListProfileTimesResponse> instance
506  
507 Lists the start times of the available aggregated profiles of a
508 profiling group for an aggregation period within the specified time
509 range.
510  
511  
512 =head2 ListProfilingGroups
513  
514 =over
515  
516 =item [IncludeDescription => Bool]
517  
518 =item [MaxResults => Int]
519  
520 =item [NextToken => Str]
521  
522  
523 =back
524  
525 Each argument is described in detail in: L<Paws::CodeGuruProfiler::ListProfilingGroups>
526  
527 Returns: a L<Paws::CodeGuruProfiler::ListProfilingGroupsResponse> instance
528  
529 Returns a list of profiling groups. The profiling groups are returned
530 as C<ProfilingGroupDescription>
531 (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html)
532 objects.
533  
534  
535 =head2 ListTagsForResource
536  
537 =over
538  
539 =item ResourceArn => Str
540  
541  
542 =back
543  
544 Each argument is described in detail in: L<Paws::CodeGuruProfiler::ListTagsForResource>
545  
546 Returns: a L<Paws::CodeGuruProfiler::ListTagsForResourceResponse> instance
547  
548 Returns a list of the tags that are assigned to a specified resource.
549  
550  
551 =head2 PostAgentProfile
552  
553 =over
554  
555 =item AgentProfile => Str
556  
557 =item ContentType => Str
558  
559 =item ProfilingGroupName => Str
560  
561 =item [ProfileToken => Str]
562  
563  
564 =back
565  
566 Each argument is described in detail in: L<Paws::CodeGuruProfiler::PostAgentProfile>
567  
568 Returns: a L<Paws::CodeGuruProfiler::PostAgentProfileResponse> instance
569  
570 Submits profiling data to an aggregated profile of a profiling group.
571 To get an aggregated profile that is created with this profiling data,
572 use C<GetProfile>
573 (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_GetProfile.html).
574  
575  
576 =head2 PutPermission
577  
578 =over
579  
580 =item ActionGroup => Str
581  
582 =item Principals => ArrayRef[Str|Undef]
583  
584 =item ProfilingGroupName => Str
585  
586 =item [RevisionId => Str]
587  
588  
589 =back
590  
591 Each argument is described in detail in: L<Paws::CodeGuruProfiler::PutPermission>
592  
593 Returns: a L<Paws::CodeGuruProfiler::PutPermissionResponse> instance
594  
595 Adds permissions to a profiling group's resource-based policy that are
596 provided using an action group. If a profiling group doesn't have a
597 resource-based policy, one is created for it using the permissions in
598 the action group and the roles and users in the C<principals>
599 parameter.
600  
601 <p> The one supported action group that can be added is <code>agentPermission</code> which grants <code>ConfigureAgent</code> and <code>PostAgent</code> permissions. For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-ug/resource-based-policies.html">Resource-based policies in CodeGuru Profiler</a> in the <i>Amazon CodeGuru Profiler User Guide</i>, <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html"> <code>ConfigureAgent</code> </a>, and <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_PostAgentProfile.html"> <code>PostAgentProfile</code> </a>. </p> <p> The first time you call <code>PutPermission</code> on a profiling group, do not specify a <code>revisionId</code> because it doesn't have a resource-based policy. Subsequent calls must provide a <code>revisionId</code> to specify which revision of the resource-based policy to add the permissions to. </p> <p> The response contains the profiling group's JSON-formatted resource policy. </p>
602  
603  
604 =head2 RemoveNotificationChannel
605  
606 =over
607  
608 =item ChannelId => Str
609  
610 =item ProfilingGroupName => Str
611  
612  
613 =back
614  
615 Each argument is described in detail in: L<Paws::CodeGuruProfiler::RemoveNotificationChannel>
616  
617 Returns: a L<Paws::CodeGuruProfiler::RemoveNotificationChannelResponse> instance
618  
619 Remove one anomaly notifications channel for a profiling group.
620  
621  
622 =head2 RemovePermission
623  
624 =over
625  
626 =item ActionGroup => Str
627  
628 =item ProfilingGroupName => Str
629  
630 =item RevisionId => Str
631  
632  
633 =back
634  
635 Each argument is described in detail in: L<Paws::CodeGuruProfiler::RemovePermission>
636  
637 Returns: a L<Paws::CodeGuruProfiler::RemovePermissionResponse> instance
638  
639 Removes permissions from a profiling group's resource-based policy that
640 are provided using an action group. The one supported action group that
641 can be removed is C<agentPermission> which grants C<ConfigureAgent> and
642 C<PostAgent> permissions. For more information, see Resource-based
643 policies in CodeGuru Profiler
644 (https://docs.aws.amazon.com/codeguru/latest/profiler-ug/resource-based-policies.html)
645 in the I<Amazon CodeGuru Profiler User Guide>, C<ConfigureAgent>
646 (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html),
647 and C<PostAgentProfile>
648 (https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_PostAgentProfile.html).
649  
650  
651 =head2 SubmitFeedback
652  
653 =over
654  
655 =item AnomalyInstanceId => Str
656  
657 =item ProfilingGroupName => Str
658  
659 =item Type => Str
660  
661 =item [Comment => Str]
662  
663  
664 =back
665  
666 Each argument is described in detail in: L<Paws::CodeGuruProfiler::SubmitFeedback>
667  
668 Returns: a L<Paws::CodeGuruProfiler::SubmitFeedbackResponse> instance
669  
670 Sends feedback to CodeGuru Profiler about whether the anomaly detected
671 by the analysis is useful or not.
672  
673  
674 =head2 TagResource
675  
676 =over
677  
678 =item ResourceArn => Str
679  
680 =item Tags => L<Paws::CodeGuruProfiler::TagsMap>
681  
682  
683 =back
684  
685 Each argument is described in detail in: L<Paws::CodeGuruProfiler::TagResource>
686  
687 Returns: a L<Paws::CodeGuruProfiler::TagResourceResponse> instance
688  
689 Use to assign one or more tags to a resource.
690  
691  
692 =head2 UntagResource
693  
694 =over
695  
696 =item ResourceArn => Str
697  
698 =item TagKeys => ArrayRef[Str|Undef]
699  
700  
701 =back
702  
703 Each argument is described in detail in: L<Paws::CodeGuruProfiler::UntagResource>
704  
705 Returns: a L<Paws::CodeGuruProfiler::UntagResourceResponse> instance
706  
707 Use to remove one or more tags from a resource.
708  
709  
710 =head2 UpdateProfilingGroup
711  
712 =over
713  
714 =item AgentOrchestrationConfig => L<Paws::CodeGuruProfiler::AgentOrchestrationConfig>
715  
716 =item ProfilingGroupName => Str
717  
718  
719 =back
720  
721 Each argument is described in detail in: L<Paws::CodeGuruProfiler::UpdateProfilingGroup>
722  
723 Returns: a L<Paws::CodeGuruProfiler::UpdateProfilingGroupResponse> instance
724  
725 Updates a profiling group.
726  
727  
728  
729  
730 =head1 PAGINATORS
731  
732 Paginator methods are helpers that repetively call methods that return partial results
733  
734 =head2 ListAllProfileTimes(sub { },EndTime => Str, Period => Str, ProfilingGroupName => Str, StartTime => Str, [MaxResults => Int, NextToken => Str, OrderBy => Str])
735  
736 =head2 ListAllProfileTimes(EndTime => Str, Period => Str, ProfilingGroupName => Str, StartTime => Str, [MaxResults => Int, NextToken => Str, OrderBy => Str])
737  
738  
739 If passed a sub as first parameter, it will call the sub for each element found in :
740  
741 - profileTimes, passing the object as the first parameter, and the string 'profileTimes' as the second parameter
742  
743 If not, it will return a a L<Paws::CodeGuruProfiler::ListProfileTimesResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
744  
745  
746  
747  
748  
749 =head1 SEE ALSO
750  
751 This service class forms part of L<Paws>
752  
753 =head1 BUGS and CONTRIBUTIONS
754  
755 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
756  
757 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
758  
759 =cut
760