@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonCodeGuruProfilerAsync extends AmazonCodeGuruProfiler
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonCodeGuruProfilerAsync
instead.
This section provides documentation for the Amazon CodeGuru Profiler API operations.
ENDPOINT_PREFIX
configureAgent, createProfilingGroup, deleteProfilingGroup, describeProfilingGroup, getCachedResponseMetadata, getPolicy, getProfile, listProfileTimes, listProfilingGroups, postAgentProfile, putPermission, removePermission, shutdown, updateProfilingGroup
Future<ConfigureAgentResult> configureAgentAsync(ConfigureAgentRequest configureAgentRequest)
configureAgentRequest
- The structure representing the configureAgentRequest.Future<ConfigureAgentResult> configureAgentAsync(ConfigureAgentRequest configureAgentRequest, AsyncHandler<ConfigureAgentRequest,ConfigureAgentResult> asyncHandler)
configureAgentRequest
- 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.Future<CreateProfilingGroupResult> createProfilingGroupAsync(CreateProfilingGroupRequest createProfilingGroupRequest)
Creates a profiling group.
createProfilingGroupRequest
- The structure representing the createProfiliingGroupRequest.Future<CreateProfilingGroupResult> createProfilingGroupAsync(CreateProfilingGroupRequest createProfilingGroupRequest, AsyncHandler<CreateProfilingGroupRequest,CreateProfilingGroupResult> asyncHandler)
Creates a profiling group.
createProfilingGroupRequest
- 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.Future<DeleteProfilingGroupResult> deleteProfilingGroupAsync(DeleteProfilingGroupRequest deleteProfilingGroupRequest)
Deletes a profiling group.
deleteProfilingGroupRequest
- The structure representing the deleteProfilingGroupRequest.Future<DeleteProfilingGroupResult> deleteProfilingGroupAsync(DeleteProfilingGroupRequest deleteProfilingGroupRequest, AsyncHandler<DeleteProfilingGroupRequest,DeleteProfilingGroupResult> asyncHandler)
Deletes a profiling group.
deleteProfilingGroupRequest
- 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.Future<DescribeProfilingGroupResult> describeProfilingGroupAsync(DescribeProfilingGroupRequest describeProfilingGroupRequest)
Describes a profiling group.
describeProfilingGroupRequest
- The structure representing the describeProfilingGroupRequest.Future<DescribeProfilingGroupResult> describeProfilingGroupAsync(DescribeProfilingGroupRequest describeProfilingGroupRequest, AsyncHandler<DescribeProfilingGroupRequest,DescribeProfilingGroupResult> asyncHandler)
Describes a profiling group.
describeProfilingGroupRequest
- 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.Future<GetPolicyResult> getPolicyAsync(GetPolicyRequest getPolicyRequest)
Gets the profiling group policy.
getPolicyRequest
- The structure representing the getPolicyRequest.Future<GetPolicyResult> getPolicyAsync(GetPolicyRequest getPolicyRequest, AsyncHandler<GetPolicyRequest,GetPolicyResult> asyncHandler)
Gets the profiling group policy.
getPolicyRequest
- 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.Future<GetProfileResult> getProfileAsync(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.Future<GetProfileResult> getProfileAsync(GetProfileRequest getProfileRequest, AsyncHandler<GetProfileRequest,GetProfileResult> asyncHandler)
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.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.Future<ListProfileTimesResult> listProfileTimesAsync(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.Future<ListProfileTimesResult> listProfileTimesAsync(ListProfileTimesRequest listProfileTimesRequest, AsyncHandler<ListProfileTimesRequest,ListProfileTimesResult> asyncHandler)
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.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.Future<ListProfilingGroupsResult> listProfilingGroupsAsync(ListProfilingGroupsRequest listProfilingGroupsRequest)
Lists profiling groups.
listProfilingGroupsRequest
- The structure representing the listProfilingGroupsRequest.Future<ListProfilingGroupsResult> listProfilingGroupsAsync(ListProfilingGroupsRequest listProfilingGroupsRequest, AsyncHandler<ListProfilingGroupsRequest,ListProfilingGroupsResult> asyncHandler)
Lists profiling groups.
listProfilingGroupsRequest
- 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.Future<PostAgentProfileResult> postAgentProfileAsync(PostAgentProfileRequest postAgentProfileRequest)
postAgentProfileRequest
- The structure representing the postAgentProfileRequest.Future<PostAgentProfileResult> postAgentProfileAsync(PostAgentProfileRequest postAgentProfileRequest, AsyncHandler<PostAgentProfileRequest,PostAgentProfileResult> asyncHandler)
postAgentProfileRequest
- 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.Future<PutPermissionResult> putPermissionAsync(PutPermissionRequest putPermissionRequest)
Provides permission to the principals. This overwrites the existing permissions, and is not additive.
putPermissionRequest
- The structure representing the putPermissionRequest.Future<PutPermissionResult> putPermissionAsync(PutPermissionRequest putPermissionRequest, AsyncHandler<PutPermissionRequest,PutPermissionResult> asyncHandler)
Provides permission to the principals. This overwrites the existing permissions, and is not additive.
putPermissionRequest
- 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.Future<RemovePermissionResult> removePermissionAsync(RemovePermissionRequest removePermissionRequest)
Removes statement for the provided action group from the policy.
removePermissionRequest
- The structure representing the removePermissionRequest.Future<RemovePermissionResult> removePermissionAsync(RemovePermissionRequest removePermissionRequest, AsyncHandler<RemovePermissionRequest,RemovePermissionResult> asyncHandler)
Removes statement for the provided action group from the policy.
removePermissionRequest
- 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.Future<UpdateProfilingGroupResult> updateProfilingGroupAsync(UpdateProfilingGroupRequest updateProfilingGroupRequest)
Updates a profiling group.
updateProfilingGroupRequest
- The structure representing the updateProfilingGroupRequest.Future<UpdateProfilingGroupResult> updateProfilingGroupAsync(UpdateProfilingGroupRequest updateProfilingGroupRequest, AsyncHandler<UpdateProfilingGroupRequest,UpdateProfilingGroupResult> asyncHandler)
Updates a profiling group.
updateProfilingGroupRequest
- 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.