@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 and Amazon ECR environments.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
AssociateMemberResult |
associateMember(AssociateMemberRequest request)
Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.
|
BatchGetAccountStatusResult |
batchGetAccountStatus(BatchGetAccountStatusRequest request)
Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.
|
BatchGetFreeTrialInfoResult |
batchGetFreeTrialInfo(BatchGetFreeTrialInfoRequest request)
Gets free trial status for multiple Amazon Web Services accounts.
|
static AWSInspector2ClientBuilder |
builder() |
CancelFindingsReportResult |
cancelFindingsReport(CancelFindingsReportRequest request)
Cancels the given findings report.
|
CreateFilterResult |
createFilter(CreateFilterRequest request)
Creates a filter resource using specified filter criteria.
|
CreateFindingsReportResult |
createFindingsReport(CreateFindingsReportRequest request)
Creates a finding report.
|
DeleteFilterResult |
deleteFilter(DeleteFilterRequest request)
Deletes a filter resource.
|
DescribeOrganizationConfigurationResult |
describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest request)
Describe Amazon Inspector configuration settings for an Amazon Web Services organization
|
DisableResult |
disable(DisableRequest request)
Disables Amazon Inspector scans for one or more Amazon Web Services accounts.
|
DisableDelegatedAdminAccountResult |
disableDelegatedAdminAccount(DisableDelegatedAdminAccountRequest request)
Disables the Amazon Inspector delegated administrator for your organization.
|
DisassociateMemberResult |
disassociateMember(DisassociateMemberRequest request)
Disassociates a member account from an Amazon Inspector delegated administrator.
|
EnableResult |
enable(EnableRequest request)
Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
|
EnableDelegatedAdminAccountResult |
enableDelegatedAdminAccount(EnableDelegatedAdminAccountRequest request)
Enables the Amazon Inspector delegated administrator for your Organizations organization.
|
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.
|
GetDelegatedAdminAccountResult |
getDelegatedAdminAccount(GetDelegatedAdminAccountRequest request)
Retrieves information about the Amazon Inspector delegated administrator for your organization.
|
GetFindingsReportStatusResult |
getFindingsReportStatus(GetFindingsReportStatusRequest request)
Gets the status of a findings report.
|
GetMemberResult |
getMember(GetMemberRequest request)
Gets member information for your organization.
|
ListAccountPermissionsResult |
listAccountPermissions(ListAccountPermissionsRequest request)
Lists the permissions an account has to configure Amazon Inspector.
|
ListCoverageResult |
listCoverage(ListCoverageRequest request)
Lists coverage details for you environment.
|
ListCoverageStatisticsResult |
listCoverageStatistics(ListCoverageStatisticsRequest request)
Lists Amazon Inspector coverage statistics for your environment.
|
ListDelegatedAdminAccountsResult |
listDelegatedAdminAccounts(ListDelegatedAdminAccountsRequest request)
Lists information about the Amazon Inspector delegated administrator of your organization.
|
ListFiltersResult |
listFilters(ListFiltersRequest request)
Lists the filters associated with your account.
|
ListFindingAggregationsResult |
listFindingAggregations(ListFindingAggregationsRequest request)
Lists aggregated finding data for your environment based on specific criteria.
|
ListFindingsResult |
listFindings(ListFindingsRequest request)
Lists findings for your environment.
|
ListMembersResult |
listMembers(ListMembersRequest request)
List members associated with the Amazon Inspector delegated administrator for your organization.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists all tags attached to a given resource.
|
ListUsageTotalsResult |
listUsageTotals(ListUsageTotalsRequest request)
Lists the Amazon Inspector usage totals over the last 30 days.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds tags to a resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes tags from a resource.
|
UpdateFilterResult |
updateFilter(UpdateFilterRequest request)
Specifies the action that is to be applied to the findings that match the filter.
|
UpdateOrganizationConfigurationResult |
updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest request)
Updates the configurations for your Amazon Inspector organization.
|
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.
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 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 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 CreateFilterResult createFilter(CreateFilterRequest request)
Creates a filter resource using specified filter criteria.
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.
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 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 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 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 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 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 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 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 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