@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSInspector2Client extends AmazonWebServiceClient implements AWSInspector2
Amazon Inspector is a vulnerability discovery service that automates continuous scanning for security vulnerabilities within your Amazon EC2, Amazon ECR, and Amazon Web Services Lambda environments.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AWSInspector2ClientBuilder builder()
public AssociateMemberResult associateMember(AssociateMemberRequest request)
Associates an Amazon Web Services account with an Amazon Inspector delegated administrator. An HTTP 200 response indicates the association was successfully started, but doesn’t indicate whether it was completed. You can check if the association completed by using ListMembers for multiple accounts or GetMembers for a single account.
associateMember
in interface AWSInspector2
associateMemberRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public BatchGetAccountStatusResult batchGetAccountStatus(BatchGetAccountStatusRequest request)
Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.
batchGetAccountStatus
in interface AWSInspector2
batchGetAccountStatusRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public BatchGetCodeSnippetResult batchGetCodeSnippet(BatchGetCodeSnippetRequest request)
Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.
batchGetCodeSnippet
in interface AWSInspector2
batchGetCodeSnippetRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public BatchGetFindingDetailsResult batchGetFindingDetails(BatchGetFindingDetailsRequest request)
Gets vulnerability details for findings.
batchGetFindingDetails
in interface AWSInspector2
batchGetFindingDetailsRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public BatchGetFreeTrialInfoResult batchGetFreeTrialInfo(BatchGetFreeTrialInfoRequest request)
Gets free trial status for multiple Amazon Web Services accounts.
batchGetFreeTrialInfo
in interface AWSInspector2
batchGetFreeTrialInfoRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public BatchGetMemberEc2DeepInspectionStatusResult batchGetMemberEc2DeepInspectionStatus(BatchGetMemberEc2DeepInspectionStatusRequest request)
Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.
batchGetMemberEc2DeepInspectionStatus
in interface AWSInspector2
batchGetMemberEc2DeepInspectionStatusRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public BatchUpdateMemberEc2DeepInspectionStatusResult batchUpdateMemberEc2DeepInspectionStatus(BatchUpdateMemberEc2DeepInspectionStatusRequest request)
Activates or deactivates Amazon Inspector deep inspection for the provided member accounts in your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.
batchUpdateMemberEc2DeepInspectionStatus
in interface AWSInspector2
batchUpdateMemberEc2DeepInspectionStatusRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public CancelFindingsReportResult cancelFindingsReport(CancelFindingsReportRequest request)
Cancels the given findings report.
cancelFindingsReport
in interface AWSInspector2
cancelFindingsReportRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public CancelSbomExportResult cancelSbomExport(CancelSbomExportRequest request)
Cancels a software bill of materials (SBOM) report.
cancelSbomExport
in interface AWSInspector2
cancelSbomExportRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public CreateCisScanConfigurationResult createCisScanConfiguration(CreateCisScanConfigurationRequest request)
Creates a CIS scan configuration.
createCisScanConfiguration
in interface AWSInspector2
createCisScanConfigurationRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public CreateFilterResult createFilter(CreateFilterRequest request)
Creates a filter resource using specified filter criteria. When the filter action is set to SUPPRESS
this action creates a suppression rule.
createFilter
in interface AWSInspector2
createFilterRequest
- ServiceQuotaExceededException
- You have exceeded your service quota. To perform the requested action, remove some of the relevant
resources, or use Service Quotas to request a service quota increase.BadRequestException
- One or more tags submitted as part of the request is not valid.ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public CreateFindingsReportResult createFindingsReport(CreateFindingsReportRequest request)
Creates a finding report. By default only ACTIVE
findings are returned in the report. To see
SUPRESSED
or CLOSED
findings you must specify a value for the
findingStatus
filter criteria.
createFindingsReport
in interface AWSInspector2
createFindingsReportRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public CreateSbomExportResult createSbomExport(CreateSbomExportRequest request)
Creates a software bill of materials (SBOM) report.
createSbomExport
in interface AWSInspector2
createSbomExportRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public DeleteCisScanConfigurationResult deleteCisScanConfiguration(DeleteCisScanConfigurationRequest request)
Deletes a CIS scan configuration.
deleteCisScanConfiguration
in interface AWSInspector2
deleteCisScanConfigurationRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public DeleteFilterResult deleteFilter(DeleteFilterRequest request)
Deletes a filter resource.
deleteFilter
in interface AWSInspector2
deleteFilterRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public DescribeOrganizationConfigurationResult describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest request)
Describe Amazon Inspector configuration settings for an Amazon Web Services organization.
describeOrganizationConfiguration
in interface AWSInspector2
describeOrganizationConfigurationRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public DisableResult disable(DisableRequest request)
Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling all scan types in an account disables the Amazon Inspector service.
disable
in interface AWSInspector2
disableRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public DisableDelegatedAdminAccountResult disableDelegatedAdminAccount(DisableDelegatedAdminAccountRequest request)
Disables the Amazon Inspector delegated administrator for your organization.
disableDelegatedAdminAccount
in interface AWSInspector2
disableDelegatedAdminAccountRequest
- ConflictException
- A conflict occurred.ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public DisassociateMemberResult disassociateMember(DisassociateMemberRequest request)
Disassociates a member account from an Amazon Inspector delegated administrator.
disassociateMember
in interface AWSInspector2
disassociateMemberRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public EnableResult enable(EnableRequest request)
Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
enable
in interface AWSInspector2
enableRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public EnableDelegatedAdminAccountResult enableDelegatedAdminAccount(EnableDelegatedAdminAccountRequest request)
Enables the Amazon Inspector delegated administrator for your Organizations organization.
enableDelegatedAdminAccount
in interface AWSInspector2
enableDelegatedAdminAccountRequest
- ConflictException
- A conflict occurred.ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public GetCisScanReportResult getCisScanReport(GetCisScanReportRequest request)
Retrieves a CIS scan report.
getCisScanReport
in interface AWSInspector2
getCisScanReportRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public GetCisScanResultDetailsResult getCisScanResultDetails(GetCisScanResultDetailsRequest request)
Retrieves CIS scan result details.
getCisScanResultDetails
in interface AWSInspector2
getCisScanResultDetailsRequest
- AccessDeniedException
- You do not have sufficient access to perform this action.ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public GetConfigurationResult getConfiguration(GetConfigurationRequest request)
Retrieves setting configurations for Inspector scans.
getConfiguration
in interface AWSInspector2
getConfigurationRequest
- ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public GetDelegatedAdminAccountResult getDelegatedAdminAccount(GetDelegatedAdminAccountRequest request)
Retrieves information about the Amazon Inspector delegated administrator for your organization.
getDelegatedAdminAccount
in interface AWSInspector2
getDelegatedAdminAccountRequest
- AccessDeniedException
- You do not have sufficient access to perform this action.ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public GetEc2DeepInspectionConfigurationResult getEc2DeepInspectionConfiguration(GetEc2DeepInspectionConfigurationRequest request)
Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.
getEc2DeepInspectionConfiguration
in interface AWSInspector2
getEc2DeepInspectionConfigurationRequest
- AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public GetEncryptionKeyResult getEncryptionKey(GetEncryptionKeyRequest request)
Gets an encryption key.
getEncryptionKey
in interface AWSInspector2
getEncryptionKeyRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public GetFindingsReportStatusResult getFindingsReportStatus(GetFindingsReportStatusRequest request)
Gets the status of a findings report.
getFindingsReportStatus
in interface AWSInspector2
getFindingsReportStatusRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public GetMemberResult getMember(GetMemberRequest request)
Gets member information for your organization.
getMember
in interface AWSInspector2
getMemberRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public GetSbomExportResult getSbomExport(GetSbomExportRequest request)
Gets details of a software bill of materials (SBOM) report.
getSbomExport
in interface AWSInspector2
getSbomExportRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public ListAccountPermissionsResult listAccountPermissions(ListAccountPermissionsRequest request)
Lists the permissions an account has to configure Amazon Inspector.
listAccountPermissions
in interface AWSInspector2
listAccountPermissionsRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public ListCisScanConfigurationsResult listCisScanConfigurations(ListCisScanConfigurationsRequest request)
Lists CIS scan configurations.
listCisScanConfigurations
in interface AWSInspector2
listCisScanConfigurationsRequest
- AccessDeniedException
- You do not have sufficient access to perform this action.ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public ListCisScanResultsAggregatedByChecksResult listCisScanResultsAggregatedByChecks(ListCisScanResultsAggregatedByChecksRequest request)
Lists scan results aggregated by checks.
listCisScanResultsAggregatedByChecks
in interface AWSInspector2
listCisScanResultsAggregatedByChecksRequest
- AccessDeniedException
- You do not have sufficient access to perform this action.ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public ListCisScanResultsAggregatedByTargetResourceResult listCisScanResultsAggregatedByTargetResource(ListCisScanResultsAggregatedByTargetResourceRequest request)
Lists scan results aggregated by a target resource.
listCisScanResultsAggregatedByTargetResource
in interface AWSInspector2
listCisScanResultsAggregatedByTargetResourceRequest
- AccessDeniedException
- You do not have sufficient access to perform this action.ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public ListCisScansResult listCisScans(ListCisScansRequest request)
Returns a CIS scan list.
listCisScans
in interface AWSInspector2
listCisScansRequest
- AccessDeniedException
- You do not have sufficient access to perform this action.ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public ListCoverageResult listCoverage(ListCoverageRequest request)
Lists coverage details for you environment.
listCoverage
in interface AWSInspector2
listCoverageRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public ListCoverageStatisticsResult listCoverageStatistics(ListCoverageStatisticsRequest request)
Lists Amazon Inspector coverage statistics for your environment.
listCoverageStatistics
in interface AWSInspector2
listCoverageStatisticsRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public ListDelegatedAdminAccountsResult listDelegatedAdminAccounts(ListDelegatedAdminAccountsRequest request)
Lists information about the Amazon Inspector delegated administrator of your organization.
listDelegatedAdminAccounts
in interface AWSInspector2
listDelegatedAdminAccountsRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public ListFiltersResult listFilters(ListFiltersRequest request)
Lists the filters associated with your account.
listFilters
in interface AWSInspector2
listFiltersRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public ListFindingAggregationsResult listFindingAggregations(ListFindingAggregationsRequest request)
Lists aggregated finding data for your environment based on specific criteria.
listFindingAggregations
in interface AWSInspector2
listFindingAggregationsRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public ListFindingsResult listFindings(ListFindingsRequest request)
Lists findings for your environment.
listFindings
in interface AWSInspector2
listFindingsRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public ListMembersResult listMembers(ListMembersRequest request)
List members associated with the Amazon Inspector delegated administrator for your organization.
listMembers
in interface AWSInspector2
listMembersRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists all tags attached to a given resource.
listTagsForResource
in interface AWSInspector2
listTagsForResourceRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public ListUsageTotalsResult listUsageTotals(ListUsageTotalsRequest request)
Lists the Amazon Inspector usage totals over the last 30 days.
listUsageTotals
in interface AWSInspector2
listUsageTotalsRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public ResetEncryptionKeyResult resetEncryptionKey(ResetEncryptionKeyRequest request)
Resets an encryption key. After the key is reset your resources will be encrypted by an Amazon Web Services owned key.
resetEncryptionKey
in interface AWSInspector2
resetEncryptionKeyRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public SearchVulnerabilitiesResult searchVulnerabilities(SearchVulnerabilitiesRequest request)
Lists Amazon Inspector coverage details for a specific vulnerability.
searchVulnerabilities
in interface AWSInspector2
searchVulnerabilitiesRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public SendCisSessionHealthResult sendCisSessionHealth(SendCisSessionHealthRequest request)
Sends a CIS session health. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
sendCisSessionHealth
in interface AWSInspector2
sendCisSessionHealthRequest
- ConflictException
- A conflict occurred.ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public SendCisSessionTelemetryResult sendCisSessionTelemetry(SendCisSessionTelemetryRequest request)
Sends a CIS session telemetry. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
sendCisSessionTelemetry
in interface AWSInspector2
sendCisSessionTelemetryRequest
- ConflictException
- A conflict occurred.ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public StartCisSessionResult startCisSession(StartCisSessionRequest request)
Starts a CIS session. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
startCisSession
in interface AWSInspector2
startCisSessionRequest
- ConflictException
- A conflict occurred.ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public StopCisSessionResult stopCisSession(StopCisSessionRequest request)
Stops a CIS session. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
stopCisSession
in interface AWSInspector2
stopCisSessionRequest
- ConflictException
- A conflict occurred.ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public TagResourceResult tagResource(TagResourceRequest request)
Adds tags to a resource.
tagResource
in interface AWSInspector2
tagResourceRequest
- BadRequestException
- One or more tags submitted as part of the request is not valid.ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes tags from a resource.
untagResource
in interface AWSInspector2
untagResourceRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public UpdateCisScanConfigurationResult updateCisScanConfiguration(UpdateCisScanConfigurationRequest request)
Updates a CIS scan configuration.
updateCisScanConfiguration
in interface AWSInspector2
updateCisScanConfigurationRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public UpdateConfigurationResult updateConfiguration(UpdateConfigurationRequest request)
Updates setting configurations for your Amazon Inspector account. When you use this API as an Amazon Inspector delegated administrator this updates the setting for all accounts you manage. Member accounts in an organization cannot update this setting.
updateConfiguration
in interface AWSInspector2
updateConfigurationRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public UpdateEc2DeepInspectionConfigurationResult updateEc2DeepInspectionConfiguration(UpdateEc2DeepInspectionConfigurationRequest request)
Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.
updateEc2DeepInspectionConfiguration
in interface AWSInspector2
updateEc2DeepInspectionConfigurationRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public UpdateEncryptionKeyResult updateEncryptionKey(UpdateEncryptionKeyRequest request)
Updates an encryption key. A ResourceNotFoundException
means that an Amazon Web Services owned key
is being used for encryption.
updateEncryptionKey
in interface AWSInspector2
updateEncryptionKeyRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public UpdateFilterResult updateFilter(UpdateFilterRequest request)
Specifies the action that is to be applied to the findings that match the filter.
updateFilter
in interface AWSInspector2
updateFilterRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public UpdateOrgEc2DeepInspectionConfigurationResult updateOrgEc2DeepInspectionConfiguration(UpdateOrgEc2DeepInspectionConfigurationRequest request)
Updates the Amazon Inspector deep inspection custom paths for your organization. You must be an Amazon Inspector delegated administrator to use this API.
updateOrgEc2DeepInspectionConfiguration
in interface AWSInspector2
updateOrgEc2DeepInspectionConfigurationRequest
- ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public UpdateOrganizationConfigurationResult updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest request)
Updates the configurations for your Amazon Inspector organization.
updateOrganizationConfiguration
in interface AWSInspector2
updateOrganizationConfigurationRequest
- AccessDeniedException
- You do not have sufficient access to perform this action.ValidationException
- The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException
- The limit on the number of requests per second was exceeded.InternalServerException
- The request has failed due to an internal failure of the Amazon Inspector service.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
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 the request.
getCachedResponseMetadata
in interface AWSInspector2
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AWSInspector2
shutdown
in class AmazonWebServiceClient