@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonCodeGuruProfiler
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonCodeGuruProfiler
instead.
This section provides documentation for the Amazon CodeGuru Profiler API operations.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
ConfigureAgentResult |
configureAgent(ConfigureAgentRequest configureAgentRequest)
|
CreateProfilingGroupResult |
createProfilingGroup(CreateProfilingGroupRequest createProfilingGroupRequest)
Creates a profiling group.
|
DeleteProfilingGroupResult |
deleteProfilingGroup(DeleteProfilingGroupRequest deleteProfilingGroupRequest)
Deletes a profiling group.
|
DescribeProfilingGroupResult |
describeProfilingGroup(DescribeProfilingGroupRequest describeProfilingGroupRequest)
Describes a profiling group.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetPolicyResult |
getPolicy(GetPolicyRequest getPolicyRequest)
Gets the profiling group policy.
|
GetProfileResult |
getProfile(GetProfileRequest getProfileRequest)
Gets the aggregated profile of a profiling group for the specified time range.
|
ListProfileTimesResult |
listProfileTimes(ListProfileTimesRequest listProfileTimesRequest)
List the start times of the available aggregated profiles of a profiling group for an aggregation period within
the specified time range.
|
ListProfilingGroupsResult |
listProfilingGroups(ListProfilingGroupsRequest listProfilingGroupsRequest)
Lists profiling groups.
|
PostAgentProfileResult |
postAgentProfile(PostAgentProfileRequest postAgentProfileRequest)
|
PutPermissionResult |
putPermission(PutPermissionRequest putPermissionRequest)
Provides permission to the principals.
|
RemovePermissionResult |
removePermission(RemovePermissionRequest removePermissionRequest)
Removes statement for the provided action group from the policy.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
UpdateProfilingGroupResult |
updateProfilingGroup(UpdateProfilingGroupRequest updateProfilingGroupRequest)
Updates a profiling group.
|
static final String ENDPOINT_PREFIX
ConfigureAgentResult configureAgent(ConfigureAgentRequest configureAgentRequest)
configureAgentRequest
- The structure representing the configureAgentRequest.InternalServerException
- The server encountered an internal error and is unable to complete the request.ValidationException
- The parameter is not valid.ThrottlingException
- The request was denied due to request throttling.ResourceNotFoundException
- The resource specified in the request does not exist.CreateProfilingGroupResult createProfilingGroup(CreateProfilingGroupRequest createProfilingGroupRequest)
Creates a profiling group.
createProfilingGroupRequest
- The structure representing the createProfiliingGroupRequest.ServiceQuotaExceededException
- You have exceeded your service quota. To perform the requested action, remove some of the relevant
resources, or use Service
Quotas to request a service quota increase.InternalServerException
- The server encountered an internal error and is unable to complete the request.ConflictException
- The requested operation would cause a conflict with the current state of a service resource associated
with the request. Resolve the conflict before retrying this request.ValidationException
- The parameter is not valid.ThrottlingException
- The request was denied due to request throttling.DeleteProfilingGroupResult deleteProfilingGroup(DeleteProfilingGroupRequest deleteProfilingGroupRequest)
Deletes a profiling group.
deleteProfilingGroupRequest
- The structure representing the deleteProfilingGroupRequest.InternalServerException
- The server encountered an internal error and is unable to complete the request.ValidationException
- The parameter is not valid.ThrottlingException
- The request was denied due to request throttling.ResourceNotFoundException
- The resource specified in the request does not exist.DescribeProfilingGroupResult describeProfilingGroup(DescribeProfilingGroupRequest describeProfilingGroupRequest)
Describes a profiling group.
describeProfilingGroupRequest
- The structure representing the describeProfilingGroupRequest.InternalServerException
- The server encountered an internal error and is unable to complete the request.ValidationException
- The parameter is not valid.ThrottlingException
- The request was denied due to request throttling.ResourceNotFoundException
- The resource specified in the request does not exist.GetPolicyResult getPolicy(GetPolicyRequest getPolicyRequest)
Gets the profiling group policy.
getPolicyRequest
- The structure representing the getPolicyRequest.InternalServerException
- The server encountered an internal error and is unable to complete the request.ThrottlingException
- The request was denied due to request throttling.ResourceNotFoundException
- The resource specified in the request does not exist.GetProfileResult getProfile(GetProfileRequest getProfileRequest)
Gets the aggregated profile of a profiling group for the specified time range. If the requested time range does not align with the available aggregated profiles, it is expanded to attain alignment. If aggregated profiles are available only for part of the period requested, the profile is returned from the earliest available to the latest within the requested time range.
For example, if the requested time range is from 00:00 to 00:20 and the available profiles are from 00:15 to 00:25, the returned profile will be from 00:15 to 00:20.
You must specify exactly two of the following parameters: startTime
, period
, and
endTime
.
getProfileRequest
- The structure representing the getProfileRequest.InternalServerException
- The server encountered an internal error and is unable to complete the request.ValidationException
- The parameter is not valid.ThrottlingException
- The request was denied due to request throttling.ResourceNotFoundException
- The resource specified in the request does not exist.ListProfileTimesResult listProfileTimes(ListProfileTimesRequest listProfileTimesRequest)
List the start times of the available aggregated profiles of a profiling group for an aggregation period within the specified time range.
listProfileTimesRequest
- The structure representing the listProfileTimesRequest.InternalServerException
- The server encountered an internal error and is unable to complete the request.ValidationException
- The parameter is not valid.ThrottlingException
- The request was denied due to request throttling.ResourceNotFoundException
- The resource specified in the request does not exist.ListProfilingGroupsResult listProfilingGroups(ListProfilingGroupsRequest listProfilingGroupsRequest)
Lists profiling groups.
listProfilingGroupsRequest
- The structure representing the listProfilingGroupsRequest.InternalServerException
- The server encountered an internal error and is unable to complete the request.ThrottlingException
- The request was denied due to request throttling.PostAgentProfileResult postAgentProfile(PostAgentProfileRequest postAgentProfileRequest)
postAgentProfileRequest
- The structure representing the postAgentProfileRequest.InternalServerException
- The server encountered an internal error and is unable to complete the request.ValidationException
- The parameter is not valid.ThrottlingException
- The request was denied due to request throttling.ResourceNotFoundException
- The resource specified in the request does not exist.PutPermissionResult putPermission(PutPermissionRequest putPermissionRequest)
Provides permission to the principals. This overwrites the existing permissions, and is not additive.
putPermissionRequest
- The structure representing the putPermissionRequest.InternalServerException
- The server encountered an internal error and is unable to complete the request.ConflictException
- The requested operation would cause a conflict with the current state of a service resource associated
with the request. Resolve the conflict before retrying this request.ValidationException
- The parameter is not valid.ThrottlingException
- The request was denied due to request throttling.ResourceNotFoundException
- The resource specified in the request does not exist.RemovePermissionResult removePermission(RemovePermissionRequest removePermissionRequest)
Removes statement for the provided action group from the policy.
removePermissionRequest
- The structure representing the removePermissionRequest.InternalServerException
- The server encountered an internal error and is unable to complete the request.ConflictException
- The requested operation would cause a conflict with the current state of a service resource associated
with the request. Resolve the conflict before retrying this request.ValidationException
- The parameter is not valid.ThrottlingException
- The request was denied due to request throttling.ResourceNotFoundException
- The resource specified in the request does not exist.UpdateProfilingGroupResult updateProfilingGroup(UpdateProfilingGroupRequest updateProfilingGroupRequest)
Updates a profiling group.
updateProfilingGroupRequest
- The structure representing the updateProfilingGroupRequest.InternalServerException
- The server encountered an internal error and is unable to complete the request.ConflictException
- The requested operation would cause a conflict with the current state of a service resource associated
with the request. Resolve the conflict before retrying this request.ValidationException
- The parameter is not valid.ThrottlingException
- The request was denied due to request throttling.ResourceNotFoundException
- The resource specified in the request does not exist.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.