JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
com.amazonaws.services.codegurusecurity

Interface AmazonCodeGuruSecurityAsync

  • All Superinterfaces:
    AmazonCodeGuruSecurity
    All Known Implementing Classes:
    AbstractAmazonCodeGuruSecurityAsync, AmazonCodeGuruSecurityAsyncClient


    @Generated(value="com.amazonaws:aws-java-sdk-code-generator")
    public interface AmazonCodeGuruSecurityAsync
    extends AmazonCodeGuruSecurity 
    Interface for accessing Amazon CodeGuru Security asynchronously. Each asynchronous method will return a Java Future object representing the asynchronous operation; overloads which accept an 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.

    • Method Detail

      • batchGetFindingsAsync

        Future<BatchGetFindingsResult> batchGetFindingsAsync(BatchGetFindingsRequest batchGetFindingsRequest,
         AsyncHandler<BatchGetFindingsRequest,BatchGetFindingsResult> asyncHandler)

        Returns a list of requested findings from standard scans.

        Parameters:
        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.
        Returns:
        A Java Future containing the result of the BatchGetFindings operation returned by the service.
        See Also:
        AWS API Documentation
      • createScanAsync

        Future<CreateScanResult> createScanAsync(CreateScanRequest createScanRequest)

        Use to create a scan using code uploaded to an Amazon S3 bucket.

        Parameters:
        createScanRequest -
        Returns:
        A Java Future containing the result of the CreateScan operation returned by the service.
        See Also:
        AWS API Documentation
      • createScanAsync

        Future<CreateScanResult> createScanAsync(CreateScanRequest createScanRequest,
         AsyncHandler<CreateScanRequest,CreateScanResult> asyncHandler)

        Use to create a scan using code uploaded to an Amazon S3 bucket.

        Parameters:
        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.
        Returns:
        A Java Future containing the result of the CreateScan operation returned by the service.
        See Also:
        AWS API Documentation
      • createUploadUrlAsync

        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.

        Parameters:
        createUploadUrlRequest -
        Returns:
        A Java Future containing the result of the CreateUploadUrl operation returned by the service.
        See Also:
        AWS API Documentation
      • createUploadUrlAsync

        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.

        Parameters:
        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.
        Returns:
        A Java Future containing the result of the CreateUploadUrl operation returned by the service.
        See Also:
        AWS API Documentation
      • getFindingsAsync

        Future<GetFindingsResult> getFindingsAsync(GetFindingsRequest getFindingsRequest)

        Returns a list of all findings generated by a particular scan.

        Parameters:
        getFindingsRequest -
        Returns:
        A Java Future containing the result of the GetFindings operation returned by the service.
        See Also:
        AWS API Documentation
      • getFindingsAsync

        Future<GetFindingsResult> getFindingsAsync(GetFindingsRequest getFindingsRequest,
         AsyncHandler<GetFindingsRequest,GetFindingsResult> asyncHandler)

        Returns a list of all findings generated by a particular scan.

        Parameters:
        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.
        Returns:
        A Java Future containing the result of the GetFindings operation returned by the service.
        See Also:
        AWS API Documentation
      • getMetricsSummaryAsync

        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.

        Parameters:
        getMetricsSummaryRequest -
        Returns:
        A Java Future containing the result of the GetMetricsSummary operation returned by the service.
        See Also:
        AWS API Documentation
      • getMetricsSummaryAsync

        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.

        Parameters:
        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.
        Returns:
        A Java Future containing the result of the GetMetricsSummary operation returned by the service.
        See Also:
        AWS API Documentation
      • getScanAsync

        Future<GetScanResult> getScanAsync(GetScanRequest getScanRequest)

        Returns details about a scan, including whether or not a scan has completed.

        Parameters:
        getScanRequest -
        Returns:
        A Java Future containing the result of the GetScan operation returned by the service.
        See Also:
        AWS API Documentation
      • getScanAsync

        Future<GetScanResult> getScanAsync(GetScanRequest getScanRequest,
         AsyncHandler<GetScanRequest,GetScanResult> asyncHandler)

        Returns details about a scan, including whether or not a scan has completed.

        Parameters:
        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.
        Returns:
        A Java Future containing the result of the GetScan operation returned by the service.
        See Also:
        AWS API Documentation
      • listFindingsMetricsAsync

        Future<ListFindingsMetricsResult> listFindingsMetricsAsync(ListFindingsMetricsRequest listFindingsMetricsRequest)

        Returns metrics about all findings in an account within a specified time range.

        Parameters:
        listFindingsMetricsRequest -
        Returns:
        A Java Future containing the result of the ListFindingsMetrics operation returned by the service.
        See Also:
        AWS API Documentation
      • listFindingsMetricsAsync

        Future<ListFindingsMetricsResult> listFindingsMetricsAsync(ListFindingsMetricsRequest listFindingsMetricsRequest,
         AsyncHandler<ListFindingsMetricsRequest,ListFindingsMetricsResult> asyncHandler)

        Returns metrics about all findings in an account within a specified time range.

        Parameters:
        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.
        Returns:
        A Java Future containing the result of the ListFindingsMetrics operation returned by the service.
        See Also:
        AWS API Documentation
      • listScansAsync

        Future<ListScansResult> listScansAsync(ListScansRequest listScansRequest)

        Returns a list of all scans in an account. Does not return EXPRESS scans.

        Parameters:
        listScansRequest -
        Returns:
        A Java Future containing the result of the ListScans operation returned by the service.
        See Also:
        AWS API Documentation
      • listScansAsync

        Future<ListScansResult> listScansAsync(ListScansRequest listScansRequest,
         AsyncHandler<ListScansRequest,ListScansResult> asyncHandler)

        Returns a list of all scans in an account. Does not return EXPRESS scans.

        Parameters:
        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.
        Returns:
        A Java Future containing the result of the ListScans operation returned by the service.
        See Also:
        AWS API Documentation
      • tagResourceAsync

        Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)

        Use to add one or more tags to an existing scan.

        Parameters:
        tagResourceRequest -
        Returns:
        A Java Future containing the result of the TagResource operation returned by the service.
        See Also:
        AWS API Documentation
      • tagResourceAsync

        Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest,
         AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)

        Use to add one or more tags to an existing scan.

        Parameters:
        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.
        Returns:
        A Java Future containing the result of the TagResource operation returned by the service.
        See Also:
        AWS API Documentation
      • untagResourceAsync

        Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)

        Use to remove one or more tags from an existing scan.

        Parameters:
        untagResourceRequest -
        Returns:
        A Java Future containing the result of the UntagResource operation returned by the service.
        See Also:
        AWS API Documentation
      • untagResourceAsync

        Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest,
         AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)

        Use to remove one or more tags from an existing scan.

        Parameters:
        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.
        Returns:
        A Java Future containing the result of the UntagResource operation returned by the service.
        See Also:
        AWS API Documentation
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

AltStyle によって変換されたページ (->オリジナル) /