@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonCodeGuruProfilerAsyncClient extends AmazonCodeGuruProfilerClient implements AmazonCodeGuruProfilerAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
This section provides documentation for the Amazon CodeGuru Profiler API operations.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, configureAgent, createProfilingGroup, deleteProfilingGroup, describeProfilingGroup, getCachedResponseMetadata, getPolicy, getProfile, listProfileTimes, listProfilingGroups, postAgentProfile, putPermission, removePermission, updateProfilingGroup
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configureAgent, createProfilingGroup, deleteProfilingGroup, describeProfilingGroup, getCachedResponseMetadata, getPolicy, getProfile, listProfileTimes, listProfilingGroups, postAgentProfile, putPermission, removePermission, updateProfilingGroup
public static AmazonCodeGuruProfilerAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<ConfigureAgentResult> configureAgentAsync(ConfigureAgentRequest request)
AmazonCodeGuruProfilerAsync
configureAgentAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the configureAgentRequest.public Future<ConfigureAgentResult> configureAgentAsync(ConfigureAgentRequest request, AsyncHandler<ConfigureAgentRequest,ConfigureAgentResult> asyncHandler)
AmazonCodeGuruProfilerAsync
configureAgentAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the configureAgentRequest.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateProfilingGroupResult> createProfilingGroupAsync(CreateProfilingGroupRequest request)
AmazonCodeGuruProfilerAsync
Creates a profiling group.
createProfilingGroupAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the createProfiliingGroupRequest.public Future<CreateProfilingGroupResult> createProfilingGroupAsync(CreateProfilingGroupRequest request, AsyncHandler<CreateProfilingGroupRequest,CreateProfilingGroupResult> asyncHandler)
AmazonCodeGuruProfilerAsync
Creates a profiling group.
createProfilingGroupAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the createProfiliingGroupRequest.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteProfilingGroupResult> deleteProfilingGroupAsync(DeleteProfilingGroupRequest request)
AmazonCodeGuruProfilerAsync
Deletes a profiling group.
deleteProfilingGroupAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the deleteProfilingGroupRequest.public Future<DeleteProfilingGroupResult> deleteProfilingGroupAsync(DeleteProfilingGroupRequest request, AsyncHandler<DeleteProfilingGroupRequest,DeleteProfilingGroupResult> asyncHandler)
AmazonCodeGuruProfilerAsync
Deletes a profiling group.
deleteProfilingGroupAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the deleteProfilingGroupRequest.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeProfilingGroupResult> describeProfilingGroupAsync(DescribeProfilingGroupRequest request)
AmazonCodeGuruProfilerAsync
Describes a profiling group.
describeProfilingGroupAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the describeProfilingGroupRequest.public Future<DescribeProfilingGroupResult> describeProfilingGroupAsync(DescribeProfilingGroupRequest request, AsyncHandler<DescribeProfilingGroupRequest,DescribeProfilingGroupResult> asyncHandler)
AmazonCodeGuruProfilerAsync
Describes a profiling group.
describeProfilingGroupAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the describeProfilingGroupRequest.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetPolicyResult> getPolicyAsync(GetPolicyRequest request)
AmazonCodeGuruProfilerAsync
Gets the profiling group policy.
getPolicyAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the getPolicyRequest.public Future<GetPolicyResult> getPolicyAsync(GetPolicyRequest request, AsyncHandler<GetPolicyRequest,GetPolicyResult> asyncHandler)
AmazonCodeGuruProfilerAsync
Gets the profiling group policy.
getPolicyAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the getPolicyRequest.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetProfileResult> getProfileAsync(GetProfileRequest request)
AmazonCodeGuruProfilerAsync
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
.
getProfileAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the getProfileRequest.public Future<GetProfileResult> getProfileAsync(GetProfileRequest request, AsyncHandler<GetProfileRequest,GetProfileResult> asyncHandler)
AmazonCodeGuruProfilerAsync
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
.
getProfileAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the getProfileRequest.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListProfileTimesResult> listProfileTimesAsync(ListProfileTimesRequest request)
AmazonCodeGuruProfilerAsync
List the start times of the available aggregated profiles of a profiling group for an aggregation period within the specified time range.
listProfileTimesAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the listProfileTimesRequest.public Future<ListProfileTimesResult> listProfileTimesAsync(ListProfileTimesRequest request, AsyncHandler<ListProfileTimesRequest,ListProfileTimesResult> asyncHandler)
AmazonCodeGuruProfilerAsync
List the start times of the available aggregated profiles of a profiling group for an aggregation period within the specified time range.
listProfileTimesAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the listProfileTimesRequest.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListProfilingGroupsResult> listProfilingGroupsAsync(ListProfilingGroupsRequest request)
AmazonCodeGuruProfilerAsync
Lists profiling groups.
listProfilingGroupsAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the listProfilingGroupsRequest.public Future<ListProfilingGroupsResult> listProfilingGroupsAsync(ListProfilingGroupsRequest request, AsyncHandler<ListProfilingGroupsRequest,ListProfilingGroupsResult> asyncHandler)
AmazonCodeGuruProfilerAsync
Lists profiling groups.
listProfilingGroupsAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the listProfilingGroupsRequest.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PostAgentProfileResult> postAgentProfileAsync(PostAgentProfileRequest request)
AmazonCodeGuruProfilerAsync
postAgentProfileAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the postAgentProfileRequest.public Future<PostAgentProfileResult> postAgentProfileAsync(PostAgentProfileRequest request, AsyncHandler<PostAgentProfileRequest,PostAgentProfileResult> asyncHandler)
AmazonCodeGuruProfilerAsync
postAgentProfileAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the postAgentProfileRequest.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutPermissionResult> putPermissionAsync(PutPermissionRequest request)
AmazonCodeGuruProfilerAsync
Provides permission to the principals. This overwrites the existing permissions, and is not additive.
putPermissionAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the putPermissionRequest.public Future<PutPermissionResult> putPermissionAsync(PutPermissionRequest request, AsyncHandler<PutPermissionRequest,PutPermissionResult> asyncHandler)
AmazonCodeGuruProfilerAsync
Provides permission to the principals. This overwrites the existing permissions, and is not additive.
putPermissionAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the putPermissionRequest.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RemovePermissionResult> removePermissionAsync(RemovePermissionRequest request)
AmazonCodeGuruProfilerAsync
Removes statement for the provided action group from the policy.
removePermissionAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the removePermissionRequest.public Future<RemovePermissionResult> removePermissionAsync(RemovePermissionRequest request, AsyncHandler<RemovePermissionRequest,RemovePermissionResult> asyncHandler)
AmazonCodeGuruProfilerAsync
Removes statement for the provided action group from the policy.
removePermissionAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the removePermissionRequest.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateProfilingGroupResult> updateProfilingGroupAsync(UpdateProfilingGroupRequest request)
AmazonCodeGuruProfilerAsync
Updates a profiling group.
updateProfilingGroupAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the updateProfilingGroupRequest.public Future<UpdateProfilingGroupResult> updateProfilingGroupAsync(UpdateProfilingGroupRequest request, AsyncHandler<UpdateProfilingGroupRequest,UpdateProfilingGroupResult> asyncHandler)
AmazonCodeGuruProfilerAsync
Updates a profiling group.
updateProfilingGroupAsync
in interface AmazonCodeGuruProfilerAsync
request
- The structure representing the updateProfilingGroupRequest.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonCodeGuruProfiler
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.