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.
com.amazonaws.services.codegurusecurity

Interface AmazonCodeGuruSecurity

    • Method Detail

      • createScan

        CreateScanResult createScan(CreateScanRequest createScanRequest)

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

        Parameters:
        createScanRequest -
        Returns:
        Result of the CreateScan operation returned by the service.
        Throws:
        InternalServerException - The server encountered an internal error and is unable to complete the request.
        ConflictException - The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.
        ResourceNotFoundException - The resource specified in the request was not found.
        ThrottlingException - The request was denied due to request throttling.
        ValidationException - The input fails to satisfy the specified constraints.
        AccessDeniedException - You do not have sufficient access to perform this action.
        See Also:
        AWS API Documentation
      • createUploadUrl

        CreateUploadUrlResult createUploadUrl(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:
        Result of the CreateUploadUrl operation returned by the service.
        Throws:
        InternalServerException - The server encountered an internal error and is unable to complete the request.
        ThrottlingException - The request was denied due to request throttling.
        ValidationException - The input fails to satisfy the specified constraints.
        AccessDeniedException - You do not have sufficient access to perform this action.
        See Also:
        AWS API Documentation
      • getMetricsSummary

        GetMetricsSummaryResult getMetricsSummary(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:
        Result of the GetMetricsSummary operation returned by the service.
        Throws:
        InternalServerException - The server encountered an internal error and is unable to complete the request.
        ThrottlingException - The request was denied due to request throttling.
        ValidationException - The input fails to satisfy the specified constraints.
        AccessDeniedException - You do not have sufficient access to perform this action.
        See Also:
        AWS API Documentation
      • shutdown

        void shutdown()
        Shuts down this client object, releasing any resources that might be held open. This is an optional method, and callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client has been shutdown, it should not be used to make any more requests.
      • getCachedResponseMetadata

        ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
        Returns additional metadata for a previously executed successful request, typically used for debugging issues where a service isn't acting as expected. This data isn't considered part of the result data returned by an operation, so it's available through this separate, diagnostic interface.

        Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.

        Parameters:
        request - The originally executed request.
        Returns:
        The response metadata for the specified request, or null if none is available.
Skip navigation links

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