Interface Inspector2AsyncClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface Inspector2AsyncClient extends AwsClient
Service client for accessing Inspector2 asynchronously. This can be created using the staticbuilder()method.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.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default CompletableFuture<AssociateMemberResponse>associateMember(Consumer<AssociateMemberRequest.Builder> associateMemberRequest)Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.default CompletableFuture<AssociateMemberResponse>associateMember(AssociateMemberRequest associateMemberRequest)Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.default CompletableFuture<BatchGetAccountStatusResponse>batchGetAccountStatus(Consumer<BatchGetAccountStatusRequest.Builder> batchGetAccountStatusRequest)Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.default CompletableFuture<BatchGetAccountStatusResponse>batchGetAccountStatus(BatchGetAccountStatusRequest batchGetAccountStatusRequest)Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.default CompletableFuture<BatchGetCodeSnippetResponse>batchGetCodeSnippet(Consumer<BatchGetCodeSnippetRequest.Builder> batchGetCodeSnippetRequest)Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.default CompletableFuture<BatchGetCodeSnippetResponse>batchGetCodeSnippet(BatchGetCodeSnippetRequest batchGetCodeSnippetRequest)Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.default CompletableFuture<BatchGetFindingDetailsResponse>batchGetFindingDetails(Consumer<BatchGetFindingDetailsRequest.Builder> batchGetFindingDetailsRequest)Gets vulnerability details for findings.default CompletableFuture<BatchGetFindingDetailsResponse>batchGetFindingDetails(BatchGetFindingDetailsRequest batchGetFindingDetailsRequest)Gets vulnerability details for findings.default CompletableFuture<BatchGetFreeTrialInfoResponse>batchGetFreeTrialInfo(Consumer<BatchGetFreeTrialInfoRequest.Builder> batchGetFreeTrialInfoRequest)Gets free trial status for multiple Amazon Web Services accounts.default CompletableFuture<BatchGetFreeTrialInfoResponse>batchGetFreeTrialInfo(BatchGetFreeTrialInfoRequest batchGetFreeTrialInfoRequest)Gets free trial status for multiple Amazon Web Services accounts.default CompletableFuture<BatchGetMemberEc2DeepInspectionStatusResponse>batchGetMemberEc2DeepInspectionStatus(Consumer<BatchGetMemberEc2DeepInspectionStatusRequest.Builder> batchGetMemberEc2DeepInspectionStatusRequest)Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within your organization.default CompletableFuture<BatchGetMemberEc2DeepInspectionStatusResponse>batchGetMemberEc2DeepInspectionStatus(BatchGetMemberEc2DeepInspectionStatusRequest batchGetMemberEc2DeepInspectionStatusRequest)Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within your organization.default CompletableFuture<BatchUpdateMemberEc2DeepInspectionStatusResponse>batchUpdateMemberEc2DeepInspectionStatus(Consumer<BatchUpdateMemberEc2DeepInspectionStatusRequest.Builder> batchUpdateMemberEc2DeepInspectionStatusRequest)Activates or deactivates Amazon Inspector deep inspection for the provided member accounts in your organization.default CompletableFuture<BatchUpdateMemberEc2DeepInspectionStatusResponse>batchUpdateMemberEc2DeepInspectionStatus(BatchUpdateMemberEc2DeepInspectionStatusRequest batchUpdateMemberEc2DeepInspectionStatusRequest)Activates or deactivates Amazon Inspector deep inspection for the provided member accounts in your organization.static Inspector2AsyncClientBuilderbuilder()Create a builder that can be used to configure and create aInspector2AsyncClient.default CompletableFuture<CancelFindingsReportResponse>cancelFindingsReport(Consumer<CancelFindingsReportRequest.Builder> cancelFindingsReportRequest)Cancels the given findings report.default CompletableFuture<CancelFindingsReportResponse>cancelFindingsReport(CancelFindingsReportRequest cancelFindingsReportRequest)Cancels the given findings report.default CompletableFuture<CancelSbomExportResponse>cancelSbomExport(Consumer<CancelSbomExportRequest.Builder> cancelSbomExportRequest)Cancels a software bill of materials (SBOM) report.default CompletableFuture<CancelSbomExportResponse>cancelSbomExport(CancelSbomExportRequest cancelSbomExportRequest)Cancels a software bill of materials (SBOM) report.static Inspector2AsyncClientcreate()Create aInspector2AsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateFilterResponse>createFilter(Consumer<CreateFilterRequest.Builder> createFilterRequest)Creates a filter resource using specified filter criteria.default CompletableFuture<CreateFilterResponse>createFilter(CreateFilterRequest createFilterRequest)Creates a filter resource using specified filter criteria.default CompletableFuture<CreateFindingsReportResponse>createFindingsReport(Consumer<CreateFindingsReportRequest.Builder> createFindingsReportRequest)Creates a finding report.default CompletableFuture<CreateFindingsReportResponse>createFindingsReport(CreateFindingsReportRequest createFindingsReportRequest)Creates a finding report.default CompletableFuture<CreateSbomExportResponse>createSbomExport(Consumer<CreateSbomExportRequest.Builder> createSbomExportRequest)Creates a software bill of materials (SBOM) report.default CompletableFuture<CreateSbomExportResponse>createSbomExport(CreateSbomExportRequest createSbomExportRequest)Creates a software bill of materials (SBOM) report.default CompletableFuture<DeleteFilterResponse>deleteFilter(Consumer<DeleteFilterRequest.Builder> deleteFilterRequest)Deletes a filter resource.default CompletableFuture<DeleteFilterResponse>deleteFilter(DeleteFilterRequest deleteFilterRequest)Deletes a filter resource.default CompletableFuture<DescribeOrganizationConfigurationResponse>describeOrganizationConfiguration(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest)Describe Amazon Inspector configuration settings for an Amazon Web Services organization.default CompletableFuture<DescribeOrganizationConfigurationResponse>describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest)Describe Amazon Inspector configuration settings for an Amazon Web Services organization.default CompletableFuture<DisableResponse>disable(Consumer<DisableRequest.Builder> disableRequest)Disables Amazon Inspector scans for one or more Amazon Web Services accounts.default CompletableFuture<DisableResponse>disable(DisableRequest disableRequest)Disables Amazon Inspector scans for one or more Amazon Web Services accounts.default CompletableFuture<DisableDelegatedAdminAccountResponse>disableDelegatedAdminAccount(Consumer<DisableDelegatedAdminAccountRequest.Builder> disableDelegatedAdminAccountRequest)Disables the Amazon Inspector delegated administrator for your organization.default CompletableFuture<DisableDelegatedAdminAccountResponse>disableDelegatedAdminAccount(DisableDelegatedAdminAccountRequest disableDelegatedAdminAccountRequest)Disables the Amazon Inspector delegated administrator for your organization.default CompletableFuture<DisassociateMemberResponse>disassociateMember(Consumer<DisassociateMemberRequest.Builder> disassociateMemberRequest)Disassociates a member account from an Amazon Inspector delegated administrator.default CompletableFuture<DisassociateMemberResponse>disassociateMember(DisassociateMemberRequest disassociateMemberRequest)Disassociates a member account from an Amazon Inspector delegated administrator.default CompletableFuture<EnableResponse>enable(Consumer<EnableRequest.Builder> enableRequest)Enables Amazon Inspector scans for one or more Amazon Web Services accounts.default CompletableFuture<EnableResponse>enable(EnableRequest enableRequest)Enables Amazon Inspector scans for one or more Amazon Web Services accounts.default CompletableFuture<EnableDelegatedAdminAccountResponse>enableDelegatedAdminAccount(Consumer<EnableDelegatedAdminAccountRequest.Builder> enableDelegatedAdminAccountRequest)Enables the Amazon Inspector delegated administrator for your Organizations organization.default CompletableFuture<EnableDelegatedAdminAccountResponse>enableDelegatedAdminAccount(EnableDelegatedAdminAccountRequest enableDelegatedAdminAccountRequest)Enables the Amazon Inspector delegated administrator for your Organizations organization.default CompletableFuture<GetConfigurationResponse>getConfiguration(Consumer<GetConfigurationRequest.Builder> getConfigurationRequest)Retrieves setting configurations for Inspector scans.default CompletableFuture<GetConfigurationResponse>getConfiguration(GetConfigurationRequest getConfigurationRequest)Retrieves setting configurations for Inspector scans.default CompletableFuture<GetDelegatedAdminAccountResponse>getDelegatedAdminAccount(Consumer<GetDelegatedAdminAccountRequest.Builder> getDelegatedAdminAccountRequest)Retrieves information about the Amazon Inspector delegated administrator for your organization.default CompletableFuture<GetDelegatedAdminAccountResponse>getDelegatedAdminAccount(GetDelegatedAdminAccountRequest getDelegatedAdminAccountRequest)Retrieves information about the Amazon Inspector delegated administrator for your organization.default CompletableFuture<GetEc2DeepInspectionConfigurationResponse>getEc2DeepInspectionConfiguration(Consumer<GetEc2DeepInspectionConfigurationRequest.Builder> getEc2DeepInspectionConfigurationRequest)Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.default CompletableFuture<GetEc2DeepInspectionConfigurationResponse>getEc2DeepInspectionConfiguration(GetEc2DeepInspectionConfigurationRequest getEc2DeepInspectionConfigurationRequest)Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.default CompletableFuture<GetEncryptionKeyResponse>getEncryptionKey(Consumer<GetEncryptionKeyRequest.Builder> getEncryptionKeyRequest)Gets an encryption key.default CompletableFuture<GetEncryptionKeyResponse>getEncryptionKey(GetEncryptionKeyRequest getEncryptionKeyRequest)Gets an encryption key.default CompletableFuture<GetFindingsReportStatusResponse>getFindingsReportStatus(Consumer<GetFindingsReportStatusRequest.Builder> getFindingsReportStatusRequest)Gets the status of a findings report.default CompletableFuture<GetFindingsReportStatusResponse>getFindingsReportStatus(GetFindingsReportStatusRequest getFindingsReportStatusRequest)Gets the status of a findings report.default CompletableFuture<GetMemberResponse>getMember(Consumer<GetMemberRequest.Builder> getMemberRequest)Gets member information for your organization.default CompletableFuture<GetMemberResponse>getMember(GetMemberRequest getMemberRequest)Gets member information for your organization.default CompletableFuture<GetSbomExportResponse>getSbomExport(Consumer<GetSbomExportRequest.Builder> getSbomExportRequest)Gets details of a software bill of materials (SBOM) report.default CompletableFuture<GetSbomExportResponse>getSbomExport(GetSbomExportRequest getSbomExportRequest)Gets details of a software bill of materials (SBOM) report.default CompletableFuture<ListAccountPermissionsResponse>listAccountPermissions(Consumer<ListAccountPermissionsRequest.Builder> listAccountPermissionsRequest)Lists the permissions an account has to configure Amazon Inspector.default CompletableFuture<ListAccountPermissionsResponse>listAccountPermissions(ListAccountPermissionsRequest listAccountPermissionsRequest)Lists the permissions an account has to configure Amazon Inspector.default ListAccountPermissionsPublisherlistAccountPermissionsPaginator(Consumer<ListAccountPermissionsRequest.Builder> listAccountPermissionsRequest)Lists the permissions an account has to configure Amazon Inspector.default ListAccountPermissionsPublisherlistAccountPermissionsPaginator(ListAccountPermissionsRequest listAccountPermissionsRequest)Lists the permissions an account has to configure Amazon Inspector.default CompletableFuture<ListCoverageResponse>listCoverage(Consumer<ListCoverageRequest.Builder> listCoverageRequest)Lists coverage details for you environment.default CompletableFuture<ListCoverageResponse>listCoverage(ListCoverageRequest listCoverageRequest)Lists coverage details for you environment.default ListCoveragePublisherlistCoveragePaginator(Consumer<ListCoverageRequest.Builder> listCoverageRequest)Lists coverage details for you environment.default ListCoveragePublisherlistCoveragePaginator(ListCoverageRequest listCoverageRequest)Lists coverage details for you environment.default CompletableFuture<ListCoverageStatisticsResponse>listCoverageStatistics(Consumer<ListCoverageStatisticsRequest.Builder> listCoverageStatisticsRequest)Lists Amazon Inspector coverage statistics for your environment.default CompletableFuture<ListCoverageStatisticsResponse>listCoverageStatistics(ListCoverageStatisticsRequest listCoverageStatisticsRequest)Lists Amazon Inspector coverage statistics for your environment.default ListCoverageStatisticsPublisherlistCoverageStatisticsPaginator(Consumer<ListCoverageStatisticsRequest.Builder> listCoverageStatisticsRequest)Lists Amazon Inspector coverage statistics for your environment.default ListCoverageStatisticsPublisherlistCoverageStatisticsPaginator(ListCoverageStatisticsRequest listCoverageStatisticsRequest)Lists Amazon Inspector coverage statistics for your environment.default CompletableFuture<ListDelegatedAdminAccountsResponse>listDelegatedAdminAccounts(Consumer<ListDelegatedAdminAccountsRequest.Builder> listDelegatedAdminAccountsRequest)Lists information about the Amazon Inspector delegated administrator of your organization.default CompletableFuture<ListDelegatedAdminAccountsResponse>listDelegatedAdminAccounts(ListDelegatedAdminAccountsRequest listDelegatedAdminAccountsRequest)Lists information about the Amazon Inspector delegated administrator of your organization.default ListDelegatedAdminAccountsPublisherlistDelegatedAdminAccountsPaginator(Consumer<ListDelegatedAdminAccountsRequest.Builder> listDelegatedAdminAccountsRequest)Lists information about the Amazon Inspector delegated administrator of your organization.default ListDelegatedAdminAccountsPublisherlistDelegatedAdminAccountsPaginator(ListDelegatedAdminAccountsRequest listDelegatedAdminAccountsRequest)Lists information about the Amazon Inspector delegated administrator of your organization.default CompletableFuture<ListFiltersResponse>listFilters(Consumer<ListFiltersRequest.Builder> listFiltersRequest)Lists the filters associated with your account.default CompletableFuture<ListFiltersResponse>listFilters(ListFiltersRequest listFiltersRequest)Lists the filters associated with your account.default ListFiltersPublisherlistFiltersPaginator(Consumer<ListFiltersRequest.Builder> listFiltersRequest)Lists the filters associated with your account.default ListFiltersPublisherlistFiltersPaginator(ListFiltersRequest listFiltersRequest)Lists the filters associated with your account.default CompletableFuture<ListFindingAggregationsResponse>listFindingAggregations(Consumer<ListFindingAggregationsRequest.Builder> listFindingAggregationsRequest)Lists aggregated finding data for your environment based on specific criteria.default CompletableFuture<ListFindingAggregationsResponse>listFindingAggregations(ListFindingAggregationsRequest listFindingAggregationsRequest)Lists aggregated finding data for your environment based on specific criteria.default ListFindingAggregationsPublisherlistFindingAggregationsPaginator(Consumer<ListFindingAggregationsRequest.Builder> listFindingAggregationsRequest)Lists aggregated finding data for your environment based on specific criteria.default ListFindingAggregationsPublisherlistFindingAggregationsPaginator(ListFindingAggregationsRequest listFindingAggregationsRequest)Lists aggregated finding data for your environment based on specific criteria.default CompletableFuture<ListFindingsResponse>listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest)Lists findings for your environment.default CompletableFuture<ListFindingsResponse>listFindings(ListFindingsRequest listFindingsRequest)Lists findings for your environment.default ListFindingsPublisherlistFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest)Lists findings for your environment.default ListFindingsPublisherlistFindingsPaginator(ListFindingsRequest listFindingsRequest)Lists findings for your environment.default CompletableFuture<ListMembersResponse>listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest)List members associated with the Amazon Inspector delegated administrator for your organization.default CompletableFuture<ListMembersResponse>listMembers(ListMembersRequest listMembersRequest)List members associated with the Amazon Inspector delegated administrator for your organization.default ListMembersPublisherlistMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest)List members associated with the Amazon Inspector delegated administrator for your organization.default ListMembersPublisherlistMembersPaginator(ListMembersRequest listMembersRequest)List members associated with the Amazon Inspector delegated administrator for your organization.default CompletableFuture<ListTagsForResourceResponse>listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)Lists all tags attached to a given resource.default CompletableFuture<ListTagsForResourceResponse>listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)Lists all tags attached to a given resource.default CompletableFuture<ListUsageTotalsResponse>listUsageTotals(Consumer<ListUsageTotalsRequest.Builder> listUsageTotalsRequest)Lists the Amazon Inspector usage totals over the last 30 days.default CompletableFuture<ListUsageTotalsResponse>listUsageTotals(ListUsageTotalsRequest listUsageTotalsRequest)Lists the Amazon Inspector usage totals over the last 30 days.default ListUsageTotalsPublisherlistUsageTotalsPaginator(Consumer<ListUsageTotalsRequest.Builder> listUsageTotalsRequest)Lists the Amazon Inspector usage totals over the last 30 days.default ListUsageTotalsPublisherlistUsageTotalsPaginator(ListUsageTotalsRequest listUsageTotalsRequest)Lists the Amazon Inspector usage totals over the last 30 days.default CompletableFuture<ResetEncryptionKeyResponse>resetEncryptionKey(Consumer<ResetEncryptionKeyRequest.Builder> resetEncryptionKeyRequest)Resets an encryption key.default CompletableFuture<ResetEncryptionKeyResponse>resetEncryptionKey(ResetEncryptionKeyRequest resetEncryptionKeyRequest)Resets an encryption key.default CompletableFuture<SearchVulnerabilitiesResponse>searchVulnerabilities(Consumer<SearchVulnerabilitiesRequest.Builder> searchVulnerabilitiesRequest)Lists Amazon Inspector coverage details for a specific vulnerability.default CompletableFuture<SearchVulnerabilitiesResponse>searchVulnerabilities(SearchVulnerabilitiesRequest searchVulnerabilitiesRequest)Lists Amazon Inspector coverage details for a specific vulnerability.default SearchVulnerabilitiesPublishersearchVulnerabilitiesPaginator(Consumer<SearchVulnerabilitiesRequest.Builder> searchVulnerabilitiesRequest)Lists Amazon Inspector coverage details for a specific vulnerability.default SearchVulnerabilitiesPublishersearchVulnerabilitiesPaginator(SearchVulnerabilitiesRequest searchVulnerabilitiesRequest)Lists Amazon Inspector coverage details for a specific vulnerability.default Inspector2ServiceClientConfigurationserviceClientConfiguration()default CompletableFuture<TagResourceResponse>tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)Adds tags to a resource.default CompletableFuture<TagResourceResponse>tagResource(TagResourceRequest tagResourceRequest)Adds tags to a resource.default CompletableFuture<UntagResourceResponse>untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)Removes tags from a resource.default CompletableFuture<UntagResourceResponse>untagResource(UntagResourceRequest untagResourceRequest)Removes tags from a resource.default CompletableFuture<UpdateConfigurationResponse>updateConfiguration(Consumer<UpdateConfigurationRequest.Builder> updateConfigurationRequest)Updates setting configurations for your Amazon Inspector account.default CompletableFuture<UpdateConfigurationResponse>updateConfiguration(UpdateConfigurationRequest updateConfigurationRequest)Updates setting configurations for your Amazon Inspector account.default CompletableFuture<UpdateEc2DeepInspectionConfigurationResponse>updateEc2DeepInspectionConfiguration(Consumer<UpdateEc2DeepInspectionConfigurationRequest.Builder> updateEc2DeepInspectionConfigurationRequest)Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.default CompletableFuture<UpdateEc2DeepInspectionConfigurationResponse>updateEc2DeepInspectionConfiguration(UpdateEc2DeepInspectionConfigurationRequest updateEc2DeepInspectionConfigurationRequest)Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.default CompletableFuture<UpdateEncryptionKeyResponse>updateEncryptionKey(Consumer<UpdateEncryptionKeyRequest.Builder> updateEncryptionKeyRequest)Updates an encryption key.default CompletableFuture<UpdateEncryptionKeyResponse>updateEncryptionKey(UpdateEncryptionKeyRequest updateEncryptionKeyRequest)Updates an encryption key.default CompletableFuture<UpdateFilterResponse>updateFilter(Consumer<UpdateFilterRequest.Builder> updateFilterRequest)Specifies the action that is to be applied to the findings that match the filter.default CompletableFuture<UpdateFilterResponse>updateFilter(UpdateFilterRequest updateFilterRequest)Specifies the action that is to be applied to the findings that match the filter.default CompletableFuture<UpdateOrganizationConfigurationResponse>updateOrganizationConfiguration(Consumer<UpdateOrganizationConfigurationRequest.Builder> updateOrganizationConfigurationRequest)Updates the configurations for your Amazon Inspector organization.default CompletableFuture<UpdateOrganizationConfigurationResponse>updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest)Updates the configurations for your Amazon Inspector organization.default CompletableFuture<UpdateOrgEc2DeepInspectionConfigurationResponse>updateOrgEc2DeepInspectionConfiguration(Consumer<UpdateOrgEc2DeepInspectionConfigurationRequest.Builder> updateOrgEc2DeepInspectionConfigurationRequest)Updates the Amazon Inspector deep inspection custom paths for your organization.default CompletableFuture<UpdateOrgEc2DeepInspectionConfigurationResponse>updateOrgEc2DeepInspectionConfiguration(UpdateOrgEc2DeepInspectionConfigurationRequest updateOrgEc2DeepInspectionConfigurationRequest)Updates the Amazon Inspector deep inspection custom paths for your organization.-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
associateMember
default CompletableFuture<AssociateMemberResponse> associateMember(AssociateMemberRequest associateMemberRequest)
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.
- Parameters:
associateMemberRequest-- Returns:
- A Java Future containing the result of the AssociateMember operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
associateMember
default CompletableFuture<AssociateMemberResponse> associateMember(Consumer<AssociateMemberRequest.Builder> associateMemberRequest)
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.
This is a convenience which creates an instance of the
AssociateMemberRequest.Builderavoiding the need to create one manually viaAssociateMemberRequest.builder()- Parameters:
associateMemberRequest- AConsumerthat will call methods onAssociateMemberRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateMember operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetAccountStatus
default CompletableFuture<BatchGetAccountStatusResponse> batchGetAccountStatus(BatchGetAccountStatusRequest batchGetAccountStatusRequest)
Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.
- Parameters:
batchGetAccountStatusRequest-- Returns:
- A Java Future containing the result of the BatchGetAccountStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetAccountStatus
default CompletableFuture<BatchGetAccountStatusResponse> batchGetAccountStatus(Consumer<BatchGetAccountStatusRequest.Builder> batchGetAccountStatusRequest)
Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.
This is a convenience which creates an instance of the
BatchGetAccountStatusRequest.Builderavoiding the need to create one manually viaBatchGetAccountStatusRequest.builder()- Parameters:
batchGetAccountStatusRequest- AConsumerthat will call methods onBatchGetAccountStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetAccountStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetCodeSnippet
default CompletableFuture<BatchGetCodeSnippetResponse> batchGetCodeSnippet(BatchGetCodeSnippetRequest batchGetCodeSnippetRequest)
Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.
- Parameters:
batchGetCodeSnippetRequest-- Returns:
- A Java Future containing the result of the BatchGetCodeSnippet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetCodeSnippet
default CompletableFuture<BatchGetCodeSnippetResponse> batchGetCodeSnippet(Consumer<BatchGetCodeSnippetRequest.Builder> batchGetCodeSnippetRequest)
Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.
This is a convenience which creates an instance of the
BatchGetCodeSnippetRequest.Builderavoiding the need to create one manually viaBatchGetCodeSnippetRequest.builder()- Parameters:
batchGetCodeSnippetRequest- AConsumerthat will call methods onBatchGetCodeSnippetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetCodeSnippet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetFindingDetails
default CompletableFuture<BatchGetFindingDetailsResponse> batchGetFindingDetails(BatchGetFindingDetailsRequest batchGetFindingDetailsRequest)
Gets vulnerability details for findings.
- Parameters:
batchGetFindingDetailsRequest-- Returns:
- A Java Future containing the result of the BatchGetFindingDetails operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetFindingDetails
default CompletableFuture<BatchGetFindingDetailsResponse> batchGetFindingDetails(Consumer<BatchGetFindingDetailsRequest.Builder> batchGetFindingDetailsRequest)
Gets vulnerability details for findings.
This is a convenience which creates an instance of the
BatchGetFindingDetailsRequest.Builderavoiding the need to create one manually viaBatchGetFindingDetailsRequest.builder()- Parameters:
batchGetFindingDetailsRequest- AConsumerthat will call methods onBatchGetFindingDetailsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetFindingDetails operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetFreeTrialInfo
default CompletableFuture<BatchGetFreeTrialInfoResponse> batchGetFreeTrialInfo(BatchGetFreeTrialInfoRequest batchGetFreeTrialInfoRequest)
Gets free trial status for multiple Amazon Web Services accounts.
- Parameters:
batchGetFreeTrialInfoRequest-- Returns:
- A Java Future containing the result of the BatchGetFreeTrialInfo operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetFreeTrialInfo
default CompletableFuture<BatchGetFreeTrialInfoResponse> batchGetFreeTrialInfo(Consumer<BatchGetFreeTrialInfoRequest.Builder> batchGetFreeTrialInfoRequest)
Gets free trial status for multiple Amazon Web Services accounts.
This is a convenience which creates an instance of the
BatchGetFreeTrialInfoRequest.Builderavoiding the need to create one manually viaBatchGetFreeTrialInfoRequest.builder()- Parameters:
batchGetFreeTrialInfoRequest- AConsumerthat will call methods onBatchGetFreeTrialInfoRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetFreeTrialInfo operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetMemberEc2DeepInspectionStatus
default CompletableFuture<BatchGetMemberEc2DeepInspectionStatusResponse> batchGetMemberEc2DeepInspectionStatus(BatchGetMemberEc2DeepInspectionStatusRequest batchGetMemberEc2DeepInspectionStatusRequest)
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.
- Parameters:
batchGetMemberEc2DeepInspectionStatusRequest-- Returns:
- A Java Future containing the result of the BatchGetMemberEc2DeepInspectionStatus operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetMemberEc2DeepInspectionStatus
default CompletableFuture<BatchGetMemberEc2DeepInspectionStatusResponse> batchGetMemberEc2DeepInspectionStatus(Consumer<BatchGetMemberEc2DeepInspectionStatusRequest.Builder> batchGetMemberEc2DeepInspectionStatusRequest)
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.
This is a convenience which creates an instance of the
BatchGetMemberEc2DeepInspectionStatusRequest.Builderavoiding the need to create one manually viaBatchGetMemberEc2DeepInspectionStatusRequest.builder()- Parameters:
batchGetMemberEc2DeepInspectionStatusRequest- AConsumerthat will call methods onBatchGetMemberEc2DeepInspectionStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetMemberEc2DeepInspectionStatus operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchUpdateMemberEc2DeepInspectionStatus
default CompletableFuture<BatchUpdateMemberEc2DeepInspectionStatusResponse> batchUpdateMemberEc2DeepInspectionStatus(BatchUpdateMemberEc2DeepInspectionStatusRequest batchUpdateMemberEc2DeepInspectionStatusRequest)
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.
- Parameters:
batchUpdateMemberEc2DeepInspectionStatusRequest-- Returns:
- A Java Future containing the result of the BatchUpdateMemberEc2DeepInspectionStatus operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchUpdateMemberEc2DeepInspectionStatus
default CompletableFuture<BatchUpdateMemberEc2DeepInspectionStatusResponse> batchUpdateMemberEc2DeepInspectionStatus(Consumer<BatchUpdateMemberEc2DeepInspectionStatusRequest.Builder> batchUpdateMemberEc2DeepInspectionStatusRequest)
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.
This is a convenience which creates an instance of the
BatchUpdateMemberEc2DeepInspectionStatusRequest.Builderavoiding the need to create one manually viaBatchUpdateMemberEc2DeepInspectionStatusRequest.builder()- Parameters:
batchUpdateMemberEc2DeepInspectionStatusRequest- AConsumerthat will call methods onBatchUpdateMemberEc2DeepInspectionStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchUpdateMemberEc2DeepInspectionStatus operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
cancelFindingsReport
default CompletableFuture<CancelFindingsReportResponse> cancelFindingsReport(CancelFindingsReportRequest cancelFindingsReportRequest)
Cancels the given findings report.
- Parameters:
cancelFindingsReportRequest-- Returns:
- A Java Future containing the result of the CancelFindingsReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
cancelFindingsReport
default CompletableFuture<CancelFindingsReportResponse> cancelFindingsReport(Consumer<CancelFindingsReportRequest.Builder> cancelFindingsReportRequest)
Cancels the given findings report.
This is a convenience which creates an instance of the
CancelFindingsReportRequest.Builderavoiding the need to create one manually viaCancelFindingsReportRequest.builder()- Parameters:
cancelFindingsReportRequest- AConsumerthat will call methods onCancelFindingsReportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CancelFindingsReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
cancelSbomExport
default CompletableFuture<CancelSbomExportResponse> cancelSbomExport(CancelSbomExportRequest cancelSbomExportRequest)
Cancels a software bill of materials (SBOM) report.
- Parameters:
cancelSbomExportRequest-- Returns:
- A Java Future containing the result of the CancelSbomExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
cancelSbomExport
default CompletableFuture<CancelSbomExportResponse> cancelSbomExport(Consumer<CancelSbomExportRequest.Builder> cancelSbomExportRequest)
Cancels a software bill of materials (SBOM) report.
This is a convenience which creates an instance of the
CancelSbomExportRequest.Builderavoiding the need to create one manually viaCancelSbomExportRequest.builder()- Parameters:
cancelSbomExportRequest- AConsumerthat will call methods onCancelSbomExportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CancelSbomExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createFilter
default CompletableFuture<CreateFilterResponse> createFilter(CreateFilterRequest createFilterRequest)
Creates a filter resource using specified filter criteria. When the filter action is set to
SUPPRESSthis action creates a suppression rule.- Parameters:
createFilterRequest-- Returns:
- A Java Future containing the result of the CreateFilter operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createFilter
default CompletableFuture<CreateFilterResponse> createFilter(Consumer<CreateFilterRequest.Builder> createFilterRequest)
Creates a filter resource using specified filter criteria. When the filter action is set to
SUPPRESSthis action creates a suppression rule.
This is a convenience which creates an instance of the
CreateFilterRequest.Builderavoiding the need to create one manually viaCreateFilterRequest.builder()- Parameters:
createFilterRequest- AConsumerthat will call methods onCreateFilterRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateFilter operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createFindingsReport
default CompletableFuture<CreateFindingsReportResponse> createFindingsReport(CreateFindingsReportRequest createFindingsReportRequest)
Creates a finding report. By default only
ACTIVEfindings are returned in the report. To seeSUPRESSEDorCLOSEDfindings you must specify a value for thefindingStatusfilter criteria.- Parameters:
createFindingsReportRequest-- Returns:
- A Java Future containing the result of the CreateFindingsReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createFindingsReport
default CompletableFuture<CreateFindingsReportResponse> createFindingsReport(Consumer<CreateFindingsReportRequest.Builder> createFindingsReportRequest)
Creates a finding report. By default only
ACTIVEfindings are returned in the report. To seeSUPRESSEDorCLOSEDfindings you must specify a value for thefindingStatusfilter criteria.
This is a convenience which creates an instance of the
CreateFindingsReportRequest.Builderavoiding the need to create one manually viaCreateFindingsReportRequest.builder()- Parameters:
createFindingsReportRequest- AConsumerthat will call methods onCreateFindingsReportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateFindingsReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createSbomExport
default CompletableFuture<CreateSbomExportResponse> createSbomExport(CreateSbomExportRequest createSbomExportRequest)
Creates a software bill of materials (SBOM) report.
- Parameters:
createSbomExportRequest-- Returns:
- A Java Future containing the result of the CreateSbomExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createSbomExport
default CompletableFuture<CreateSbomExportResponse> createSbomExport(Consumer<CreateSbomExportRequest.Builder> createSbomExportRequest)
Creates a software bill of materials (SBOM) report.
This is a convenience which creates an instance of the
CreateSbomExportRequest.Builderavoiding the need to create one manually viaCreateSbomExportRequest.builder()- Parameters:
createSbomExportRequest- AConsumerthat will call methods onCreateSbomExportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateSbomExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteFilter
default CompletableFuture<DeleteFilterResponse> deleteFilter(DeleteFilterRequest deleteFilterRequest)
Deletes a filter resource.
- Parameters:
deleteFilterRequest-- Returns:
- A Java Future containing the result of the DeleteFilter operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteFilter
default CompletableFuture<DeleteFilterResponse> deleteFilter(Consumer<DeleteFilterRequest.Builder> deleteFilterRequest)
Deletes a filter resource.
This is a convenience which creates an instance of the
DeleteFilterRequest.Builderavoiding the need to create one manually viaDeleteFilterRequest.builder()- Parameters:
deleteFilterRequest- AConsumerthat will call methods onDeleteFilterRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteFilter operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeOrganizationConfiguration
default CompletableFuture<DescribeOrganizationConfigurationResponse> describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest)
Describe Amazon Inspector configuration settings for an Amazon Web Services organization.
- Parameters:
describeOrganizationConfigurationRequest-- Returns:
- A Java Future containing the result of the DescribeOrganizationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeOrganizationConfiguration
default CompletableFuture<DescribeOrganizationConfigurationResponse> describeOrganizationConfiguration(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest)
Describe Amazon Inspector configuration settings for an Amazon Web Services organization.
This is a convenience which creates an instance of the
DescribeOrganizationConfigurationRequest.Builderavoiding the need to create one manually viaDescribeOrganizationConfigurationRequest.builder()- Parameters:
describeOrganizationConfigurationRequest- AConsumerthat will call methods onDescribeOrganizationConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeOrganizationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
disable
default CompletableFuture<DisableResponse> disable(DisableRequest disableRequest)
Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling all scan types in an account disables the Amazon Inspector service.
- Parameters:
disableRequest-- Returns:
- A Java Future containing the result of the Disable operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
disable
default CompletableFuture<DisableResponse> disable(Consumer<DisableRequest.Builder> disableRequest)
Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling all scan types in an account disables the Amazon Inspector service.
This is a convenience which creates an instance of the
DisableRequest.Builderavoiding the need to create one manually viaDisableRequest.builder()- Parameters:
disableRequest- AConsumerthat will call methods onDisableRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the Disable operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
disableDelegatedAdminAccount
default CompletableFuture<DisableDelegatedAdminAccountResponse> disableDelegatedAdminAccount(DisableDelegatedAdminAccountRequest disableDelegatedAdminAccountRequest)
Disables the Amazon Inspector delegated administrator for your organization.
- Parameters:
disableDelegatedAdminAccountRequest-- Returns:
- A Java Future containing the result of the DisableDelegatedAdminAccount operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
disableDelegatedAdminAccount
default CompletableFuture<DisableDelegatedAdminAccountResponse> disableDelegatedAdminAccount(Consumer<DisableDelegatedAdminAccountRequest.Builder> disableDelegatedAdminAccountRequest)
Disables the Amazon Inspector delegated administrator for your organization.
This is a convenience which creates an instance of the
DisableDelegatedAdminAccountRequest.Builderavoiding the need to create one manually viaDisableDelegatedAdminAccountRequest.builder()- Parameters:
disableDelegatedAdminAccountRequest- AConsumerthat will call methods onDisableDelegatedAdminAccountRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisableDelegatedAdminAccount operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
disassociateMember
default CompletableFuture<DisassociateMemberResponse> disassociateMember(DisassociateMemberRequest disassociateMemberRequest)
Disassociates a member account from an Amazon Inspector delegated administrator.
- Parameters:
disassociateMemberRequest-- Returns:
- A Java Future containing the result of the DisassociateMember operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
disassociateMember
default CompletableFuture<DisassociateMemberResponse> disassociateMember(Consumer<DisassociateMemberRequest.Builder> disassociateMemberRequest)
Disassociates a member account from an Amazon Inspector delegated administrator.
This is a convenience which creates an instance of the
DisassociateMemberRequest.Builderavoiding the need to create one manually viaDisassociateMemberRequest.builder()- Parameters:
disassociateMemberRequest- AConsumerthat will call methods onDisassociateMemberRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateMember operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
enable
default CompletableFuture<EnableResponse> enable(EnableRequest enableRequest)
Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
- Parameters:
enableRequest-- Returns:
- A Java Future containing the result of the Enable operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
enable
default CompletableFuture<EnableResponse> enable(Consumer<EnableRequest.Builder> enableRequest)
Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
This is a convenience which creates an instance of the
EnableRequest.Builderavoiding the need to create one manually viaEnableRequest.builder()- Parameters:
enableRequest- AConsumerthat will call methods onEnableRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the Enable operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
enableDelegatedAdminAccount
default CompletableFuture<EnableDelegatedAdminAccountResponse> enableDelegatedAdminAccount(EnableDelegatedAdminAccountRequest enableDelegatedAdminAccountRequest)
Enables the Amazon Inspector delegated administrator for your Organizations organization.
- Parameters:
enableDelegatedAdminAccountRequest-- Returns:
- A Java Future containing the result of the EnableDelegatedAdminAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
enableDelegatedAdminAccount
default CompletableFuture<EnableDelegatedAdminAccountResponse> enableDelegatedAdminAccount(Consumer<EnableDelegatedAdminAccountRequest.Builder> enableDelegatedAdminAccountRequest)
Enables the Amazon Inspector delegated administrator for your Organizations organization.
This is a convenience which creates an instance of the
EnableDelegatedAdminAccountRequest.Builderavoiding the need to create one manually viaEnableDelegatedAdminAccountRequest.builder()- Parameters:
enableDelegatedAdminAccountRequest- AConsumerthat will call methods onEnableDelegatedAdminAccountRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the EnableDelegatedAdminAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getConfiguration
default CompletableFuture<GetConfigurationResponse> getConfiguration(GetConfigurationRequest getConfigurationRequest)
Retrieves setting configurations for Inspector scans.
- Parameters:
getConfigurationRequest-- Returns:
- A Java Future containing the result of the GetConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getConfiguration
default CompletableFuture<GetConfigurationResponse> getConfiguration(Consumer<GetConfigurationRequest.Builder> getConfigurationRequest)
Retrieves setting configurations for Inspector scans.
This is a convenience which creates an instance of the
GetConfigurationRequest.Builderavoiding the need to create one manually viaGetConfigurationRequest.builder()- Parameters:
getConfigurationRequest- AConsumerthat will call methods onGetConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDelegatedAdminAccount
default CompletableFuture<GetDelegatedAdminAccountResponse> getDelegatedAdminAccount(GetDelegatedAdminAccountRequest getDelegatedAdminAccountRequest)
Retrieves information about the Amazon Inspector delegated administrator for your organization.
- Parameters:
getDelegatedAdminAccountRequest-- Returns:
- A Java Future containing the result of the GetDelegatedAdminAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDelegatedAdminAccount
default CompletableFuture<GetDelegatedAdminAccountResponse> getDelegatedAdminAccount(Consumer<GetDelegatedAdminAccountRequest.Builder> getDelegatedAdminAccountRequest)
Retrieves information about the Amazon Inspector delegated administrator for your organization.
This is a convenience which creates an instance of the
GetDelegatedAdminAccountRequest.Builderavoiding the need to create one manually viaGetDelegatedAdminAccountRequest.builder()- Parameters:
getDelegatedAdminAccountRequest- AConsumerthat will call methods onGetDelegatedAdminAccountRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetDelegatedAdminAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getEc2DeepInspectionConfiguration
default CompletableFuture<GetEc2DeepInspectionConfigurationResponse> getEc2DeepInspectionConfiguration(GetEc2DeepInspectionConfigurationRequest getEc2DeepInspectionConfigurationRequest)
Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.
- Parameters:
getEc2DeepInspectionConfigurationRequest-- Returns:
- A Java Future containing the result of the GetEc2DeepInspectionConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getEc2DeepInspectionConfiguration
default CompletableFuture<GetEc2DeepInspectionConfigurationResponse> getEc2DeepInspectionConfiguration(Consumer<GetEc2DeepInspectionConfigurationRequest.Builder> getEc2DeepInspectionConfigurationRequest)
Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.
This is a convenience which creates an instance of the
GetEc2DeepInspectionConfigurationRequest.Builderavoiding the need to create one manually viaGetEc2DeepInspectionConfigurationRequest.builder()- Parameters:
getEc2DeepInspectionConfigurationRequest- AConsumerthat will call methods onGetEc2DeepInspectionConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetEc2DeepInspectionConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getEncryptionKey
default CompletableFuture<GetEncryptionKeyResponse> getEncryptionKey(GetEncryptionKeyRequest getEncryptionKeyRequest)
Gets an encryption key.
- Parameters:
getEncryptionKeyRequest-- Returns:
- A Java Future containing the result of the GetEncryptionKey operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getEncryptionKey
default CompletableFuture<GetEncryptionKeyResponse> getEncryptionKey(Consumer<GetEncryptionKeyRequest.Builder> getEncryptionKeyRequest)
Gets an encryption key.
This is a convenience which creates an instance of the
GetEncryptionKeyRequest.Builderavoiding the need to create one manually viaGetEncryptionKeyRequest.builder()- Parameters:
getEncryptionKeyRequest- AConsumerthat will call methods onGetEncryptionKeyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetEncryptionKey operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getFindingsReportStatus
default CompletableFuture<GetFindingsReportStatusResponse> getFindingsReportStatus(GetFindingsReportStatusRequest getFindingsReportStatusRequest)
Gets the status of a findings report.
- Parameters:
getFindingsReportStatusRequest-- Returns:
- A Java Future containing the result of the GetFindingsReportStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getFindingsReportStatus
default CompletableFuture<GetFindingsReportStatusResponse> getFindingsReportStatus(Consumer<GetFindingsReportStatusRequest.Builder> getFindingsReportStatusRequest)
Gets the status of a findings report.
This is a convenience which creates an instance of the
GetFindingsReportStatusRequest.Builderavoiding the need to create one manually viaGetFindingsReportStatusRequest.builder()- Parameters:
getFindingsReportStatusRequest- AConsumerthat will call methods onGetFindingsReportStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetFindingsReportStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getMember
default CompletableFuture<GetMemberResponse> getMember(GetMemberRequest getMemberRequest)
Gets member information for your organization.
- Parameters:
getMemberRequest-- Returns:
- A Java Future containing the result of the GetMember operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getMember
default CompletableFuture<GetMemberResponse> getMember(Consumer<GetMemberRequest.Builder> getMemberRequest)
Gets member information for your organization.
This is a convenience which creates an instance of the
GetMemberRequest.Builderavoiding the need to create one manually viaGetMemberRequest.builder()- Parameters:
getMemberRequest- AConsumerthat will call methods onGetMemberRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetMember operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getSbomExport
default CompletableFuture<GetSbomExportResponse> getSbomExport(GetSbomExportRequest getSbomExportRequest)
Gets details of a software bill of materials (SBOM) report.
- Parameters:
getSbomExportRequest-- Returns:
- A Java Future containing the result of the GetSbomExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getSbomExport
default CompletableFuture<GetSbomExportResponse> getSbomExport(Consumer<GetSbomExportRequest.Builder> getSbomExportRequest)
Gets details of a software bill of materials (SBOM) report.
This is a convenience which creates an instance of the
GetSbomExportRequest.Builderavoiding the need to create one manually viaGetSbomExportRequest.builder()- Parameters:
getSbomExportRequest- AConsumerthat will call methods onGetSbomExportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetSbomExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listAccountPermissions
default CompletableFuture<ListAccountPermissionsResponse> listAccountPermissions(ListAccountPermissionsRequest listAccountPermissionsRequest)
Lists the permissions an account has to configure Amazon Inspector.
- Parameters:
listAccountPermissionsRequest-- Returns:
- A Java Future containing the result of the ListAccountPermissions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listAccountPermissions
default CompletableFuture<ListAccountPermissionsResponse> listAccountPermissions(Consumer<ListAccountPermissionsRequest.Builder> listAccountPermissionsRequest)
Lists the permissions an account has to configure Amazon Inspector.
This is a convenience which creates an instance of the
ListAccountPermissionsRequest.Builderavoiding the need to create one manually viaListAccountPermissionsRequest.builder()- Parameters:
listAccountPermissionsRequest- AConsumerthat will call methods onListAccountPermissionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAccountPermissions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listAccountPermissionsPaginator
default ListAccountPermissionsPublisher listAccountPermissionsPaginator(ListAccountPermissionsRequest listAccountPermissionsRequest)
Lists the permissions an account has to configure Amazon Inspector.
This is a variant of
listAccountPermissions(software.amazon.awssdk.services.inspector2.model.ListAccountPermissionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.inspector2.paginators.ListAccountPermissionsPublisher publisher = client.listAccountPermissionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.inspector2.paginators.ListAccountPermissionsPublisher publisher = client.listAccountPermissionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListAccountPermissionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.inspector2.model.ListAccountPermissionsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccountPermissions(software.amazon.awssdk.services.inspector2.model.ListAccountPermissionsRequest)operation.- Parameters:
listAccountPermissionsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listAccountPermissionsPaginator
default ListAccountPermissionsPublisher listAccountPermissionsPaginator(Consumer<ListAccountPermissionsRequest.Builder> listAccountPermissionsRequest)
Lists the permissions an account has to configure Amazon Inspector.
This is a variant of
listAccountPermissions(software.amazon.awssdk.services.inspector2.model.ListAccountPermissionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.inspector2.paginators.ListAccountPermissionsPublisher publisher = client.listAccountPermissionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.inspector2.paginators.ListAccountPermissionsPublisher publisher = client.listAccountPermissionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListAccountPermissionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.inspector2.model.ListAccountPermissionsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccountPermissions(software.amazon.awssdk.services.inspector2.model.ListAccountPermissionsRequest)operation.This is a convenience which creates an instance of the
ListAccountPermissionsRequest.Builderavoiding the need to create one manually viaListAccountPermissionsRequest.builder()- Parameters:
listAccountPermissionsRequest- AConsumerthat will call methods onListAccountPermissionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCoverage
default CompletableFuture<ListCoverageResponse> listCoverage(ListCoverageRequest listCoverageRequest)
Lists coverage details for you environment.
- Parameters:
listCoverageRequest-- Returns:
- A Java Future containing the result of the ListCoverage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCoverage
default CompletableFuture<ListCoverageResponse> listCoverage(Consumer<ListCoverageRequest.Builder> listCoverageRequest)
Lists coverage details for you environment.
This is a convenience which creates an instance of the
ListCoverageRequest.Builderavoiding the need to create one manually viaListCoverageRequest.builder()- Parameters:
listCoverageRequest- AConsumerthat will call methods onListCoverageRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListCoverage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCoveragePaginator
default ListCoveragePublisher listCoveragePaginator(ListCoverageRequest listCoverageRequest)
Lists coverage details for you environment.
This is a variant of
listCoverage(software.amazon.awssdk.services.inspector2.model.ListCoverageRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.inspector2.paginators.ListCoveragePublisher publisher = client.listCoveragePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.inspector2.paginators.ListCoveragePublisher publisher = client.listCoveragePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListCoverageResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.inspector2.model.ListCoverageResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCoverage(software.amazon.awssdk.services.inspector2.model.ListCoverageRequest)operation.- Parameters:
listCoverageRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCoveragePaginator
default ListCoveragePublisher listCoveragePaginator(Consumer<ListCoverageRequest.Builder> listCoverageRequest)
Lists coverage details for you environment.
This is a variant of
listCoverage(software.amazon.awssdk.services.inspector2.model.ListCoverageRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.inspector2.paginators.ListCoveragePublisher publisher = client.listCoveragePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.inspector2.paginators.ListCoveragePublisher publisher = client.listCoveragePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListCoverageResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.inspector2.model.ListCoverageResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCoverage(software.amazon.awssdk.services.inspector2.model.ListCoverageRequest)operation.This is a convenience which creates an instance of the
ListCoverageRequest.Builderavoiding the need to create one manually viaListCoverageRequest.builder()- Parameters:
listCoverageRequest- AConsumerthat will call methods onListCoverageRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCoverageStatistics
default CompletableFuture<ListCoverageStatisticsResponse> listCoverageStatistics(ListCoverageStatisticsRequest listCoverageStatisticsRequest)
Lists Amazon Inspector coverage statistics for your environment.
- Parameters:
listCoverageStatisticsRequest-- Returns:
- A Java Future containing the result of the ListCoverageStatistics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCoverageStatistics
default CompletableFuture<ListCoverageStatisticsResponse> listCoverageStatistics(Consumer<ListCoverageStatisticsRequest.Builder> listCoverageStatisticsRequest)
Lists Amazon Inspector coverage statistics for your environment.
This is a convenience which creates an instance of the
ListCoverageStatisticsRequest.Builderavoiding the need to create one manually viaListCoverageStatisticsRequest.builder()- Parameters:
listCoverageStatisticsRequest- AConsumerthat will call methods onListCoverageStatisticsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListCoverageStatistics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCoverageStatisticsPaginator
default ListCoverageStatisticsPublisher listCoverageStatisticsPaginator(ListCoverageStatisticsRequest listCoverageStatisticsRequest)
Lists Amazon Inspector coverage statistics for your environment.
This is a variant of
listCoverageStatistics(software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.inspector2.paginators.ListCoverageStatisticsPublisher publisher = client.listCoverageStatisticsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.inspector2.paginators.ListCoverageStatisticsPublisher publisher = client.listCoverageStatisticsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCoverageStatistics(software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsRequest)operation.- Parameters:
listCoverageStatisticsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCoverageStatisticsPaginator
default ListCoverageStatisticsPublisher listCoverageStatisticsPaginator(Consumer<ListCoverageStatisticsRequest.Builder> listCoverageStatisticsRequest)
Lists Amazon Inspector coverage statistics for your environment.
This is a variant of
listCoverageStatistics(software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.inspector2.paginators.ListCoverageStatisticsPublisher publisher = client.listCoverageStatisticsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.inspector2.paginators.ListCoverageStatisticsPublisher publisher = client.listCoverageStatisticsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCoverageStatistics(software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsRequest)operation.This is a convenience which creates an instance of the
ListCoverageStatisticsRequest.Builderavoiding the need to create one manually viaListCoverageStatisticsRequest.builder()- Parameters:
listCoverageStatisticsRequest- AConsumerthat will call methods onListCoverageStatisticsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDelegatedAdminAccounts
default CompletableFuture<ListDelegatedAdminAccountsResponse> listDelegatedAdminAccounts(ListDelegatedAdminAccountsRequest listDelegatedAdminAccountsRequest)
Lists information about the Amazon Inspector delegated administrator of your organization.
- Parameters:
listDelegatedAdminAccountsRequest-- Returns:
- A Java Future containing the result of the ListDelegatedAdminAccounts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDelegatedAdminAccounts
default CompletableFuture<ListDelegatedAdminAccountsResponse> listDelegatedAdminAccounts(Consumer<ListDelegatedAdminAccountsRequest.Builder> listDelegatedAdminAccountsRequest)
Lists information about the Amazon Inspector delegated administrator of your organization.
This is a convenience which creates an instance of the
ListDelegatedAdminAccountsRequest.Builderavoiding the need to create one manually viaListDelegatedAdminAccountsRequest.builder()- Parameters:
listDelegatedAdminAccountsRequest- AConsumerthat will call methods onListDelegatedAdminAccountsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDelegatedAdminAccounts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDelegatedAdminAccountsPaginator
default ListDelegatedAdminAccountsPublisher listDelegatedAdminAccountsPaginator(ListDelegatedAdminAccountsRequest listDelegatedAdminAccountsRequest)
Lists information about the Amazon Inspector delegated administrator of your organization.
This is a variant of
listDelegatedAdminAccounts(software.amazon.awssdk.services.inspector2.model.ListDelegatedAdminAccountsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.inspector2.paginators.ListDelegatedAdminAccountsPublisher publisher = client.listDelegatedAdminAccountsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.inspector2.paginators.ListDelegatedAdminAccountsPublisher publisher = client.listDelegatedAdminAccountsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListDelegatedAdminAccountsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.inspector2.model.ListDelegatedAdminAccountsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDelegatedAdminAccounts(software.amazon.awssdk.services.inspector2.model.ListDelegatedAdminAccountsRequest)operation.- Parameters:
listDelegatedAdminAccountsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDelegatedAdminAccountsPaginator
default ListDelegatedAdminAccountsPublisher listDelegatedAdminAccountsPaginator(Consumer<ListDelegatedAdminAccountsRequest.Builder> listDelegatedAdminAccountsRequest)
Lists information about the Amazon Inspector delegated administrator of your organization.
This is a variant of
listDelegatedAdminAccounts(software.amazon.awssdk.services.inspector2.model.ListDelegatedAdminAccountsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.inspector2.paginators.ListDelegatedAdminAccountsPublisher publisher = client.listDelegatedAdminAccountsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.inspector2.paginators.ListDelegatedAdminAccountsPublisher publisher = client.listDelegatedAdminAccountsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListDelegatedAdminAccountsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.inspector2.model.ListDelegatedAdminAccountsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDelegatedAdminAccounts(software.amazon.awssdk.services.inspector2.model.ListDelegatedAdminAccountsRequest)operation.This is a convenience which creates an instance of the
ListDelegatedAdminAccountsRequest.Builderavoiding the need to create one manually viaListDelegatedAdminAccountsRequest.builder()- Parameters:
listDelegatedAdminAccountsRequest- AConsumerthat will call methods onListDelegatedAdminAccountsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listFilters
default CompletableFuture<ListFiltersResponse> listFilters(ListFiltersRequest listFiltersRequest)
Lists the filters associated with your account.
- Parameters:
listFiltersRequest-- Returns:
- A Java Future containing the result of the ListFilters operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listFilters
default CompletableFuture<ListFiltersResponse> listFilters(Consumer<ListFiltersRequest.Builder> listFiltersRequest)
Lists the filters associated with your account.
This is a convenience which creates an instance of the
ListFiltersRequest.Builderavoiding the need to create one manually viaListFiltersRequest.builder()- Parameters:
listFiltersRequest- AConsumerthat will call methods onListFiltersRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListFilters operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listFiltersPaginator
default ListFiltersPublisher listFiltersPaginator(ListFiltersRequest listFiltersRequest)
Lists the filters associated with your account.
This is a variant of
listFilters(software.amazon.awssdk.services.inspector2.model.ListFiltersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.inspector2.paginators.ListFiltersPublisher publisher = client.listFiltersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.inspector2.paginators.ListFiltersPublisher publisher = client.listFiltersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListFiltersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.inspector2.model.ListFiltersResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFilters(software.amazon.awssdk.services.inspector2.model.ListFiltersRequest)operation.- Parameters:
listFiltersRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listFiltersPaginator
default ListFiltersPublisher listFiltersPaginator(Consumer<ListFiltersRequest.Builder> listFiltersRequest)
Lists the filters associated with your account.
This is a variant of
listFilters(software.amazon.awssdk.services.inspector2.model.ListFiltersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.inspector2.paginators.ListFiltersPublisher publisher = client.listFiltersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.inspector2.paginators.ListFiltersPublisher publisher = client.listFiltersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListFiltersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.inspector2.model.ListFiltersResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFilters(software.amazon.awssdk.services.inspector2.model.ListFiltersRequest)operation.This is a convenience which creates an instance of the
ListFiltersRequest.Builderavoiding the need to create one manually viaListFiltersRequest.builder()- Parameters:
listFiltersRequest- AConsumerthat will call methods onListFiltersRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listFindingAggregations
default CompletableFuture<ListFindingAggregationsResponse> listFindingAggregations(ListFindingAggregationsRequest listFindingAggregationsRequest)
Lists aggregated finding data for your environment based on specific criteria.
- Parameters:
listFindingAggregationsRequest-- Returns:
- A Java Future containing the result of the ListFindingAggregations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listFindingAggregations
default CompletableFuture<ListFindingAggregationsResponse> listFindingAggregations(Consumer<ListFindingAggregationsRequest.Builder> listFindingAggregationsRequest)
Lists aggregated finding data for your environment based on specific criteria.
This is a convenience which creates an instance of the
ListFindingAggregationsRequest.Builderavoiding the need to create one manually viaListFindingAggregationsRequest.builder()- Parameters:
listFindingAggregationsRequest- AConsumerthat will call methods onListFindingAggregationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListFindingAggregations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listFindingAggregationsPaginator
default ListFindingAggregationsPublisher listFindingAggregationsPaginator(ListFindingAggregationsRequest listFindingAggregationsRequest)
Lists aggregated finding data for your environment based on specific criteria.
This is a variant of
listFindingAggregations(software.amazon.awssdk.services.inspector2.model.ListFindingAggregationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.inspector2.paginators.ListFindingAggregationsPublisher publisher = client.listFindingAggregationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.inspector2.paginators.ListFindingAggregationsPublisher publisher = client.listFindingAggregationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListFindingAggregationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.inspector2.model.ListFindingAggregationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFindingAggregations(software.amazon.awssdk.services.inspector2.model.ListFindingAggregationsRequest)operation.- Parameters:
listFindingAggregationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listFindingAggregationsPaginator
default ListFindingAggregationsPublisher listFindingAggregationsPaginator(Consumer<ListFindingAggregationsRequest.Builder> listFindingAggregationsRequest)
Lists aggregated finding data for your environment based on specific criteria.
This is a variant of
listFindingAggregations(software.amazon.awssdk.services.inspector2.model.ListFindingAggregationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.inspector2.paginators.ListFindingAggregationsPublisher publisher = client.listFindingAggregationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.inspector2.paginators.ListFindingAggregationsPublisher publisher = client.listFindingAggregationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListFindingAggregationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.inspector2.model.ListFindingAggregationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFindingAggregations(software.amazon.awssdk.services.inspector2.model.ListFindingAggregationsRequest)operation.This is a convenience which creates an instance of the
ListFindingAggregationsRequest.Builderavoiding the need to create one manually viaListFindingAggregationsRequest.builder()- Parameters:
listFindingAggregationsRequest- AConsumerthat will call methods onListFindingAggregationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listFindings
default CompletableFuture<ListFindingsResponse> listFindings(ListFindingsRequest listFindingsRequest)
Lists findings for your environment.
- Parameters:
listFindingsRequest-- Returns:
- A Java Future containing the result of the ListFindings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listFindings
default CompletableFuture<ListFindingsResponse> listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
Lists findings for your environment.
This is a convenience which creates an instance of the
ListFindingsRequest.Builderavoiding the need to create one manually viaListFindingsRequest.builder()- Parameters:
listFindingsRequest- AConsumerthat will call methods onListFindingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListFindings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listFindingsPaginator
default ListFindingsPublisher listFindingsPaginator(ListFindingsRequest listFindingsRequest)
Lists findings for your environment.
This is a variant of
listFindings(software.amazon.awssdk.services.inspector2.model.ListFindingsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.inspector2.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.inspector2.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListFindingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.inspector2.model.ListFindingsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFindings(software.amazon.awssdk.services.inspector2.model.ListFindingsRequest)operation.- Parameters:
listFindingsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listFindingsPaginator
default ListFindingsPublisher listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
Lists findings for your environment.
This is a variant of
listFindings(software.amazon.awssdk.services.inspector2.model.ListFindingsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.inspector2.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.inspector2.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListFindingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.inspector2.model.ListFindingsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFindings(software.amazon.awssdk.services.inspector2.model.ListFindingsRequest)operation.This is a convenience which creates an instance of the
ListFindingsRequest.Builderavoiding the need to create one manually viaListFindingsRequest.builder()- Parameters:
listFindingsRequest- AConsumerthat will call methods onListFindingsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listMembers
default CompletableFuture<ListMembersResponse> listMembers(ListMembersRequest listMembersRequest)
List members associated with the Amazon Inspector delegated administrator for your organization.
- Parameters:
listMembersRequest-- Returns:
- A Java Future containing the result of the ListMembers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listMembers
default CompletableFuture<ListMembersResponse> listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest)
List members associated with the Amazon Inspector delegated administrator for your organization.
This is a convenience which creates an instance of the
ListMembersRequest.Builderavoiding the need to create one manually viaListMembersRequest.builder()- Parameters:
listMembersRequest- AConsumerthat will call methods onListMembersRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListMembers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listMembersPaginator
default ListMembersPublisher listMembersPaginator(ListMembersRequest listMembersRequest)
List members associated with the Amazon Inspector delegated administrator for your organization.
This is a variant of
listMembers(software.amazon.awssdk.services.inspector2.model.ListMembersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.inspector2.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.inspector2.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListMembersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.inspector2.model.ListMembersResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMembers(software.amazon.awssdk.services.inspector2.model.ListMembersRequest)operation.- Parameters:
listMembersRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listMembersPaginator
default ListMembersPublisher listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest)
List members associated with the Amazon Inspector delegated administrator for your organization.
This is a variant of
listMembers(software.amazon.awssdk.services.inspector2.model.ListMembersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.inspector2.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.inspector2.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListMembersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.inspector2.model.ListMembersResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMembers(software.amazon.awssdk.services.inspector2.model.ListMembersRequest)operation.This is a convenience which creates an instance of the
ListMembersRequest.Builderavoiding the need to create one manually viaListMembersRequest.builder()- Parameters:
listMembersRequest- AConsumerthat will call methods onListMembersRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags attached to a given resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists all tags attached to a given resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listUsageTotals
default CompletableFuture<ListUsageTotalsResponse> listUsageTotals(ListUsageTotalsRequest listUsageTotalsRequest)
Lists the Amazon Inspector usage totals over the last 30 days.
- Parameters:
listUsageTotalsRequest-- Returns:
- A Java Future containing the result of the ListUsageTotals operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listUsageTotals
default CompletableFuture<ListUsageTotalsResponse> listUsageTotals(Consumer<ListUsageTotalsRequest.Builder> listUsageTotalsRequest)
Lists the Amazon Inspector usage totals over the last 30 days.
This is a convenience which creates an instance of the
ListUsageTotalsRequest.Builderavoiding the need to create one manually viaListUsageTotalsRequest.builder()- Parameters:
listUsageTotalsRequest- AConsumerthat will call methods onListUsageTotalsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListUsageTotals operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listUsageTotalsPaginator
default ListUsageTotalsPublisher listUsageTotalsPaginator(ListUsageTotalsRequest listUsageTotalsRequest)
Lists the Amazon Inspector usage totals over the last 30 days.
This is a variant of
listUsageTotals(software.amazon.awssdk.services.inspector2.model.ListUsageTotalsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.inspector2.paginators.ListUsageTotalsPublisher publisher = client.listUsageTotalsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.inspector2.paginators.ListUsageTotalsPublisher publisher = client.listUsageTotalsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListUsageTotalsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.inspector2.model.ListUsageTotalsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUsageTotals(software.amazon.awssdk.services.inspector2.model.ListUsageTotalsRequest)operation.- Parameters:
listUsageTotalsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listUsageTotalsPaginator
default ListUsageTotalsPublisher listUsageTotalsPaginator(Consumer<ListUsageTotalsRequest.Builder> listUsageTotalsRequest)
Lists the Amazon Inspector usage totals over the last 30 days.
This is a variant of
listUsageTotals(software.amazon.awssdk.services.inspector2.model.ListUsageTotalsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.inspector2.paginators.ListUsageTotalsPublisher publisher = client.listUsageTotalsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.inspector2.paginators.ListUsageTotalsPublisher publisher = client.listUsageTotalsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListUsageTotalsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.inspector2.model.ListUsageTotalsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUsageTotals(software.amazon.awssdk.services.inspector2.model.ListUsageTotalsRequest)operation.This is a convenience which creates an instance of the
ListUsageTotalsRequest.Builderavoiding the need to create one manually viaListUsageTotalsRequest.builder()- Parameters:
listUsageTotalsRequest- AConsumerthat will call methods onListUsageTotalsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
resetEncryptionKey
default CompletableFuture<ResetEncryptionKeyResponse> resetEncryptionKey(ResetEncryptionKeyRequest resetEncryptionKeyRequest)
Resets an encryption key. After the key is reset your resources will be encrypted by an Amazon Web Services owned key.
- Parameters:
resetEncryptionKeyRequest-- Returns:
- A Java Future containing the result of the ResetEncryptionKey operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
resetEncryptionKey
default CompletableFuture<ResetEncryptionKeyResponse> resetEncryptionKey(Consumer<ResetEncryptionKeyRequest.Builder> resetEncryptionKeyRequest)
Resets an encryption key. After the key is reset your resources will be encrypted by an Amazon Web Services owned key.
This is a convenience which creates an instance of the
ResetEncryptionKeyRequest.Builderavoiding the need to create one manually viaResetEncryptionKeyRequest.builder()- Parameters:
resetEncryptionKeyRequest- AConsumerthat will call methods onResetEncryptionKeyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ResetEncryptionKey operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
searchVulnerabilities
default CompletableFuture<SearchVulnerabilitiesResponse> searchVulnerabilities(SearchVulnerabilitiesRequest searchVulnerabilitiesRequest)
Lists Amazon Inspector coverage details for a specific vulnerability.
- Parameters:
searchVulnerabilitiesRequest-- Returns:
- A Java Future containing the result of the SearchVulnerabilities operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
searchVulnerabilities
default CompletableFuture<SearchVulnerabilitiesResponse> searchVulnerabilities(Consumer<SearchVulnerabilitiesRequest.Builder> searchVulnerabilitiesRequest)
Lists Amazon Inspector coverage details for a specific vulnerability.
This is a convenience which creates an instance of the
SearchVulnerabilitiesRequest.Builderavoiding the need to create one manually viaSearchVulnerabilitiesRequest.builder()- Parameters:
searchVulnerabilitiesRequest- AConsumerthat will call methods onSearchVulnerabilitiesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SearchVulnerabilities operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
searchVulnerabilitiesPaginator
default SearchVulnerabilitiesPublisher searchVulnerabilitiesPaginator(SearchVulnerabilitiesRequest searchVulnerabilitiesRequest)
Lists Amazon Inspector coverage details for a specific vulnerability.
This is a variant of
searchVulnerabilities(software.amazon.awssdk.services.inspector2.model.SearchVulnerabilitiesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.inspector2.paginators.SearchVulnerabilitiesPublisher publisher = client.searchVulnerabilitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.inspector2.paginators.SearchVulnerabilitiesPublisher publisher = client.searchVulnerabilitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.SearchVulnerabilitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.inspector2.model.SearchVulnerabilitiesResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchVulnerabilities(software.amazon.awssdk.services.inspector2.model.SearchVulnerabilitiesRequest)operation.- Parameters:
searchVulnerabilitiesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
searchVulnerabilitiesPaginator
default SearchVulnerabilitiesPublisher searchVulnerabilitiesPaginator(Consumer<SearchVulnerabilitiesRequest.Builder> searchVulnerabilitiesRequest)
Lists Amazon Inspector coverage details for a specific vulnerability.
This is a variant of
searchVulnerabilities(software.amazon.awssdk.services.inspector2.model.SearchVulnerabilitiesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.inspector2.paginators.SearchVulnerabilitiesPublisher publisher = client.searchVulnerabilitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.inspector2.paginators.SearchVulnerabilitiesPublisher publisher = client.searchVulnerabilitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.SearchVulnerabilitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.inspector2.model.SearchVulnerabilitiesResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchVulnerabilities(software.amazon.awssdk.services.inspector2.model.SearchVulnerabilitiesRequest)operation.This is a convenience which creates an instance of the
SearchVulnerabilitiesRequest.Builderavoiding the need to create one manually viaSearchVulnerabilitiesRequest.builder()- Parameters:
searchVulnerabilitiesRequest- AConsumerthat will call methods onSearchVulnerabilitiesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Adds tags to a resource.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds tags to a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateConfiguration
default CompletableFuture<UpdateConfigurationResponse> updateConfiguration(UpdateConfigurationRequest updateConfigurationRequest)
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.
- Parameters:
updateConfigurationRequest-- Returns:
- A Java Future containing the result of the UpdateConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateConfiguration
default CompletableFuture<UpdateConfigurationResponse> updateConfiguration(Consumer<UpdateConfigurationRequest.Builder> updateConfigurationRequest)
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.
This is a convenience which creates an instance of the
UpdateConfigurationRequest.Builderavoiding the need to create one manually viaUpdateConfigurationRequest.builder()- Parameters:
updateConfigurationRequest- AConsumerthat will call methods onUpdateConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateEc2DeepInspectionConfiguration
default CompletableFuture<UpdateEc2DeepInspectionConfigurationResponse> updateEc2DeepInspectionConfiguration(UpdateEc2DeepInspectionConfigurationRequest updateEc2DeepInspectionConfigurationRequest)
Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.
- Parameters:
updateEc2DeepInspectionConfigurationRequest-- Returns:
- A Java Future containing the result of the UpdateEc2DeepInspectionConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateEc2DeepInspectionConfiguration
default CompletableFuture<UpdateEc2DeepInspectionConfigurationResponse> updateEc2DeepInspectionConfiguration(Consumer<UpdateEc2DeepInspectionConfigurationRequest.Builder> updateEc2DeepInspectionConfigurationRequest)
Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.
This is a convenience which creates an instance of the
UpdateEc2DeepInspectionConfigurationRequest.Builderavoiding the need to create one manually viaUpdateEc2DeepInspectionConfigurationRequest.builder()- Parameters:
updateEc2DeepInspectionConfigurationRequest- AConsumerthat will call methods onUpdateEc2DeepInspectionConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateEc2DeepInspectionConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateEncryptionKey
default CompletableFuture<UpdateEncryptionKeyResponse> updateEncryptionKey(UpdateEncryptionKeyRequest updateEncryptionKeyRequest)
Updates an encryption key. A
ResourceNotFoundExceptionmeans that an AWS owned key is being used for encryption.- Parameters:
updateEncryptionKeyRequest-- Returns:
- A Java Future containing the result of the UpdateEncryptionKey operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateEncryptionKey
default CompletableFuture<UpdateEncryptionKeyResponse> updateEncryptionKey(Consumer<UpdateEncryptionKeyRequest.Builder> updateEncryptionKeyRequest)
Updates an encryption key. A
ResourceNotFoundExceptionmeans that an AWS owned key is being used for encryption.
This is a convenience which creates an instance of the
UpdateEncryptionKeyRequest.Builderavoiding the need to create one manually viaUpdateEncryptionKeyRequest.builder()- Parameters:
updateEncryptionKeyRequest- AConsumerthat will call methods onUpdateEncryptionKeyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateEncryptionKey operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateFilter
default CompletableFuture<UpdateFilterResponse> updateFilter(UpdateFilterRequest updateFilterRequest)
Specifies the action that is to be applied to the findings that match the filter.
- Parameters:
updateFilterRequest-- Returns:
- A Java Future containing the result of the UpdateFilter operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateFilter
default CompletableFuture<UpdateFilterResponse> updateFilter(Consumer<UpdateFilterRequest.Builder> updateFilterRequest)
Specifies the action that is to be applied to the findings that match the filter.
This is a convenience which creates an instance of the
UpdateFilterRequest.Builderavoiding the need to create one manually viaUpdateFilterRequest.builder()- Parameters:
updateFilterRequest- AConsumerthat will call methods onUpdateFilterRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateFilter operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateOrgEc2DeepInspectionConfiguration
default CompletableFuture<UpdateOrgEc2DeepInspectionConfigurationResponse> updateOrgEc2DeepInspectionConfiguration(UpdateOrgEc2DeepInspectionConfigurationRequest updateOrgEc2DeepInspectionConfigurationRequest)
Updates the Amazon Inspector deep inspection custom paths for your organization. You must be an Amazon Inspector delegated administrator to use this API.
- Parameters:
updateOrgEc2DeepInspectionConfigurationRequest-- Returns:
- A Java Future containing the result of the UpdateOrgEc2DeepInspectionConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateOrgEc2DeepInspectionConfiguration
default CompletableFuture<UpdateOrgEc2DeepInspectionConfigurationResponse> updateOrgEc2DeepInspectionConfiguration(Consumer<UpdateOrgEc2DeepInspectionConfigurationRequest.Builder> updateOrgEc2DeepInspectionConfigurationRequest)
Updates the Amazon Inspector deep inspection custom paths for your organization. You must be an Amazon Inspector delegated administrator to use this API.
This is a convenience which creates an instance of the
UpdateOrgEc2DeepInspectionConfigurationRequest.Builderavoiding the need to create one manually viaUpdateOrgEc2DeepInspectionConfigurationRequest.builder()- Parameters:
updateOrgEc2DeepInspectionConfigurationRequest- AConsumerthat will call methods onUpdateOrgEc2DeepInspectionConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateOrgEc2DeepInspectionConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateOrganizationConfiguration
default CompletableFuture<UpdateOrganizationConfigurationResponse> updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest)
Updates the configurations for your Amazon Inspector organization.
- Parameters:
updateOrganizationConfigurationRequest-- Returns:
- A Java Future containing the result of the UpdateOrganizationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateOrganizationConfiguration
default CompletableFuture<UpdateOrganizationConfigurationResponse> updateOrganizationConfiguration(Consumer<UpdateOrganizationConfigurationRequest.Builder> updateOrganizationConfigurationRequest)
Updates the configurations for your Amazon Inspector organization.
This is a convenience which creates an instance of the
UpdateOrganizationConfigurationRequest.Builderavoiding the need to create one manually viaUpdateOrganizationConfigurationRequest.builder()- Parameters:
updateOrganizationConfigurationRequest- AConsumerthat will call methods onUpdateOrganizationConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateOrganizationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Inspector2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
serviceClientConfiguration
default Inspector2ServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
create
static Inspector2AsyncClient create()
Create aInspector2AsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static Inspector2AsyncClientBuilder builder()
Create a builder that can be used to configure and create aInspector2AsyncClient.
-
-