@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonCodeGuruSecurityAsync extends AbstractAmazonCodeGuruSecurity implements AmazonCodeGuruSecurityAsync
AmazonCodeGuruSecurityAsync
. Convenient method forms pass through to the
corresponding overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
batchGetFindings, createScan, createUploadUrl, getAccountConfiguration, getCachedResponseMetadata, getFindings, getMetricsSummary, getScan, listFindingsMetrics, listScans, listTagsForResource, shutdown, tagResource, untagResource, updateAccountConfiguration
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
batchGetFindings, createScan, createUploadUrl, getAccountConfiguration, getCachedResponseMetadata, getFindings, getMetricsSummary, getScan, listFindingsMetrics, listScans, listTagsForResource, shutdown, tagResource, untagResource, updateAccountConfiguration
public Future<BatchGetFindingsResult> batchGetFindingsAsync(BatchGetFindingsRequest request)
AmazonCodeGuruSecurityAsync
Returns a list of all requested findings.
batchGetFindingsAsync
in interface AmazonCodeGuruSecurityAsync
public Future<BatchGetFindingsResult> batchGetFindingsAsync(BatchGetFindingsRequest request, AsyncHandler<BatchGetFindingsRequest,BatchGetFindingsResult> asyncHandler)
AmazonCodeGuruSecurityAsync
Returns a list of all requested findings.
batchGetFindingsAsync
in interface AmazonCodeGuruSecurityAsync
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<CreateScanResult> createScanAsync(CreateScanRequest request)
AmazonCodeGuruSecurityAsync
Use to create a scan using code uploaded to an S3 bucket.
createScanAsync
in interface AmazonCodeGuruSecurityAsync
public Future<CreateScanResult> createScanAsync(CreateScanRequest request, AsyncHandler<CreateScanRequest,CreateScanResult> asyncHandler)
AmazonCodeGuruSecurityAsync
Use to create a scan using code uploaded to an S3 bucket.
createScanAsync
in interface AmazonCodeGuruSecurityAsync
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<CreateUploadUrlResult> createUploadUrlAsync(CreateUploadUrlRequest request)
AmazonCodeGuruSecurityAsync
Generates a pre-signed URL and request headers used to upload a code resource.
You can upload your code resource to the URL and add the request headers using any HTTP client.
createUploadUrlAsync
in interface AmazonCodeGuruSecurityAsync
public Future<CreateUploadUrlResult> createUploadUrlAsync(CreateUploadUrlRequest request, AsyncHandler<CreateUploadUrlRequest,CreateUploadUrlResult> asyncHandler)
AmazonCodeGuruSecurityAsync
Generates a pre-signed URL and request headers used to upload a code resource.
You can upload your code resource to the URL and add the request headers using any HTTP client.
createUploadUrlAsync
in interface AmazonCodeGuruSecurityAsync
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<GetAccountConfigurationResult> getAccountConfigurationAsync(GetAccountConfigurationRequest request)
AmazonCodeGuruSecurityAsync
Use to get account level configuration.
getAccountConfigurationAsync
in interface AmazonCodeGuruSecurityAsync
public Future<GetAccountConfigurationResult> getAccountConfigurationAsync(GetAccountConfigurationRequest request, AsyncHandler<GetAccountConfigurationRequest,GetAccountConfigurationResult> asyncHandler)
AmazonCodeGuruSecurityAsync
Use to get account level configuration.
getAccountConfigurationAsync
in interface AmazonCodeGuruSecurityAsync
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<GetFindingsResult> getFindingsAsync(GetFindingsRequest request)
AmazonCodeGuruSecurityAsync
Returns a list of all findings generated by a particular scan.
getFindingsAsync
in interface AmazonCodeGuruSecurityAsync
public Future<GetFindingsResult> getFindingsAsync(GetFindingsRequest request, AsyncHandler<GetFindingsRequest,GetFindingsResult> asyncHandler)
AmazonCodeGuruSecurityAsync
Returns a list of all findings generated by a particular scan.
getFindingsAsync
in interface AmazonCodeGuruSecurityAsync
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<GetMetricsSummaryResult> getMetricsSummaryAsync(GetMetricsSummaryRequest request)
AmazonCodeGuruSecurityAsync
Returns top level metrics about an account from a specified date, including number of open findings, the categories with most findings, the scans with most open findings, and scans with most open critical findings.
getMetricsSummaryAsync
in interface AmazonCodeGuruSecurityAsync
public Future<GetMetricsSummaryResult> getMetricsSummaryAsync(GetMetricsSummaryRequest request, AsyncHandler<GetMetricsSummaryRequest,GetMetricsSummaryResult> asyncHandler)
AmazonCodeGuruSecurityAsync
Returns top level metrics about an account from a specified date, including number of open findings, the categories with most findings, the scans with most open findings, and scans with most open critical findings.
getMetricsSummaryAsync
in interface AmazonCodeGuruSecurityAsync
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<GetScanResult> getScanAsync(GetScanRequest request)
AmazonCodeGuruSecurityAsync
Returns details about a scan, including whether or not a scan has completed.
getScanAsync
in interface AmazonCodeGuruSecurityAsync
public Future<GetScanResult> getScanAsync(GetScanRequest request, AsyncHandler<GetScanRequest,GetScanResult> asyncHandler)
AmazonCodeGuruSecurityAsync
Returns details about a scan, including whether or not a scan has completed.
getScanAsync
in interface AmazonCodeGuruSecurityAsync
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<ListFindingsMetricsResult> listFindingsMetricsAsync(ListFindingsMetricsRequest request)
AmazonCodeGuruSecurityAsync
Returns metrics about all findings in an account within a specified time range.
listFindingsMetricsAsync
in interface AmazonCodeGuruSecurityAsync
public Future<ListFindingsMetricsResult> listFindingsMetricsAsync(ListFindingsMetricsRequest request, AsyncHandler<ListFindingsMetricsRequest,ListFindingsMetricsResult> asyncHandler)
AmazonCodeGuruSecurityAsync
Returns metrics about all findings in an account within a specified time range.
listFindingsMetricsAsync
in interface AmazonCodeGuruSecurityAsync
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<ListScansResult> listScansAsync(ListScansRequest request)
AmazonCodeGuruSecurityAsync
Returns a list of all the scans in an account.
listScansAsync
in interface AmazonCodeGuruSecurityAsync
public Future<ListScansResult> listScansAsync(ListScansRequest request, AsyncHandler<ListScansRequest,ListScansResult> asyncHandler)
AmazonCodeGuruSecurityAsync
Returns a list of all the scans in an account.
listScansAsync
in interface AmazonCodeGuruSecurityAsync
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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonCodeGuruSecurityAsync
Returns a list of all tags associated with a scan.
listTagsForResourceAsync
in interface AmazonCodeGuruSecurityAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonCodeGuruSecurityAsync
Returns a list of all tags associated with a scan.
listTagsForResourceAsync
in interface AmazonCodeGuruSecurityAsync
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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonCodeGuruSecurityAsync
Use to add one or more tags to an existing scan.
tagResourceAsync
in interface AmazonCodeGuruSecurityAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonCodeGuruSecurityAsync
Use to add one or more tags to an existing scan.
tagResourceAsync
in interface AmazonCodeGuruSecurityAsync
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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonCodeGuruSecurityAsync
Use to remove one or more tags from an existing scan.
untagResourceAsync
in interface AmazonCodeGuruSecurityAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonCodeGuruSecurityAsync
Use to remove one or more tags from an existing scan.
untagResourceAsync
in interface AmazonCodeGuruSecurityAsync
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<UpdateAccountConfigurationResult> updateAccountConfigurationAsync(UpdateAccountConfigurationRequest request)
AmazonCodeGuruSecurityAsync
Use to update account-level configuration with an encryption key.
updateAccountConfigurationAsync
in interface AmazonCodeGuruSecurityAsync
public Future<UpdateAccountConfigurationResult> updateAccountConfigurationAsync(UpdateAccountConfigurationRequest request, AsyncHandler<UpdateAccountConfigurationRequest,UpdateAccountConfigurationResult> asyncHandler)
AmazonCodeGuruSecurityAsync
Use to update account-level configuration with an encryption key.
updateAccountConfigurationAsync
in interface AmazonCodeGuruSecurityAsync
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.