CodeGuruProfiler
****************
Client
======
class CodeGuruProfiler.Client
A low-level client representing Amazon CodeGuru Profiler
This section provides documentation for the Amazon CodeGuru
Profiler API operations.
Amazon CodeGuru Profiler collects runtime performance data from
your live applications, and provides recommendations that can help
you fine-tune your application performance. Using machine learning
algorithms, CodeGuru Profiler can help you find your most expensive
lines of code and suggest ways you can improve efficiency and
remove CPU bottlenecks.
Amazon CodeGuru Profiler provides different visualizations of
profiling data to help you identify what code is running on the
CPU, see how much time is consumed, and suggest ways to reduce CPU
utilization.
Note:
Amazon CodeGuru Profiler currently supports applications written
in all Java virtual machine (JVM) languages and Python. While
CodeGuru Profiler supports both visualizations and
recommendations for applications written in Java, it can also
generate visualizations and a subset of recommendations for
applications written in other JVM languages and Python.
For more information, see What is Amazon CodeGuru Profiler in the
*Amazon CodeGuru Profiler User Guide*.
import boto3
client = boto3.client('codeguruprofiler')
These are the available methods:
* add_notification_channels
* batch_get_frame_metric_data
* can_paginate
* close
* configure_agent
* create_profiling_group
* delete_profiling_group
* describe_profiling_group
* get_findings_report_account_summary
* get_notification_configuration
* get_paginator
* get_policy
* get_profile
* get_recommendations
* get_waiter
* list_findings_reports
* list_profile_times
* list_profiling_groups
* list_tags_for_resource
* post_agent_profile
* put_permission
* remove_notification_channel
* remove_permission
* submit_feedback
* tag_resource
* untag_resource
* update_profiling_group
Paginators
==========
Paginators are available on a client instance via the "get_paginator"
method. For more detailed instructions and examples on the usage of
paginators, see the paginators user guide.
The available paginators are:
* ListProfileTimes
CodeGuruProfiler / Paginator / ListProfileTimes
ListProfileTimes
****************
class CodeGuruProfiler.Paginator.ListProfileTimes
paginator = client.get_paginator('list_profile_times')
paginate(**kwargs)
Creates an iterator that will paginate through responses from
"CodeGuruProfiler.Client.list_profile_times()".
See also: AWS API Documentation
**Request Syntax**
response_iterator = paginator.paginate(
endTime=datetime(2015, 1, 1),
orderBy='TimestampDescending'|'TimestampAscending',
period='PT5M'|'PT1H'|'P1D',
profilingGroupName='string',
startTime=datetime(2015, 1, 1),
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
Parameters:
* **endTime** (*datetime*) --
**[REQUIRED]**
The end time of the time range from which to list the
profiles.
* **orderBy** (*string*) -- The order (ascending or
descending by start time of the profile) to use when
listing profiles. Defaults to "TIMESTAMP_DESCENDING".
* **period** (*string*) --
**[REQUIRED]**
The aggregation period. This specifies the period during
which an aggregation profile collects posted agent profiles
for a profiling group. There are 3 valid values.
* "P1D" — 1 day
* "PT1H" — 1 hour
* "PT5M" — 5 minutes
* **profilingGroupName** (*string*) --
**[REQUIRED]**
The name of the profiling group.
* **startTime** (*datetime*) --
**[REQUIRED]**
The start time of the time range from which to list the
profiles.
* **PaginationConfig** (*dict*) --
A dictionary that provides parameters to control
pagination.
* **MaxItems** *(integer) --*
The total number of items to return. If the total number
of items available is more than the value specified in
max-items then a "NextToken" will be provided in the
output that you can use to resume pagination.
* **PageSize** *(integer) --*
The size of each page.
* **StartingToken** *(string) --*
A token to specify where to start paginating. This is the
"NextToken" from a previous response.
Return type:
dict
Returns:
**Response Syntax**
{
'profileTimes': [
{
'start': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
**Response Structure**
* *(dict) --*
The structure representing the listProfileTimesResponse.
* **profileTimes** *(list) --*
The list of start times of the available profiles for the
aggregation period in the specified time range.
* *(dict) --*
Contains the start time of a profile.
* **start** *(datetime) --*
The start time of a profile. It is specified using
the ISO 8601 format. For example,
2020-06-01T13:15:02.001Z represents 1 millisecond
past June 1, 2020 1:15:02 PM UTC.
* **NextToken** *(string) --*
A token to resume pagination.
CodeGuruProfiler / Client / get_paginator
get_paginator
*************
CodeGuruProfiler.Client.get_paginator(operation_name)
Create a paginator for an operation.
Parameters:
**operation_name** (*string*) -- The operation name. This is
the same name as the method name on the client. For example, if
the method name is "create_foo", and you'd normally invoke the
operation as "client.create_foo(**kwargs)", if the "create_foo"
operation can be paginated, you can use the call
"client.get_paginator("create_foo")".
Raises:
**OperationNotPageableError** -- Raised if the operation is not
pageable. You can use the "client.can_paginate" method to check
if an operation is pageable.
Return type:
"botocore.paginate.Paginator"
Returns:
A paginator object.
CodeGuruProfiler / Client / can_paginate
can_paginate
************
CodeGuruProfiler.Client.can_paginate(operation_name)
Check if an operation can be paginated.
Parameters:
**operation_name** (*string*) -- The operation name. This is
the same name as the method name on the client. For example, if
the method name is "create_foo", and you'd normally invoke the
operation as "client.create_foo(**kwargs)", if the "create_foo"
operation can be paginated, you can use the call
"client.get_paginator("create_foo")".
Returns:
"True" if the operation can be paginated, "False" otherwise.
CodeGuruProfiler / Client / describe_profiling_group
describe_profiling_group
************************
CodeGuruProfiler.Client.describe_profiling_group(**kwargs)
Returns a ProfilingGroupDescription object that contains
information about the requested profiling group.
See also: AWS API Documentation
**Request Syntax**
response = client.describe_profiling_group(
profilingGroupName='string'
)
Parameters:
**profilingGroupName** (*string*) --
**[REQUIRED]**
The name of the profiling group to get information about.
Return type:
dict
Returns:
**Response Syntax**
{
'profilingGroup': {
'agentOrchestrationConfig': {
'profilingEnabled': True|False
},
'arn': 'string',
'computePlatform': 'Default'|'AWSLambda',
'createdAt': datetime(2015, 1, 1),
'name': 'string',
'profilingStatus': {
'latestAgentOrchestratedAt': datetime(2015, 1, 1),
'latestAgentProfileReportedAt': datetime(2015, 1, 1),
'latestAggregatedProfile': {
'period': 'PT5M'|'PT1H'|'P1D',
'start': datetime(2015, 1, 1)
}
},
'tags': {
'string': 'string'
},
'updatedAt': datetime(2015, 1, 1)
}
}
**Response Structure**
* *(dict) --*
The structure representing the describeProfilingGroupResponse.
* **profilingGroup** *(dict) --*
The returned ProfilingGroupDescription object that contains
information about the requested profiling group.
* **agentOrchestrationConfig** *(dict) --*
An AgentOrchestrationConfig object that indicates if the
profiling group is enabled for profiled or not.
* **profilingEnabled** *(boolean) --*
A "Boolean" that specifies whether the profiling agent
collects profiling data or not. Set to "true" to enable
profiling.
* **arn** *(string) --*
The Amazon Resource Name (ARN) identifying the profiling
group resource.
* **computePlatform** *(string) --*
The compute platform of the profiling group. If it is set
to "AWSLambda", then the profiled application runs on AWS
Lambda. If it is set to "Default", then the profiled
application runs on a compute platform that is not AWS
Lambda, such an Amazon EC2 instance, an on-premises
server, or a different platform. The default is "Default".
* **createdAt** *(datetime) --*
The time when the profiling group was created. Specify
using the ISO 8601 format. For example,
2020-06-01T13:15:02.001Z represents 1 millisecond past
June 1, 2020 1:15:02 PM UTC.
* **name** *(string) --*
The name of the profiling group.
* **profilingStatus** *(dict) --*
A ProfilingStatus object that includes information about
the last time a profile agent pinged back, the last time a
profile was received, and the aggregation period and start
time for the most recent aggregated profile.
* **latestAgentOrchestratedAt** *(datetime) --*
The date and time when the profiling agent most recently
pinged back. Specify using the ISO 8601 format. For
example, 2020-06-01T13:15:02.001Z represents 1
millisecond past June 1, 2020 1:15:02 PM UTC.
* **latestAgentProfileReportedAt** *(datetime) --*
The date and time when the most recent profile was
received. Specify using the ISO 8601 format. For
example, 2020-06-01T13:15:02.001Z represents 1
millisecond past June 1, 2020 1:15:02 PM UTC.
* **latestAggregatedProfile** *(dict) --*
An AggregatedProfileTime object that contains the
aggregation period and start time for an aggregated
profile.
* **period** *(string) --*
The aggregation period. This indicates the period
during which an aggregation profile collects posted
agent profiles for a profiling group. Use one of three
valid durations that are specified using the ISO 8601
format.
* "P1D" — 1 day
* "PT1H" — 1 hour
* "PT5M" — 5 minutes
* **start** *(datetime) --*
The time that aggregation of posted agent profiles for
a profiling group starts. The aggregation profile
contains profiles posted by the agent starting at this
time for an aggregation period specified by the
"period" property of the "AggregatedProfileTime"
object.
Specify "start" using the ISO 8601 format. For
example, 2020-06-01T13:15:02.001Z represents 1
millisecond past June 1, 2020 1:15:02 PM UTC.
* **tags** *(dict) --*
A list of the tags that belong to this profiling group.
* *(string) --*
* *(string) --*
* **updatedAt** *(datetime) --*
The date and time when the profiling group was last
updated. Specify using the ISO 8601 format. For example,
2020-06-01T13:15:02.001Z represents 1 millisecond past
June 1, 2020 1:15:02 PM UTC.
**Exceptions**
* "CodeGuruProfiler.Client.exceptions.InternalServerException"
* "CodeGuruProfiler.Client.exceptions.ValidationException"
* "CodeGuruProfiler.Client.exceptions.ThrottlingException"
* "CodeGuruProfiler.Client.exceptions.ResourceNotFoundException"
CodeGuruProfiler / Client / configure_agent
configure_agent
***************
CodeGuruProfiler.Client.configure_agent(**kwargs)
Used by profiler agents to report their current state and to
receive remote configuration updates. For example, "ConfigureAgent"
can be used to tell an agent whether to profile or not and for how
long to return profiling data.
See also: AWS API Documentation
**Request Syntax**
response = client.configure_agent(
fleetInstanceId='string',
metadata={
'string': 'string'
},
profilingGroupName='string'
)
Parameters:
* **fleetInstanceId** (*string*) -- A universally unique
identifier (UUID) for a profiling instance. For example, if
the profiling instance is an Amazon EC2 instance, it is the
instance ID. If it is an AWS Fargate container, it is the
container's task ID.
* **metadata** (*dict*) --
Metadata captured about the compute platform the agent is
running on. It includes information about sampling and
reporting. The valid fields are:
* "COMPUTE_PLATFORM" - The compute platform on which the agent
is running
* "AGENT_ID" - The ID for an agent instance.
* "AWS_REQUEST_ID" - The AWS request ID of a Lambda
invocation.
* "EXECUTION_ENVIRONMENT" - The execution environment a Lambda
function is running on.
* "LAMBDA_FUNCTION_ARN" - The Amazon Resource Name (ARN) that
is used to invoke a Lambda function.
* "LAMBDA_MEMORY_LIMIT_IN_MB" - The memory allocated to a
Lambda function.
* "LAMBDA_REMAINING_TIME_IN_MILLISECONDS" - The time in
milliseconds before execution of a Lambda function times
out.
* "LAMBDA_TIME_GAP_BETWEEN_INVOKES_IN_MILLISECONDS" - The time
in milliseconds between two invocations of a Lambda
function.
* "LAMBDA_PREVIOUS_EXECUTION_TIME_IN_MILLISECONDS" - The time
in milliseconds for the previous Lambda invocation.
* *(string) --*
* *(string) --*
* **profilingGroupName** (*string*) --
**[REQUIRED]**
The name of the profiling group for which the configured agent
is collecting profiling data.
Return type:
dict
Returns:
**Response Syntax**
{
'configuration': {
'agentParameters': {
'string': 'string'
},
'periodInSeconds': 123,
'shouldProfile': True|False
}
}
**Response Structure**
* *(dict) --*
The structure representing the configureAgentResponse.
* **configuration** *(dict) --*
An AgentConfiguration object that specifies if an agent
profiles or not and for how long to return profiling data.
* **agentParameters** *(dict) --*
Parameters used by the profiler. The valid parameters are:
* "MaxStackDepth" - The maximum depth of the stacks in the
code that is represented in the profile. For example, if
CodeGuru Profiler finds a method "A", which calls method
"B", which calls method "C", which calls method "D",
then the depth is 4. If the "maxDepth" is set to 2, then
the profiler evaluates "A" and "B".
* "MemoryUsageLimitPercent" - The percentage of memory
that is used by the profiler.
* "MinimumTimeForReportingInMilliseconds" - The minimum
time in milliseconds between sending reports.
* "ReportingIntervalInMilliseconds" - The reporting
interval in milliseconds used to report profiles.
* "SamplingIntervalInMilliseconds" - The sampling interval
in milliseconds that is used to profile samples.
* *(string) --*
* *(string) --*
* **periodInSeconds** *(integer) --*
How long a profiling agent should send profiling data
using ConfigureAgent. For example, if this is set to 300,
the profiling agent calls ConfigureAgent every 5 minutes
to submit the profiled data collected during that period.
* **shouldProfile** *(boolean) --*
A "Boolean" that specifies whether the profiling agent
collects profiling data or not. Set to "true" to enable
profiling.
**Exceptions**
* "CodeGuruProfiler.Client.exceptions.InternalServerException"
* "CodeGuruProfiler.Client.exceptions.ValidationException"
* "CodeGuruProfiler.Client.exceptions.ThrottlingException"
* "CodeGuruProfiler.Client.exceptions.ResourceNotFoundException"
CodeGuruProfiler / Client / list_tags_for_resource
list_tags_for_resource
**********************
CodeGuruProfiler.Client.list_tags_for_resource(**kwargs)
Returns a list of the tags that are assigned to a specified
resource.
See also: AWS API Documentation
**Request Syntax**
response = client.list_tags_for_resource(
resourceArn='string'
)
Parameters:
**resourceArn** (*string*) --
**[REQUIRED]**
The Amazon Resource Name (ARN) of the resource that contains the
tags to return.
Return type:
dict
Returns:
**Response Syntax**
{
'tags': {
'string': 'string'
}
}
**Response Structure**
* *(dict) --*
* **tags** *(dict) --*
The list of tags assigned to the specified resource. This is
the list of tags returned in the response.
* *(string) --*
* *(string) --*
**Exceptions**
* "CodeGuruProfiler.Client.exceptions.InternalServerException"
* "CodeGuruProfiler.Client.exceptions.ValidationException"
* "CodeGuruProfiler.Client.exceptions.ResourceNotFoundException"
CodeGuruProfiler / Client / untag_resource
untag_resource
**************
CodeGuruProfiler.Client.untag_resource(**kwargs)
Use to remove one or more tags from a resource.
See also: AWS API Documentation
**Request Syntax**
response = client.untag_resource(
resourceArn='string',
tagKeys=[
'string',
]
)
Parameters:
* **resourceArn** (*string*) --
**[REQUIRED]**
The Amazon Resource Name (ARN) of the resource that contains
the tags to remove.
* **tagKeys** (*list*) --
**[REQUIRED]**
A list of tag keys. Existing tags of resources with keys in
this list are removed from the specified resource.
* *(string) --*
Return type:
dict
Returns:
**Response Syntax**
{}
**Response Structure**
* *(dict) --*
**Exceptions**
* "CodeGuruProfiler.Client.exceptions.InternalServerException"
* "CodeGuruProfiler.Client.exceptions.ValidationException"
* "CodeGuruProfiler.Client.exceptions.ResourceNotFoundException"
CodeGuruProfiler / Client / get_profile
get_profile
***********
CodeGuruProfiler.Client.get_profile(**kwargs)
Gets the aggregated profile of a profiling group for a specified
time range. Amazon CodeGuru Profiler collects posted agent profiles
for a profiling group into aggregated profiles.
`` Because aggregated profiles expire over time
GetProfile is not idempotent.
Specify the time range for the requested aggregated profile
using 1 or 2 of the following parameters:
startTime, endTime,
period. The maximum time range allowed is 7 days.
If you specify all 3 parameters, an exception is thrown. If you
specify only period, the latest aggregated profile
is returned.
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
AggregatedProfileTime . The aggregated
profile's aggregation period determines how long it is retained
by CodeGuru Profiler.
If the aggregation period is 5 minutes, the aggregated profile is retained for 15 days.
If the aggregation period is 1 hour, the aggregated profile is retained for 60 days.
If the aggregation period is 1 day, the aggregated profile is retained for 3 years.
There are two use
cases for calling GetProfile.
If
you want to return an aggregated profile that already exists,
use
ListProfileTimes to view the time ranges of
existing aggregated profiles. Use them in a
GetProfile request to return a specific, existing
aggregated profile.
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.
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.
application/json — standard
JSON format
application/x-amzn-
ion — the Amazon Ion data format. For more
information, see Amazon Ion.
To get the latest aggregated profile, specify only
period.
If you specify startTime, then you must
also specify period or endTime,
but not both.
application/json — standard
JSON format
application/x-amzn-
ion — the Amazon Ion data format. For more
information, see Amazon Ion.
The one supported action group that can be added is
agentPermission which grants
ConfigureAgent and PostAgent
permissions. For more information, see Resource-based policies in
CodeGuru Profiler in the Amazon CodeGuru Profiler User
Guide,
ConfigureAgent , and PostAgentProfile
.
The first time you call
PutPermission on a profiling group, do not specify
a revisionId because it doesn't have a resource-
based policy. Subsequent calls must provide a
revisionId to specify which revision of the
resource-based policy to add the permissions to.
The response contains the profiling group's JSON-formatted resource policy.
`` See also: AWS API Documentation **Request Syntax** response = client.put_permission( actionGroup='agentPermissions', principals=[ 'string', ], profilingGroupName='string', revisionId='string' ) Parameters: * **actionGroup** (*string*) -- **[REQUIRED]** Specifies an action group that contains permissions to add to a profiling group resource. One action group is supported, "agentPermissions", which grants permission to perform actions required by the profiling agent, "ConfigureAgent" and "PostAgentProfile" permissions. * **principals** (*list*) -- **[REQUIRED]** A list ARNs for the roles and users you want to grant access to the profiling group. Wildcards are not are supported in the ARNs. * *(string) --* * **profilingGroupName** (*string*) -- **[REQUIRED]** The name of the profiling group to grant access to. * **revisionId** (*string*) -- A universally unique identifier (UUID) for the revision of the policy you are adding to the profiling group. Do not specify this when you add permissions to a profiling group for the first time. If a policy already exists on the profiling group, you must specify the "revisionId". Return type: dict Returns: **Response Syntax** { 'policy': 'string', 'revisionId': 'string' } **Response Structure** * *(dict) --* The structure representing the "putPermissionResponse". * **policy** *(string) --* The JSON-formatted resource-based policy on the profiling group that includes the added permissions. * **revisionId** *(string) --* A universally unique identifier (UUID) for the revision of the resource-based policy that includes the added permissions. The JSON-formatted policy is in the "policy" element of the response. **Exceptions** * "CodeGuruProfiler.Client.exceptions.InternalServerException" * "CodeGuruProfiler.Client.exceptions.ConflictException" * "CodeGuruProfiler.Client.exceptions.ValidationException" * "CodeGuruProfiler.Client.exceptions.ThrottlingException" * "CodeGuruProfiler.Client.exceptions.ResourceNotFoundException" CodeGuruProfiler / Client / remove_permission remove_permission ***************** CodeGuruProfiler.Client.remove_permission(**kwargs) Removes permissions from a profiling group's resource-based policy that are provided using an action group. The one supported action group that can be removed is "agentPermission" which grants "ConfigureAgent" and "PostAgent" permissions. For more information, see Resource-based policies in CodeGuru Profiler in the *Amazon CodeGuru Profiler User Guide*, ConfigureAgent, and PostAgentProfile. See also: AWS API Documentation **Request Syntax** response = client.remove_permission( actionGroup='agentPermissions', profilingGroupName='string', revisionId='string' ) Parameters: * **actionGroup** (*string*) -- **[REQUIRED]** Specifies an action group that contains the permissions to remove from a profiling group's resource-based policy. One action group is supported, "agentPermissions", which grants "ConfigureAgent" and "PostAgentProfile" permissions. * **profilingGroupName** (*string*) -- **[REQUIRED]** The name of the profiling group. * **revisionId** (*string*) -- **[REQUIRED]** A universally unique identifier (UUID) for the revision of the resource-based policy from which you want to remove permissions. Return type: dict Returns: **Response Syntax** { 'policy': 'string', 'revisionId': 'string' } **Response Structure** * *(dict) --* The structure representing the "removePermissionResponse". * **policy** *(string) --* The JSON-formatted resource-based policy on the profiling group after the specified permissions were removed. * **revisionId** *(string) --* A universally unique identifier (UUID) for the revision of the resource-based policy after the specified permissions were removed. The updated JSON-formatted policy is in the "policy" element of the response. **Exceptions** * "CodeGuruProfiler.Client.exceptions.InternalServerException" * "CodeGuruProfiler.Client.exceptions.ConflictException" * "CodeGuruProfiler.Client.exceptions.ValidationException" * "CodeGuruProfiler.Client.exceptions.ThrottlingException" * "CodeGuruProfiler.Client.exceptions.ResourceNotFoundException" CodeGuruProfiler / Client / get_notification_configuration get_notification_configuration ****************************** CodeGuruProfiler.Client.get_notification_configuration(**kwargs) Get the current configuration for anomaly notifications for a profiling group. See also: AWS API Documentation **Request Syntax** response = client.get_notification_configuration( profilingGroupName='string' ) Parameters: **profilingGroupName** (*string*) -- **[REQUIRED]** The name of the profiling group we want to get the notification configuration for. Return type: dict Returns: **Response Syntax** { 'notificationConfiguration': { 'channels': [ { 'eventPublishers': [ 'AnomalyDetection', ], 'id': 'string', 'uri': 'string' }, ] } } **Response Structure** * *(dict) --* The structure representing the GetNotificationConfigurationResponse. * **notificationConfiguration** *(dict) --* The current notification configuration for this profiling group. * **channels** *(list) --* List of up to two channels to be used for sending notifications for events detected from the application profile. * *(dict) --* Notification medium for users to get alerted for events that occur in application profile. We support SNS topic as a notification channel. * **eventPublishers** *(list) --* List of publishers for different type of events that may be detected in an application from the profile. Anomaly detection is the only event publisher in Profiler. * *(string) --* * **id** *(string) --* Unique identifier for each "Channel" in the notification configuration of a Profiling Group. A random UUID for channelId is used when adding a channel to the notification configuration if not specified in the request. * **uri** *(string) --* Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel uri. **Exceptions** * "CodeGuruProfiler.Client.exceptions.InternalServerException" * "CodeGuruProfiler.Client.exceptions.ValidationException" * "CodeGuruProfiler.Client.exceptions.ThrottlingException" * "CodeGuruProfiler.Client.exceptions.ResourceNotFoundException" CodeGuruProfiler / Client / remove_notification_channel remove_notification_channel *************************** CodeGuruProfiler.Client.remove_notification_channel(**kwargs) Remove one anomaly notifications channel for a profiling group. See also: AWS API Documentation **Request Syntax** response = client.remove_notification_channel( channelId='string', profilingGroupName='string' ) Parameters: * **channelId** (*string*) -- **[REQUIRED]** The id of the channel that we want to stop receiving notifications. * **profilingGroupName** (*string*) -- **[REQUIRED]** The name of the profiling group we want to change notification configuration for. Return type: dict Returns: **Response Syntax** { 'notificationConfiguration': { 'channels': [ { 'eventPublishers': [ 'AnomalyDetection', ], 'id': 'string', 'uri': 'string' }, ] } } **Response Structure** * *(dict) --* The structure representing the RemoveNotificationChannelResponse. * **notificationConfiguration** *(dict) --* The new notification configuration for this profiling group. * **channels** *(list) --* List of up to two channels to be used for sending notifications for events detected from the application profile. * *(dict) --* Notification medium for users to get alerted for events that occur in application profile. We support SNS topic as a notification channel. * **eventPublishers** *(list) --* List of publishers for different type of events that may be detected in an application from the profile. Anomaly detection is the only event publisher in Profiler. * *(string) --* * **id** *(string) --* Unique identifier for each "Channel" in the notification configuration of a Profiling Group. A random UUID for channelId is used when adding a channel to the notification configuration if not specified in the request. * **uri** *(string) --* Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel uri. **Exceptions** * "CodeGuruProfiler.Client.exceptions.InternalServerException" * "CodeGuruProfiler.Client.exceptions.ValidationException" * "CodeGuruProfiler.Client.exceptions.ThrottlingException" * "CodeGuruProfiler.Client.exceptions.ResourceNotFoundException" CodeGuruProfiler / Client / close close ***** CodeGuruProfiler.Client.close() Closes underlying endpoint connections. CodeGuruProfiler / Client / get_recommendations get_recommendations ******************* CodeGuruProfiler.Client.get_recommendations(**kwargs) Returns a list of Recommendation objects that contain recommendations for a profiling group for a given time period. A list of Anomaly objects that contains details about anomalies detected in the profiling group for the same time period is also returned. See also: AWS API Documentation **Request Syntax** response = client.get_recommendations( endTime=datetime(2015, 1, 1), locale='string', profilingGroupName='string', startTime=datetime(2015, 1, 1) ) Parameters: * **endTime** (*datetime*) -- **[REQUIRED]** The start time of the profile to get analysis data about. You must specify "startTime" and "endTime". This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. * **locale** (*string*) -- The language used to provide analysis. Specify using a string that is one of the following "BCP 47" language codes. * "de-DE" - German, Germany * "en-GB" - English, United Kingdom * "en-US" - English, United States * "es-ES" - Spanish, Spain * "fr-FR" - French, France * "it-IT" - Italian, Italy * "ja-JP" - Japanese, Japan * "ko-KR" - Korean, Republic of Korea * "pt-BR" - Portugese, Brazil * "zh-CN" - Chinese, China * "zh-TW" - Chinese, Taiwan * **profilingGroupName** (*string*) -- **[REQUIRED]** The name of the profiling group to get analysis data about. * **startTime** (*datetime*) -- **[REQUIRED]** The end time of the profile to get analysis data about. You must specify "startTime" and "endTime". This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. Return type: dict Returns: **Response Syntax** { 'anomalies': [ { 'instances': [ { 'endTime': datetime(2015, 1, 1), 'id': 'string', 'startTime': datetime(2015, 1, 1), 'userFeedback': { 'type': 'Positive'|'Negative' } }, ], 'metric': { 'frameName': 'string', 'threadStates': [ 'string', ], 'type': 'AggregatedRelativeTotalTime' }, 'reason': 'string' }, ], 'profileEndTime': datetime(2015, 1, 1), 'profileStartTime': datetime(2015, 1, 1), 'profilingGroupName': 'string', 'recommendations': [ { 'allMatchesCount': 123, 'allMatchesSum': 123.0, 'endTime': datetime(2015, 1, 1), 'pattern': { 'countersToAggregate': [ 'string', ], 'description': 'string', 'id': 'string', 'name': 'string', 'resolutionSteps': 'string', 'targetFrames': [ [ 'string', ], ], 'thresholdPercent': 123.0 }, 'startTime': datetime(2015, 1, 1), 'topMatches': [ { 'frameAddress': 'string', 'targetFramesIndex': 123, 'thresholdBreachValue': 123.0 }, ] }, ] } **Response Structure** * *(dict) --* The structure representing the GetRecommendationsResponse. * **anomalies** *(list) --* The list of anomalies that the analysis has found for this profile. * *(dict) --* Details about an anomaly in a specific metric of application profile. The anomaly is detected using analysis of the metric data over a period of time. * **instances** *(list) --* A list of the instances of the detected anomalies during the requested period. * *(dict) --* The specific duration in which the metric is flagged as anomalous. * **endTime** *(datetime) --* The end time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. * **id** *(string) --* The universally unique identifier (UUID) of an instance of an anomaly in a metric. * **startTime** *(datetime) --* The start time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. * **userFeedback** *(dict) --* Feedback type on a specific instance of anomaly submitted by the user. * **type** *(string) --* Optional "Positive" or "Negative" feedback submitted by the user about whether the recommendation is useful or not. * **metric** *(dict) --* Details about the metric that the analysis used when it detected the anomaly. The metric includes the name of the frame that was analyzed with the type and thread states used to derive the metric value for that frame. * **frameName** *(string) --* The name of the method that appears as a frame in any stack in a profile. * **threadStates** *(list) --* The list of application runtime thread states that is used to calculate the metric value for the frame. * *(string) --* * **type** *(string) --* A type that specifies how a metric for a frame is analyzed. The supported value "AggregatedRelativeTotalTime" is an aggregation of the metric value for one frame that is calculated across the occurences of all frames in a profile. * **reason** *(string) --* The reason for which metric was flagged as anomalous. * **profileEndTime** *(datetime) --* The end time of the profile the analysis data is about. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. * **profileStartTime** *(datetime) --* The start time of the profile the analysis data is about. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. * **profilingGroupName** *(string) --* The name of the profiling group the analysis data is about. * **recommendations** *(list) --* The list of recommendations that the analysis found for this profile. * *(dict) --* A potential improvement that was found from analyzing the profiling data. * **allMatchesCount** *(integer) --* How many different places in the profile graph triggered a match. * **allMatchesSum** *(float) --* How much of the total sample count is potentially affected. * **endTime** *(datetime) --* End time of the profile that was used by this analysis. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. * **pattern** *(dict) --* The pattern that analysis recognized in the profile to make this recommendation. * **countersToAggregate** *(list) --* A list of the different counters used to determine if there is a match. * *(string) --* * **description** *(string) --* The description of the recommendation. This explains a potential inefficiency in a profiled application. * **id** *(string) --* The universally unique identifier (UUID) of this pattern. * **name** *(string) --* The name for this pattern. * **resolutionSteps** *(string) --* A string that contains the steps recommended to address the potential inefficiency. * **targetFrames** *(list) --* A list of frame names that were searched during the analysis that generated a recommendation. * *(list) --* * *(string) --* * **thresholdPercent** *(float) --* The percentage of time an application spends in one method that triggers a recommendation. The percentage of time is the same as the percentage of the total gathered sample counts during analysis. * **startTime** *(datetime) --* The start time of the profile that was used by this analysis. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. * **topMatches** *(list) --* List of the matches with most impact. * *(dict) --* The part of a profile that contains a recommendation found during analysis. * **frameAddress** *(string) --* The location in the profiling graph that contains a recommendation found during analysis. * **targetFramesIndex** *(integer) --* The target frame that triggered a match. * **thresholdBreachValue** *(float) --* The value in the profile data that exceeded the recommendation threshold. **Exceptions** * "CodeGuruProfiler.Client.exceptions.InternalServerException" * "CodeGuruProfiler.Client.exceptions.ValidationException" * "CodeGuruProfiler.Client.exceptions.ThrottlingException" * "CodeGuruProfiler.Client.exceptions.ResourceNotFoundException" CodeGuruProfiler / Client / list_profiling_groups list_profiling_groups ********************* CodeGuruProfiler.Client.list_profiling_groups(**kwargs) Returns a list of profiling groups. The profiling groups are returned as ProfilingGroupDescription objects. See also: AWS API Documentation **Request Syntax** response = client.list_profiling_groups( includeDescription=True|False, maxResults=123, nextToken='string' ) Parameters: * **includeDescription** (*boolean*) -- A "Boolean" value indicating whether to include a description. If "true", then a list of ProfilingGroupDescription objects that contain detailed information about profiling groups is returned. If "false", then a list of profiling group names is returned. * **maxResults** (*integer*) -- The maximum number of profiling groups results returned by "ListProfilingGroups" in paginated output. When this parameter is used, "ListProfilingGroups" only returns "maxResults" results in a single page along with a "nextToken" response element. The remaining results of the initial request can be seen by sending another "ListProfilingGroups" request with the returned "nextToken" value. * **nextToken** (*string*) -- The "nextToken" value returned from a previous paginated "ListProfilingGroups" request where "maxResults" was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the "nextToken" value. Note: This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes. Return type: dict Returns: **Response Syntax** { 'nextToken': 'string', 'profilingGroupNames': [ 'string', ], 'profilingGroups': [ { 'agentOrchestrationConfig': { 'profilingEnabled': True|False }, 'arn': 'string', 'computePlatform': 'Default'|'AWSLambda', 'createdAt': datetime(2015, 1, 1), 'name': 'string', 'profilingStatus': { 'latestAgentOrchestratedAt': datetime(2015, 1, 1), 'latestAgentProfileReportedAt': datetime(2015, 1, 1), 'latestAggregatedProfile': { 'period': 'PT5M'|'PT1H'|'P1D', 'start': datetime(2015, 1, 1) } }, 'tags': { 'string': 'string' }, 'updatedAt': datetime(2015, 1, 1) }, ] } **Response Structure** * *(dict) --* The structure representing the listProfilingGroupsResponse. * **nextToken** *(string) --* The "nextToken" value to include in a future "ListProfilingGroups" request. When the results of a "ListProfilingGroups" request exceed "maxResults", this value can be used to retrieve the next page of results. This value is "null" when there are no more results to return. * **profilingGroupNames** *(list) --* A returned list of profiling group names. A list of the names is returned only if "includeDescription" is "false", otherwise a list of ProfilingGroupDescription objects is returned. * *(string) --* * **profilingGroups** *(list) --* A returned list ProfilingGroupDescription objects. A list of ProfilingGroupDescription objects is returned only if "includeDescription" is "true", otherwise a list of profiling group names is returned. * *(dict) --* Contains information about a profiling group. * **agentOrchestrationConfig** *(dict) --* An AgentOrchestrationConfig object that indicates if the profiling group is enabled for profiled or not. * **profilingEnabled** *(boolean) --* A "Boolean" that specifies whether the profiling agent collects profiling data or not. Set to "true" to enable profiling. * **arn** *(string) --* The Amazon Resource Name (ARN) identifying the profiling group resource. * **computePlatform** *(string) --* The compute platform of the profiling group. If it is set to "AWSLambda", then the profiled application runs on AWS Lambda. If it is set to "Default", then the profiled application runs on a compute platform that is not AWS Lambda, such an Amazon EC2 instance, an on- premises server, or a different platform. The default is "Default". * **createdAt** *(datetime) --* The time when the profiling group was created. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. * **name** *(string) --* The name of the profiling group. * **profilingStatus** *(dict) --* A ProfilingStatus object that includes information about the last time a profile agent pinged back, the last time a profile was received, and the aggregation period and start time for the most recent aggregated profile. * **latestAgentOrchestratedAt** *(datetime) --* The date and time when the profiling agent most recently pinged back. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. * **latestAgentProfileReportedAt** *(datetime) --* The date and time when the most recent profile was received. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. * **latestAggregatedProfile** *(dict) --* An AggregatedProfileTime object that contains the aggregation period and start time for an aggregated profile. * **period** *(string) --* The aggregation period. This indicates the period during which an aggregation profile collects posted agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO 8601 format. * "P1D" — 1 day * "PT1H" — 1 hour * "PT5M" — 5 minutes * **start** *(datetime) --* The time that aggregation of posted agent profiles for a profiling group starts. The aggregation profile contains profiles posted by the agent starting at this time for an aggregation period specified by the "period" property of the "AggregatedProfileTime" object. Specify "start" using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. * **tags** *(dict) --* A list of the tags that belong to this profiling group. * *(string) --* * *(string) --* * **updatedAt** *(datetime) --* The date and time when the profiling group was last updated. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. **Exceptions** * "CodeGuruProfiler.Client.exceptions.InternalServerException" * "CodeGuruProfiler.Client.exceptions.ThrottlingException" CodeGuruProfiler / Client / create_profiling_group create_profiling_group ********************** CodeGuruProfiler.Client.create_profiling_group(**kwargs) Creates a profiling group. See also: AWS API Documentation **Request Syntax** response = client.create_profiling_group( agentOrchestrationConfig={ 'profilingEnabled': True|False }, clientToken='string', computePlatform='Default'|'AWSLambda', profilingGroupName='string', tags={ 'string': 'string' } ) Parameters: * **agentOrchestrationConfig** (*dict*) -- Specifies whether profiling is enabled or disabled for the created profiling group. * **profilingEnabled** *(boolean) --* **[REQUIRED]** A "Boolean" that specifies whether the profiling agent collects profiling data or not. Set to "true" to enable profiling. * **clientToken** (*string*) -- **[REQUIRED]** Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental creation of duplicate profiling groups if there are failures and retries. This field is autopopulated if not provided. * **computePlatform** (*string*) -- The compute platform of the profiling group. Use "AWSLambda" if your application runs on AWS Lambda. Use "Default" if your application runs on a compute platform that is not AWS Lambda, such an Amazon EC2 instance, an on-premises server, or a different platform. If not specified, "Default" is used. * **profilingGroupName** (*string*) -- **[REQUIRED]** The name of the profiling group to create. * **tags** (*dict*) -- A list of tags to add to the created profiling group. * *(string) --* * *(string) --* Return type: dict Returns: **Response Syntax** { 'profilingGroup': { 'agentOrchestrationConfig': { 'profilingEnabled': True|False }, 'arn': 'string', 'computePlatform': 'Default'|'AWSLambda', 'createdAt': datetime(2015, 1, 1), 'name': 'string', 'profilingStatus': { 'latestAgentOrchestratedAt': datetime(2015, 1, 1), 'latestAgentProfileReportedAt': datetime(2015, 1, 1), 'latestAggregatedProfile': { 'period': 'PT5M'|'PT1H'|'P1D', 'start': datetime(2015, 1, 1) } }, 'tags': { 'string': 'string' }, 'updatedAt': datetime(2015, 1, 1) } } **Response Structure** * *(dict) --* The structure representing the createProfilingGroupResponse. * **profilingGroup** *(dict) --* The returned ProfilingGroupDescription object that contains information about the created profiling group. * **agentOrchestrationConfig** *(dict) --* An AgentOrchestrationConfig object that indicates if the profiling group is enabled for profiled or not. * **profilingEnabled** *(boolean) --* A "Boolean" that specifies whether the profiling agent collects profiling data or not. Set to "true" to enable profiling. * **arn** *(string) --* The Amazon Resource Name (ARN) identifying the profiling group resource. * **computePlatform** *(string) --* The compute platform of the profiling group. If it is set to "AWSLambda", then the profiled application runs on AWS Lambda. If it is set to "Default", then the profiled application runs on a compute platform that is not AWS Lambda, such an Amazon EC2 instance, an on-premises server, or a different platform. The default is "Default". * **createdAt** *(datetime) --* The time when the profiling group was created. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. * **name** *(string) --* The name of the profiling group. * **profilingStatus** *(dict) --* A ProfilingStatus object that includes information about the last time a profile agent pinged back, the last time a profile was received, and the aggregation period and start time for the most recent aggregated profile. * **latestAgentOrchestratedAt** *(datetime) --* The date and time when the profiling agent most recently pinged back. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. * **latestAgentProfileReportedAt** *(datetime) --* The date and time when the most recent profile was received. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. * **latestAggregatedProfile** *(dict) --* An AggregatedProfileTime object that contains the aggregation period and start time for an aggregated profile. * **period** *(string) --* The aggregation period. This indicates the period during which an aggregation profile collects posted agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO 8601 format. * "P1D" — 1 day * "PT1H" — 1 hour * "PT5M" — 5 minutes * **start** *(datetime) --* The time that aggregation of posted agent profiles for a profiling group starts. The aggregation profile contains profiles posted by the agent starting at this time for an aggregation period specified by the "period" property of the "AggregatedProfileTime" object. Specify "start" using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. * **tags** *(dict) --* A list of the tags that belong to this profiling group. * *(string) --* * *(string) --* * **updatedAt** *(datetime) --* The date and time when the profiling group was last updated. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC. **Exceptions** * "CodeGuruProfiler.Client.exceptions.ServiceQuotaExceededExceptio n" * "CodeGuruProfiler.Client.exceptions.InternalServerException" * "CodeGuruProfiler.Client.exceptions.ConflictException" * "CodeGuruProfiler.Client.exceptions.ValidationException" * "CodeGuruProfiler.Client.exceptions.ThrottlingException" CodeGuruProfiler / Client / get_policy get_policy ********** CodeGuruProfiler.Client.get_policy(**kwargs) Returns the JSON-formatted resource-based policy on a profiling group. See also: AWS API Documentation **Request Syntax** response = client.get_policy( profilingGroupName='string' ) Parameters: **profilingGroupName** (*string*) -- **[REQUIRED]** The name of the profiling group. Return type: dict Returns: **Response Syntax** { 'policy': 'string', 'revisionId': 'string' } **Response Structure** * *(dict) --* The structure representing the "getPolicyResponse". * **policy** *(string) --* The JSON-formatted resource-based policy attached to the "ProfilingGroup". * **revisionId** *(string) --* A unique identifier for the current revision of the returned policy. **Exceptions** * "CodeGuruProfiler.Client.exceptions.InternalServerException" * "CodeGuruProfiler.Client.exceptions.ThrottlingException" * "CodeGuruProfiler.Client.exceptions.ResourceNotFoundException" CodeGuruProfiler / Client / add_notification_channels add_notification_channels ************************* CodeGuruProfiler.Client.add_notification_channels(**kwargs) Add up to 2 anomaly notifications channels for a profiling group. See also: AWS API Documentation **Request Syntax** response = client.add_notification_channels( channels=[ { 'eventPublishers': [ 'AnomalyDetection', ], 'id': 'string', 'uri': 'string' }, ], profilingGroupName='string' ) Parameters: * **channels** (*list*) -- **[REQUIRED]** One or 2 channels to report to when anomalies are detected. * *(dict) --* Notification medium for users to get alerted for events that occur in application profile. We support SNS topic as a notification channel. * **eventPublishers** *(list) --* **[REQUIRED]** List of publishers for different type of events that may be detected in an application from the profile. Anomaly detection is the only event publisher in Profiler. * *(string) --* * **id** *(string) --* Unique identifier for each "Channel" in the notification configuration of a Profiling Group. A random UUID for channelId is used when adding a channel to the notification configuration if not specified in the request. * **uri** *(string) --* **[REQUIRED]** Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel uri. * **profilingGroupName** (*string*) -- **[REQUIRED]** The name of the profiling group that we are setting up notifications for. Return type: dict Returns: **Response Syntax** { 'notificationConfiguration': { 'channels': [ { 'eventPublishers': [ 'AnomalyDetection', ], 'id': 'string', 'uri': 'string' }, ] } } **Response Structure** * *(dict) --* The structure representing the AddNotificationChannelsResponse. * **notificationConfiguration** *(dict) --* The new notification configuration for this profiling group. * **channels** *(list) --* List of up to two channels to be used for sending notifications for events detected from the application profile. * *(dict) --* Notification medium for users to get alerted for events that occur in application profile. We support SNS topic as a notification channel. * **eventPublishers** *(list) --* List of publishers for different type of events that may be detected in an application from the profile. Anomaly detection is the only event publisher in Profiler. * *(string) --* * **id** *(string) --* Unique identifier for each "Channel" in the notification configuration of a Profiling Group. A random UUID for channelId is used when adding a channel to the notification configuration if not specified in the request. * **uri** *(string) --* Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel uri. **Exceptions** * "CodeGuruProfiler.Client.exceptions.ServiceQuotaExceededExceptio n" * "CodeGuruProfiler.Client.exceptions.InternalServerException" * "CodeGuruProfiler.Client.exceptions.ConflictException" * "CodeGuruProfiler.Client.exceptions.ValidationException" * "CodeGuruProfiler.Client.exceptions.ThrottlingException" * "CodeGuruProfiler.Client.exceptions.ResourceNotFoundException" CodeGuruProfiler / Client / tag_resource tag_resource ************ CodeGuruProfiler.Client.tag_resource(**kwargs) Use to assign one or more tags to a resource. See also: AWS API Documentation **Request Syntax** response = client.tag_resource( resourceArn='string', tags={ 'string': 'string' } ) Parameters: * **resourceArn** (*string*) -- **[REQUIRED]** The Amazon Resource Name (ARN) of the resource that the tags are added to. * **tags** (*dict*) -- **[REQUIRED]** The list of tags that are added to the specified resource. * *(string) --* * *(string) --* Return type: dict Returns: **Response Syntax** {} **Response Structure** * *(dict) --* **Exceptions** * "CodeGuruProfiler.Client.exceptions.InternalServerException" * "CodeGuruProfiler.Client.exceptions.ValidationException" * "CodeGuruProfiler.Client.exceptions.ResourceNotFoundException" CodeGuruProfiler / Client / delete_profiling_group delete_profiling_group ********************** CodeGuruProfiler.Client.delete_profiling_group(**kwargs) Deletes a profiling group. See also: AWS API Documentation **Request Syntax** response = client.delete_profiling_group( profilingGroupName='string' ) Parameters: **profilingGroupName** (*string*) -- **[REQUIRED]** The name of the profiling group to delete. Return type: dict Returns: **Response Syntax** {} **Response Structure** * *(dict) --* The structure representing the deleteProfilingGroupResponse. **Exceptions** * "CodeGuruProfiler.Client.exceptions.InternalServerException" * "CodeGuruProfiler.Client.exceptions.ConflictException" * "CodeGuruProfiler.Client.exceptions.ValidationException" * "CodeGuruProfiler.Client.exceptions.ThrottlingException" * "CodeGuruProfiler.Client.exceptions.ResourceNotFoundException"