Interface InspectorScanClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen")
@ThreadSafe
public interface InspectorScanClient
extends AwsClient
Service client for accessing inspector-scan. This can be created using the static
builder() method.
Amazon Inspector Scan is a vulnerability discovery service that scans a provided Software Bill of Materials (SBOM) for security vulnerabilities.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic InspectorScanClientBuilderbuilder()Create a builder that can be used to configure and create aInspectorScanClient.static InspectorScanClientcreate()Create aInspectorScanClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default ScanSbomResponsescanSbom(Consumer<ScanSbomRequest.Builder> scanSbomRequest) Scans a provided CycloneDX 1.5 SBOM and reports on any vulnerabilities discovered in that SBOM.default ScanSbomResponsescanSbom(ScanSbomRequest scanSbomRequest) Scans a provided CycloneDX 1.5 SBOM and reports on any vulnerabilities discovered in that SBOM.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadataMethods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
scanSbom
default ScanSbomResponse scanSbom(ScanSbomRequest scanSbomRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, InspectorScanException Scans a provided CycloneDX 1.5 SBOM and reports on any vulnerabilities discovered in that SBOM. You can generate compatible SBOMs for your resources using the Amazon Inspector SBOM generator.
- Parameters:
scanSbomRequest-- Returns:
- Result of the ScanSbom operation returned by the service.
- See Also:
-
scanSbom
default ScanSbomResponse scanSbom(Consumer<ScanSbomRequest.Builder> scanSbomRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, InspectorScanException Scans a provided CycloneDX 1.5 SBOM and reports on any vulnerabilities discovered in that SBOM. You can generate compatible SBOMs for your resources using the Amazon Inspector SBOM generator.
This is a convenience which creates an instance of the
ScanSbomRequest.Builderavoiding the need to create one manually viaScanSbomRequest.builder()- Parameters:
scanSbomRequest- AConsumerthat will call methods onScanSbomRequest.Builderto create a request.- Returns:
- Result of the ScanSbom operation returned by the service.
- See Also:
-
create
Create aInspectorScanClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aInspectorScanClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-