@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonCodeGuruProfilerClient extends AmazonWebServiceClient implements AmazonCodeGuruProfiler
This section provides documentation for the Amazon CodeGuru Profiler API operations.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shutdown
public static AmazonCodeGuruProfilerClientBuilder builder()
public ConfigureAgentResult configureAgent(ConfigureAgentRequest request)
configureAgent
in interface AmazonCodeGuruProfiler
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.public CreateProfilingGroupResult createProfilingGroup(CreateProfilingGroupRequest request)
Creates a profiling group.
createProfilingGroup
in interface AmazonCodeGuruProfiler
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.public DeleteProfilingGroupResult deleteProfilingGroup(DeleteProfilingGroupRequest request)
Deletes a profiling group.
deleteProfilingGroup
in interface AmazonCodeGuruProfiler
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.public DescribeProfilingGroupResult describeProfilingGroup(DescribeProfilingGroupRequest request)
Describes a profiling group.
describeProfilingGroup
in interface AmazonCodeGuruProfiler
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.public GetPolicyResult getPolicy(GetPolicyRequest request)
Gets the profiling group policy.
getPolicy
in interface AmazonCodeGuruProfiler
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.public GetProfileResult getProfile(GetProfileRequest request)
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
.
getProfile
in interface AmazonCodeGuruProfiler
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.public ListProfileTimesResult listProfileTimes(ListProfileTimesRequest request)
List the start times of the available aggregated profiles of a profiling group for an aggregation period within the specified time range.
listProfileTimes
in interface AmazonCodeGuruProfiler
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.public ListProfilingGroupsResult listProfilingGroups(ListProfilingGroupsRequest request)
Lists profiling groups.
listProfilingGroups
in interface AmazonCodeGuruProfiler
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.public PostAgentProfileResult postAgentProfile(PostAgentProfileRequest request)
postAgentProfile
in interface AmazonCodeGuruProfiler
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.public PutPermissionResult putPermission(PutPermissionRequest request)
Provides permission to the principals. This overwrites the existing permissions, and is not additive.
putPermission
in interface AmazonCodeGuruProfiler
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.public RemovePermissionResult removePermission(RemovePermissionRequest request)
Removes statement for the provided action group from the policy.
removePermission
in interface AmazonCodeGuruProfiler
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.public UpdateProfilingGroupResult updateProfilingGroup(UpdateProfilingGroupRequest request)
Updates a profiling group.
updateProfilingGroup
in interface AmazonCodeGuruProfiler
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.public 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 the request.
getCachedResponseMetadata
in interface AmazonCodeGuruProfiler
request
- The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.