@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonCodeGuruSecurityAsync extends AmazonCodeGuruSecurity
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
AbstractAmazonCodeGuruSecurityAsync
instead.
Amazon CodeGuru Security is in preview release and is subject to change.
This section provides documentation for the Amazon CodeGuru Security API operations. CodeGuru Security is a service that uses program analysis and machine learning to detect security policy violations and vulnerabilities, and recommends ways to address these security risks.
By proactively detecting and providing recommendations for addressing security risks, CodeGuru Security improves the overall security of your application code. For more information about CodeGuru Security, see the Amazon CodeGuru Security User Guide.
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<BatchGetFindingsResult> |
batchGetFindingsAsync(BatchGetFindingsRequest batchGetFindingsRequest)
Returns a list of requested findings from standard scans.
|
Future<BatchGetFindingsResult> |
batchGetFindingsAsync(BatchGetFindingsRequest batchGetFindingsRequest,
AsyncHandler<BatchGetFindingsRequest,BatchGetFindingsResult> asyncHandler)
Returns a list of requested findings from standard scans.
|
Future<CreateScanResult> |
createScanAsync(CreateScanRequest createScanRequest)
Use to create a scan using code uploaded to an Amazon S3 bucket.
|
Future<CreateScanResult> |
createScanAsync(CreateScanRequest createScanRequest,
AsyncHandler<CreateScanRequest,CreateScanResult> asyncHandler)
Use to create a scan using code uploaded to an Amazon S3 bucket.
|
Future<CreateUploadUrlResult> |
createUploadUrlAsync(CreateUploadUrlRequest createUploadUrlRequest)
Generates a pre-signed URL, request headers used to upload a code resource, and code artifact identifier for the
uploaded resource.
|
Future<CreateUploadUrlResult> |
createUploadUrlAsync(CreateUploadUrlRequest createUploadUrlRequest,
AsyncHandler<CreateUploadUrlRequest,CreateUploadUrlResult> asyncHandler)
Generates a pre-signed URL, request headers used to upload a code resource, and code artifact identifier for the
uploaded resource.
|
Future<GetAccountConfigurationResult> |
getAccountConfigurationAsync(GetAccountConfigurationRequest getAccountConfigurationRequest)
Use to get the encryption configuration for an account.
|
Future<GetAccountConfigurationResult> |
getAccountConfigurationAsync(GetAccountConfigurationRequest getAccountConfigurationRequest,
AsyncHandler<GetAccountConfigurationRequest,GetAccountConfigurationResult> asyncHandler)
Use to get the encryption configuration for an account.
|
Future<GetFindingsResult> |
getFindingsAsync(GetFindingsRequest getFindingsRequest)
Returns a list of all findings generated by a particular scan.
|
Future<GetFindingsResult> |
getFindingsAsync(GetFindingsRequest getFindingsRequest,
AsyncHandler<GetFindingsRequest,GetFindingsResult> asyncHandler)
Returns a list of all findings generated by a particular scan.
|
Future<GetMetricsSummaryResult> |
getMetricsSummaryAsync(GetMetricsSummaryRequest getMetricsSummaryRequest)
Returns a summary of metrics for 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.
|
Future<GetMetricsSummaryResult> |
getMetricsSummaryAsync(GetMetricsSummaryRequest getMetricsSummaryRequest,
AsyncHandler<GetMetricsSummaryRequest,GetMetricsSummaryResult> asyncHandler)
Returns a summary of metrics for 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.
|
Future<GetScanResult> |
getScanAsync(GetScanRequest getScanRequest)
Returns details about a scan, including whether or not a scan has completed.
|
Future<GetScanResult> |
getScanAsync(GetScanRequest getScanRequest,
AsyncHandler<GetScanRequest,GetScanResult> asyncHandler)
Returns details about a scan, including whether or not a scan has completed.
|
Future<ListFindingsMetricsResult> |
listFindingsMetricsAsync(ListFindingsMetricsRequest listFindingsMetricsRequest)
Returns metrics about all findings in an account within a specified time range.
|
Future<ListFindingsMetricsResult> |
listFindingsMetricsAsync(ListFindingsMetricsRequest listFindingsMetricsRequest,
AsyncHandler<ListFindingsMetricsRequest,ListFindingsMetricsResult> asyncHandler)
Returns metrics about all findings in an account within a specified time range.
|
Future<ListScansResult> |
listScansAsync(ListScansRequest listScansRequest)
Returns a list of all scans in an account.
|
Future<ListScansResult> |
listScansAsync(ListScansRequest listScansRequest,
AsyncHandler<ListScansRequest,ListScansResult> asyncHandler)
Returns a list of all scans in an account.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of all tags associated with a scan.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest,
AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Returns a list of all tags associated with a scan.
|
Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest tagResourceRequest)
Use to add one or more tags to an existing scan.
|
Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest tagResourceRequest,
AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Use to add one or more tags to an existing scan.
|
Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest untagResourceRequest)
Use to remove one or more tags from an existing scan.
|
Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest untagResourceRequest,
AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Use to remove one or more tags from an existing scan.
|
Future<UpdateAccountConfigurationResult> |
updateAccountConfigurationAsync(UpdateAccountConfigurationRequest updateAccountConfigurationRequest)
Use to update the encryption configuration for an account.
|
Future<UpdateAccountConfigurationResult> |
updateAccountConfigurationAsync(UpdateAccountConfigurationRequest updateAccountConfigurationRequest,
AsyncHandler<UpdateAccountConfigurationRequest,UpdateAccountConfigurationResult> asyncHandler)
Use to update the encryption configuration for an account.
|
batchGetFindings, createScan, createUploadUrl, getAccountConfiguration, getCachedResponseMetadata, getFindings, getMetricsSummary, getScan, listFindingsMetrics, listScans, listTagsForResource, shutdown, tagResource, untagResource, updateAccountConfiguration
Future<BatchGetFindingsResult> batchGetFindingsAsync(BatchGetFindingsRequest batchGetFindingsRequest)
Returns a list of requested findings from standard scans.
batchGetFindingsRequest
- Future<BatchGetFindingsResult> batchGetFindingsAsync(BatchGetFindingsRequest batchGetFindingsRequest, AsyncHandler<BatchGetFindingsRequest,BatchGetFindingsResult> asyncHandler)
Returns a list of requested findings from standard scans.
batchGetFindingsRequest
- 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<CreateScanResult> createScanAsync(CreateScanRequest createScanRequest)
Use to create a scan using code uploaded to an Amazon S3 bucket.
createScanRequest
- Future<CreateScanResult> createScanAsync(CreateScanRequest createScanRequest, AsyncHandler<CreateScanRequest,CreateScanResult> asyncHandler)
Use to create a scan using code uploaded to an Amazon S3 bucket.
createScanRequest
- 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<CreateUploadUrlResult> createUploadUrlAsync(CreateUploadUrlRequest createUploadUrlRequest)
Generates a pre-signed URL, request headers used to upload a code resource, and code artifact identifier for the uploaded resource.
You can upload your code resource to the URL with the request headers using any HTTP client.
createUploadUrlRequest
- Future<CreateUploadUrlResult> createUploadUrlAsync(CreateUploadUrlRequest createUploadUrlRequest, AsyncHandler<CreateUploadUrlRequest,CreateUploadUrlResult> asyncHandler)
Generates a pre-signed URL, request headers used to upload a code resource, and code artifact identifier for the uploaded resource.
You can upload your code resource to the URL with the request headers using any HTTP client.
createUploadUrlRequest
- 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<GetAccountConfigurationResult> getAccountConfigurationAsync(GetAccountConfigurationRequest getAccountConfigurationRequest)
Use to get the encryption configuration for an account.
getAccountConfigurationRequest
- Future<GetAccountConfigurationResult> getAccountConfigurationAsync(GetAccountConfigurationRequest getAccountConfigurationRequest, AsyncHandler<GetAccountConfigurationRequest,GetAccountConfigurationResult> asyncHandler)
Use to get the encryption configuration for an account.
getAccountConfigurationRequest
- 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<GetFindingsResult> getFindingsAsync(GetFindingsRequest getFindingsRequest)
Returns a list of all findings generated by a particular scan.
getFindingsRequest
- Future<GetFindingsResult> getFindingsAsync(GetFindingsRequest getFindingsRequest, AsyncHandler<GetFindingsRequest,GetFindingsResult> asyncHandler)
Returns a list of all findings generated by a particular scan.
getFindingsRequest
- 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<GetMetricsSummaryResult> getMetricsSummaryAsync(GetMetricsSummaryRequest getMetricsSummaryRequest)
Returns a summary of metrics for 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.
getMetricsSummaryRequest
- Future<GetMetricsSummaryResult> getMetricsSummaryAsync(GetMetricsSummaryRequest getMetricsSummaryRequest, AsyncHandler<GetMetricsSummaryRequest,GetMetricsSummaryResult> asyncHandler)
Returns a summary of metrics for 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.
getMetricsSummaryRequest
- 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<GetScanResult> getScanAsync(GetScanRequest getScanRequest)
Returns details about a scan, including whether or not a scan has completed.
getScanRequest
- Future<GetScanResult> getScanAsync(GetScanRequest getScanRequest, AsyncHandler<GetScanRequest,GetScanResult> asyncHandler)
Returns details about a scan, including whether or not a scan has completed.
getScanRequest
- 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<ListFindingsMetricsResult> listFindingsMetricsAsync(ListFindingsMetricsRequest listFindingsMetricsRequest)
Returns metrics about all findings in an account within a specified time range.
listFindingsMetricsRequest
- Future<ListFindingsMetricsResult> listFindingsMetricsAsync(ListFindingsMetricsRequest listFindingsMetricsRequest, AsyncHandler<ListFindingsMetricsRequest,ListFindingsMetricsResult> asyncHandler)
Returns metrics about all findings in an account within a specified time range.
listFindingsMetricsRequest
- 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<ListScansResult> listScansAsync(ListScansRequest listScansRequest)
Returns a list of all scans in an account. Does not return EXPRESS
scans.
listScansRequest
- Future<ListScansResult> listScansAsync(ListScansRequest listScansRequest, AsyncHandler<ListScansRequest,ListScansResult> asyncHandler)
Returns a list of all scans in an account. Does not return EXPRESS
scans.
listScansRequest
- 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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of all tags associated with a scan.
listTagsForResourceRequest
- Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Returns a list of all tags associated with a scan.
listTagsForResourceRequest
- 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<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
Use to add one or more tags to an existing scan.
tagResourceRequest
- Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Use to add one or more tags to an existing scan.
tagResourceRequest
- 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<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)
Use to remove one or more tags from an existing scan.
untagResourceRequest
- Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Use to remove one or more tags from an existing scan.
untagResourceRequest
- 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<UpdateAccountConfigurationResult> updateAccountConfigurationAsync(UpdateAccountConfigurationRequest updateAccountConfigurationRequest)
Use to update the encryption configuration for an account.
updateAccountConfigurationRequest
- Future<UpdateAccountConfigurationResult> updateAccountConfigurationAsync(UpdateAccountConfigurationRequest updateAccountConfigurationRequest, AsyncHandler<UpdateAccountConfigurationRequest,UpdateAccountConfigurationResult> asyncHandler)
Use to update the encryption configuration for an account.
updateAccountConfigurationRequest
- 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.