Interface Inspector2Client
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() 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
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault AssociateMemberResponseassociateMember(Consumer<AssociateMemberRequest.Builder> associateMemberRequest) Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.default AssociateMemberResponseassociateMember(AssociateMemberRequest associateMemberRequest) Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.batchAssociateCodeSecurityScanConfiguration(Consumer<BatchAssociateCodeSecurityScanConfigurationRequest.Builder> batchAssociateCodeSecurityScanConfigurationRequest) Associates multiple code repositories with an Amazon Inspector code security scan configuration.batchAssociateCodeSecurityScanConfiguration(BatchAssociateCodeSecurityScanConfigurationRequest batchAssociateCodeSecurityScanConfigurationRequest) Associates multiple code repositories with an Amazon Inspector code security scan configuration.batchDisassociateCodeSecurityScanConfiguration(Consumer<BatchDisassociateCodeSecurityScanConfigurationRequest.Builder> batchDisassociateCodeSecurityScanConfigurationRequest) Disassociates multiple code repositories from an Amazon Inspector code security scan configuration.batchDisassociateCodeSecurityScanConfiguration(BatchDisassociateCodeSecurityScanConfigurationRequest batchDisassociateCodeSecurityScanConfigurationRequest) Disassociates multiple code repositories from an Amazon Inspector code security scan configuration.default BatchGetAccountStatusResponsebatchGetAccountStatus(Consumer<BatchGetAccountStatusRequest.Builder> batchGetAccountStatusRequest) Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.default BatchGetAccountStatusResponsebatchGetAccountStatus(BatchGetAccountStatusRequest batchGetAccountStatusRequest) Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.default BatchGetCodeSnippetResponsebatchGetCodeSnippet(Consumer<BatchGetCodeSnippetRequest.Builder> batchGetCodeSnippetRequest) Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.default BatchGetCodeSnippetResponsebatchGetCodeSnippet(BatchGetCodeSnippetRequest batchGetCodeSnippetRequest) Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.default BatchGetFindingDetailsResponsebatchGetFindingDetails(Consumer<BatchGetFindingDetailsRequest.Builder> batchGetFindingDetailsRequest) Gets vulnerability details for findings.default BatchGetFindingDetailsResponsebatchGetFindingDetails(BatchGetFindingDetailsRequest batchGetFindingDetailsRequest) Gets vulnerability details for findings.default BatchGetFreeTrialInfoResponsebatchGetFreeTrialInfo(Consumer<BatchGetFreeTrialInfoRequest.Builder> batchGetFreeTrialInfoRequest) Gets free trial status for multiple Amazon Web Services accounts.default BatchGetFreeTrialInfoResponsebatchGetFreeTrialInfo(BatchGetFreeTrialInfoRequest batchGetFreeTrialInfoRequest) Gets free trial status for multiple Amazon Web Services accounts.batchGetMemberEc2DeepInspectionStatus(Consumer<BatchGetMemberEc2DeepInspectionStatusRequest.Builder> batchGetMemberEc2DeepInspectionStatusRequest) Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within your organization.batchGetMemberEc2DeepInspectionStatus(BatchGetMemberEc2DeepInspectionStatusRequest batchGetMemberEc2DeepInspectionStatusRequest) Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within your organization.batchUpdateMemberEc2DeepInspectionStatus(Consumer<BatchUpdateMemberEc2DeepInspectionStatusRequest.Builder> batchUpdateMemberEc2DeepInspectionStatusRequest) Activates or deactivates Amazon Inspector deep inspection for the provided member accounts in your organization.batchUpdateMemberEc2DeepInspectionStatus(BatchUpdateMemberEc2DeepInspectionStatusRequest batchUpdateMemberEc2DeepInspectionStatusRequest) Activates or deactivates Amazon Inspector deep inspection for the provided member accounts in your organization.static Inspector2ClientBuilderbuilder()Create a builder that can be used to configure and create aInspector2Client.default CancelFindingsReportResponsecancelFindingsReport(Consumer<CancelFindingsReportRequest.Builder> cancelFindingsReportRequest) Cancels the given findings report.default CancelFindingsReportResponsecancelFindingsReport(CancelFindingsReportRequest cancelFindingsReportRequest) Cancels the given findings report.default CancelSbomExportResponsecancelSbomExport(Consumer<CancelSbomExportRequest.Builder> cancelSbomExportRequest) Cancels a software bill of materials (SBOM) report.default CancelSbomExportResponsecancelSbomExport(CancelSbomExportRequest cancelSbomExportRequest) Cancels a software bill of materials (SBOM) report.static Inspector2Clientcreate()Create aInspector2Clientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createCisScanConfiguration(Consumer<CreateCisScanConfigurationRequest.Builder> createCisScanConfigurationRequest) Creates a CIS scan configuration.createCisScanConfiguration(CreateCisScanConfigurationRequest createCisScanConfigurationRequest) Creates a CIS scan configuration.createCodeSecurityIntegration(Consumer<CreateCodeSecurityIntegrationRequest.Builder> createCodeSecurityIntegrationRequest) Creates a code security integration with a source code repository provider.createCodeSecurityIntegration(CreateCodeSecurityIntegrationRequest createCodeSecurityIntegrationRequest) Creates a code security integration with a source code repository provider.createCodeSecurityScanConfiguration(Consumer<CreateCodeSecurityScanConfigurationRequest.Builder> createCodeSecurityScanConfigurationRequest) Creates a scan configuration for code security scanning.createCodeSecurityScanConfiguration(CreateCodeSecurityScanConfigurationRequest createCodeSecurityScanConfigurationRequest) Creates a scan configuration for code security scanning.default CreateFilterResponsecreateFilter(Consumer<CreateFilterRequest.Builder> createFilterRequest) Creates a filter resource using specified filter criteria.default CreateFilterResponsecreateFilter(CreateFilterRequest createFilterRequest) Creates a filter resource using specified filter criteria.default CreateFindingsReportResponsecreateFindingsReport(Consumer<CreateFindingsReportRequest.Builder> createFindingsReportRequest) Creates a finding report.default CreateFindingsReportResponsecreateFindingsReport(CreateFindingsReportRequest createFindingsReportRequest) Creates a finding report.default CreateSbomExportResponsecreateSbomExport(Consumer<CreateSbomExportRequest.Builder> createSbomExportRequest) Creates a software bill of materials (SBOM) report.default CreateSbomExportResponsecreateSbomExport(CreateSbomExportRequest createSbomExportRequest) Creates a software bill of materials (SBOM) report.deleteCisScanConfiguration(Consumer<DeleteCisScanConfigurationRequest.Builder> deleteCisScanConfigurationRequest) Deletes a CIS scan configuration.deleteCisScanConfiguration(DeleteCisScanConfigurationRequest deleteCisScanConfigurationRequest) Deletes a CIS scan configuration.deleteCodeSecurityIntegration(Consumer<DeleteCodeSecurityIntegrationRequest.Builder> deleteCodeSecurityIntegrationRequest) Deletes a code security integration.deleteCodeSecurityIntegration(DeleteCodeSecurityIntegrationRequest deleteCodeSecurityIntegrationRequest) Deletes a code security integration.deleteCodeSecurityScanConfiguration(Consumer<DeleteCodeSecurityScanConfigurationRequest.Builder> deleteCodeSecurityScanConfigurationRequest) Deletes a code security scan configuration.deleteCodeSecurityScanConfiguration(DeleteCodeSecurityScanConfigurationRequest deleteCodeSecurityScanConfigurationRequest) Deletes a code security scan configuration.default DeleteFilterResponsedeleteFilter(Consumer<DeleteFilterRequest.Builder> deleteFilterRequest) Deletes a filter resource.default DeleteFilterResponsedeleteFilter(DeleteFilterRequest deleteFilterRequest) Deletes a filter resource.describeOrganizationConfiguration(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest) Describe Amazon Inspector configuration settings for an Amazon Web Services organization.describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest) Describe Amazon Inspector configuration settings for an Amazon Web Services organization.default DisableResponsedisable(Consumer<DisableRequest.Builder> disableRequest) Disables Amazon Inspector scans for one or more Amazon Web Services accounts.default DisableResponsedisable(DisableRequest disableRequest) Disables Amazon Inspector scans for one or more Amazon Web Services accounts.disableDelegatedAdminAccount(Consumer<DisableDelegatedAdminAccountRequest.Builder> disableDelegatedAdminAccountRequest) Disables the Amazon Inspector delegated administrator for your organization.disableDelegatedAdminAccount(DisableDelegatedAdminAccountRequest disableDelegatedAdminAccountRequest) Disables the Amazon Inspector delegated administrator for your organization.default DisassociateMemberResponsedisassociateMember(Consumer<DisassociateMemberRequest.Builder> disassociateMemberRequest) Disassociates a member account from an Amazon Inspector delegated administrator.default DisassociateMemberResponsedisassociateMember(DisassociateMemberRequest disassociateMemberRequest) Disassociates a member account from an Amazon Inspector delegated administrator.default EnableResponseenable(Consumer<EnableRequest.Builder> enableRequest) Enables Amazon Inspector scans for one or more Amazon Web Services accounts.default EnableResponseenable(EnableRequest enableRequest) Enables Amazon Inspector scans for one or more Amazon Web Services accounts.enableDelegatedAdminAccount(Consumer<EnableDelegatedAdminAccountRequest.Builder> enableDelegatedAdminAccountRequest) Enables the Amazon Inspector delegated administrator for your Organizations organization.enableDelegatedAdminAccount(EnableDelegatedAdminAccountRequest enableDelegatedAdminAccountRequest) Enables the Amazon Inspector delegated administrator for your Organizations organization.default GetCisScanReportResponsegetCisScanReport(Consumer<GetCisScanReportRequest.Builder> getCisScanReportRequest) Retrieves a CIS scan report.default GetCisScanReportResponsegetCisScanReport(GetCisScanReportRequest getCisScanReportRequest) Retrieves a CIS scan report.default GetCisScanResultDetailsResponsegetCisScanResultDetails(Consumer<GetCisScanResultDetailsRequest.Builder> getCisScanResultDetailsRequest) Retrieves CIS scan result details.default GetCisScanResultDetailsResponsegetCisScanResultDetails(GetCisScanResultDetailsRequest getCisScanResultDetailsRequest) Retrieves CIS scan result details.default GetCisScanResultDetailsIterablegetCisScanResultDetailsPaginator(Consumer<GetCisScanResultDetailsRequest.Builder> getCisScanResultDetailsRequest) This is a variant ofgetCisScanResultDetails(software.amazon.awssdk.services.inspector2.model.GetCisScanResultDetailsRequest)operation.default GetCisScanResultDetailsIterablegetCisScanResultDetailsPaginator(GetCisScanResultDetailsRequest getCisScanResultDetailsRequest) This is a variant ofgetCisScanResultDetails(software.amazon.awssdk.services.inspector2.model.GetCisScanResultDetailsRequest)operation.default GetClustersForImageResponsegetClustersForImage(Consumer<GetClustersForImageRequest.Builder> getClustersForImageRequest) Returns a list of clusters and metadata associated with an image.default GetClustersForImageResponsegetClustersForImage(GetClustersForImageRequest getClustersForImageRequest) Returns a list of clusters and metadata associated with an image.default GetClustersForImageIterablegetClustersForImagePaginator(Consumer<GetClustersForImageRequest.Builder> getClustersForImageRequest) This is a variant ofgetClustersForImage(software.amazon.awssdk.services.inspector2.model.GetClustersForImageRequest)operation.default GetClustersForImageIterablegetClustersForImagePaginator(GetClustersForImageRequest getClustersForImageRequest) This is a variant ofgetClustersForImage(software.amazon.awssdk.services.inspector2.model.GetClustersForImageRequest)operation.getCodeSecurityIntegration(Consumer<GetCodeSecurityIntegrationRequest.Builder> getCodeSecurityIntegrationRequest) Retrieves information about a code security integration.getCodeSecurityIntegration(GetCodeSecurityIntegrationRequest getCodeSecurityIntegrationRequest) Retrieves information about a code security integration.default GetCodeSecurityScanResponsegetCodeSecurityScan(Consumer<GetCodeSecurityScanRequest.Builder> getCodeSecurityScanRequest) Retrieves information about a specific code security scan.default GetCodeSecurityScanResponsegetCodeSecurityScan(GetCodeSecurityScanRequest getCodeSecurityScanRequest) Retrieves information about a specific code security scan.getCodeSecurityScanConfiguration(Consumer<GetCodeSecurityScanConfigurationRequest.Builder> getCodeSecurityScanConfigurationRequest) Retrieves information about a code security scan configuration.getCodeSecurityScanConfiguration(GetCodeSecurityScanConfigurationRequest getCodeSecurityScanConfigurationRequest) Retrieves information about a code security scan configuration.default GetConfigurationResponsegetConfiguration(Consumer<GetConfigurationRequest.Builder> getConfigurationRequest) Retrieves setting configurations for Inspector scans.default GetConfigurationResponsegetConfiguration(GetConfigurationRequest getConfigurationRequest) Retrieves setting configurations for Inspector scans.default GetDelegatedAdminAccountResponsegetDelegatedAdminAccount(Consumer<GetDelegatedAdminAccountRequest.Builder> getDelegatedAdminAccountRequest) Retrieves information about the Amazon Inspector delegated administrator for your organization.default GetDelegatedAdminAccountResponsegetDelegatedAdminAccount(GetDelegatedAdminAccountRequest getDelegatedAdminAccountRequest) Retrieves information about the Amazon Inspector delegated administrator for your organization.getEc2DeepInspectionConfiguration(Consumer<GetEc2DeepInspectionConfigurationRequest.Builder> getEc2DeepInspectionConfigurationRequest) Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.getEc2DeepInspectionConfiguration(GetEc2DeepInspectionConfigurationRequest getEc2DeepInspectionConfigurationRequest) Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.default GetEncryptionKeyResponsegetEncryptionKey(Consumer<GetEncryptionKeyRequest.Builder> getEncryptionKeyRequest) Gets an encryption key.default GetEncryptionKeyResponsegetEncryptionKey(GetEncryptionKeyRequest getEncryptionKeyRequest) Gets an encryption key.default GetFindingsReportStatusResponsegetFindingsReportStatus(Consumer<GetFindingsReportStatusRequest.Builder> getFindingsReportStatusRequest) Gets the status of a findings report.default GetFindingsReportStatusResponsegetFindingsReportStatus(GetFindingsReportStatusRequest getFindingsReportStatusRequest) Gets the status of a findings report.default GetMemberResponsegetMember(Consumer<GetMemberRequest.Builder> getMemberRequest) Gets member information for your organization.default GetMemberResponsegetMember(GetMemberRequest getMemberRequest) Gets member information for your organization.default GetSbomExportResponsegetSbomExport(Consumer<GetSbomExportRequest.Builder> getSbomExportRequest) Gets details of a software bill of materials (SBOM) report.default GetSbomExportResponsegetSbomExport(GetSbomExportRequest getSbomExportRequest) Gets details of a software bill of materials (SBOM) report.default ListAccountPermissionsResponselistAccountPermissions(Consumer<ListAccountPermissionsRequest.Builder> listAccountPermissionsRequest) Lists the permissions an account has to configure Amazon Inspector.default ListAccountPermissionsResponselistAccountPermissions(ListAccountPermissionsRequest listAccountPermissionsRequest) Lists the permissions an account has to configure Amazon Inspector.default ListAccountPermissionsIterablelistAccountPermissionsPaginator(Consumer<ListAccountPermissionsRequest.Builder> listAccountPermissionsRequest) This is a variant oflistAccountPermissions(software.amazon.awssdk.services.inspector2.model.ListAccountPermissionsRequest)operation.default ListAccountPermissionsIterablelistAccountPermissionsPaginator(ListAccountPermissionsRequest listAccountPermissionsRequest) This is a variant oflistAccountPermissions(software.amazon.awssdk.services.inspector2.model.ListAccountPermissionsRequest)operation.listCisScanConfigurations(Consumer<ListCisScanConfigurationsRequest.Builder> listCisScanConfigurationsRequest) Lists CIS scan configurations.listCisScanConfigurations(ListCisScanConfigurationsRequest listCisScanConfigurationsRequest) Lists CIS scan configurations.listCisScanConfigurationsPaginator(Consumer<ListCisScanConfigurationsRequest.Builder> listCisScanConfigurationsRequest) This is a variant oflistCisScanConfigurations(software.amazon.awssdk.services.inspector2.model.ListCisScanConfigurationsRequest)operation.listCisScanConfigurationsPaginator(ListCisScanConfigurationsRequest listCisScanConfigurationsRequest) This is a variant oflistCisScanConfigurations(software.amazon.awssdk.services.inspector2.model.ListCisScanConfigurationsRequest)operation.listCisScanResultsAggregatedByChecks(Consumer<ListCisScanResultsAggregatedByChecksRequest.Builder> listCisScanResultsAggregatedByChecksRequest) Lists scan results aggregated by checks.listCisScanResultsAggregatedByChecks(ListCisScanResultsAggregatedByChecksRequest listCisScanResultsAggregatedByChecksRequest) Lists scan results aggregated by checks.listCisScanResultsAggregatedByChecksPaginator(Consumer<ListCisScanResultsAggregatedByChecksRequest.Builder> listCisScanResultsAggregatedByChecksRequest) listCisScanResultsAggregatedByChecksPaginator(ListCisScanResultsAggregatedByChecksRequest listCisScanResultsAggregatedByChecksRequest) listCisScanResultsAggregatedByTargetResource(Consumer<ListCisScanResultsAggregatedByTargetResourceRequest.Builder> listCisScanResultsAggregatedByTargetResourceRequest) Lists scan results aggregated by a target resource.listCisScanResultsAggregatedByTargetResource(ListCisScanResultsAggregatedByTargetResourceRequest listCisScanResultsAggregatedByTargetResourceRequest) Lists scan results aggregated by a target resource.listCisScanResultsAggregatedByTargetResourcePaginator(Consumer<ListCisScanResultsAggregatedByTargetResourceRequest.Builder> listCisScanResultsAggregatedByTargetResourceRequest) listCisScanResultsAggregatedByTargetResourcePaginator(ListCisScanResultsAggregatedByTargetResourceRequest listCisScanResultsAggregatedByTargetResourceRequest) default ListCisScansResponselistCisScans(Consumer<ListCisScansRequest.Builder> listCisScansRequest) Returns a CIS scan list.default ListCisScansResponselistCisScans(ListCisScansRequest listCisScansRequest) Returns a CIS scan list.default ListCisScansIterablelistCisScansPaginator(Consumer<ListCisScansRequest.Builder> listCisScansRequest) This is a variant oflistCisScans(software.amazon.awssdk.services.inspector2.model.ListCisScansRequest)operation.default ListCisScansIterablelistCisScansPaginator(ListCisScansRequest listCisScansRequest) This is a variant oflistCisScans(software.amazon.awssdk.services.inspector2.model.ListCisScansRequest)operation.listCodeSecurityIntegrations(Consumer<ListCodeSecurityIntegrationsRequest.Builder> listCodeSecurityIntegrationsRequest) Lists all code security integrations in your account.listCodeSecurityIntegrations(ListCodeSecurityIntegrationsRequest listCodeSecurityIntegrationsRequest) Lists all code security integrations in your account.listCodeSecurityScanConfigurationAssociations(Consumer<ListCodeSecurityScanConfigurationAssociationsRequest.Builder> listCodeSecurityScanConfigurationAssociationsRequest) Lists the associations between code repositories and Amazon Inspector code security scan configurations.listCodeSecurityScanConfigurationAssociations(ListCodeSecurityScanConfigurationAssociationsRequest listCodeSecurityScanConfigurationAssociationsRequest) Lists the associations between code repositories and Amazon Inspector code security scan configurations.listCodeSecurityScanConfigurations(Consumer<ListCodeSecurityScanConfigurationsRequest.Builder> listCodeSecurityScanConfigurationsRequest) Lists all code security scan configurations in your account.listCodeSecurityScanConfigurations(ListCodeSecurityScanConfigurationsRequest listCodeSecurityScanConfigurationsRequest) Lists all code security scan configurations in your account.default ListCoverageResponselistCoverage(Consumer<ListCoverageRequest.Builder> listCoverageRequest) Lists coverage details for your environment.default ListCoverageResponselistCoverage(ListCoverageRequest listCoverageRequest) Lists coverage details for your environment.default ListCoverageIterablelistCoveragePaginator(Consumer<ListCoverageRequest.Builder> listCoverageRequest) This is a variant oflistCoverage(software.amazon.awssdk.services.inspector2.model.ListCoverageRequest)operation.default ListCoverageIterablelistCoveragePaginator(ListCoverageRequest listCoverageRequest) This is a variant oflistCoverage(software.amazon.awssdk.services.inspector2.model.ListCoverageRequest)operation.default ListCoverageStatisticsResponselistCoverageStatistics(Consumer<ListCoverageStatisticsRequest.Builder> listCoverageStatisticsRequest) Lists Amazon Inspector coverage statistics for your environment.default ListCoverageStatisticsResponselistCoverageStatistics(ListCoverageStatisticsRequest listCoverageStatisticsRequest) Lists Amazon Inspector coverage statistics for your environment.default ListCoverageStatisticsIterablelistCoverageStatisticsPaginator(Consumer<ListCoverageStatisticsRequest.Builder> listCoverageStatisticsRequest) This is a variant oflistCoverageStatistics(software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsRequest)operation.default ListCoverageStatisticsIterablelistCoverageStatisticsPaginator(ListCoverageStatisticsRequest listCoverageStatisticsRequest) This is a variant oflistCoverageStatistics(software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsRequest)operation.listDelegatedAdminAccounts(Consumer<ListDelegatedAdminAccountsRequest.Builder> listDelegatedAdminAccountsRequest) Lists information about the Amazon Inspector delegated administrator of your organization.listDelegatedAdminAccounts(ListDelegatedAdminAccountsRequest listDelegatedAdminAccountsRequest) Lists information about the Amazon Inspector delegated administrator of your organization.listDelegatedAdminAccountsPaginator(Consumer<ListDelegatedAdminAccountsRequest.Builder> listDelegatedAdminAccountsRequest) This is a variant oflistDelegatedAdminAccounts(software.amazon.awssdk.services.inspector2.model.ListDelegatedAdminAccountsRequest)operation.listDelegatedAdminAccountsPaginator(ListDelegatedAdminAccountsRequest listDelegatedAdminAccountsRequest) This is a variant oflistDelegatedAdminAccounts(software.amazon.awssdk.services.inspector2.model.ListDelegatedAdminAccountsRequest)operation.default ListFiltersResponselistFilters(Consumer<ListFiltersRequest.Builder> listFiltersRequest) Lists the filters associated with your account.default ListFiltersResponselistFilters(ListFiltersRequest listFiltersRequest) Lists the filters associated with your account.default ListFiltersIterablelistFiltersPaginator(Consumer<ListFiltersRequest.Builder> listFiltersRequest) This is a variant oflistFilters(software.amazon.awssdk.services.inspector2.model.ListFiltersRequest)operation.default ListFiltersIterablelistFiltersPaginator(ListFiltersRequest listFiltersRequest) This is a variant oflistFilters(software.amazon.awssdk.services.inspector2.model.ListFiltersRequest)operation.default ListFindingAggregationsResponselistFindingAggregations(Consumer<ListFindingAggregationsRequest.Builder> listFindingAggregationsRequest) Lists aggregated finding data for your environment based on specific criteria.default ListFindingAggregationsResponselistFindingAggregations(ListFindingAggregationsRequest listFindingAggregationsRequest) Lists aggregated finding data for your environment based on specific criteria.default ListFindingAggregationsIterablelistFindingAggregationsPaginator(Consumer<ListFindingAggregationsRequest.Builder> listFindingAggregationsRequest) This is a variant oflistFindingAggregations(software.amazon.awssdk.services.inspector2.model.ListFindingAggregationsRequest)operation.default ListFindingAggregationsIterablelistFindingAggregationsPaginator(ListFindingAggregationsRequest listFindingAggregationsRequest) This is a variant oflistFindingAggregations(software.amazon.awssdk.services.inspector2.model.ListFindingAggregationsRequest)operation.default ListFindingsResponselistFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest) Lists findings for your environment.default ListFindingsResponselistFindings(ListFindingsRequest listFindingsRequest) Lists findings for your environment.default ListFindingsIterablelistFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest) This is a variant oflistFindings(software.amazon.awssdk.services.inspector2.model.ListFindingsRequest)operation.default ListFindingsIterablelistFindingsPaginator(ListFindingsRequest listFindingsRequest) This is a variant oflistFindings(software.amazon.awssdk.services.inspector2.model.ListFindingsRequest)operation.default ListMembersResponselistMembers(Consumer<ListMembersRequest.Builder> listMembersRequest) List members associated with the Amazon Inspector delegated administrator for your organization.default ListMembersResponselistMembers(ListMembersRequest listMembersRequest) List members associated with the Amazon Inspector delegated administrator for your organization.default ListMembersIterablelistMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest) This is a variant oflistMembers(software.amazon.awssdk.services.inspector2.model.ListMembersRequest)operation.default ListMembersIterablelistMembersPaginator(ListMembersRequest listMembersRequest) This is a variant oflistMembers(software.amazon.awssdk.services.inspector2.model.ListMembersRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all tags attached to a given resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists all tags attached to a given resource.default ListUsageTotalsResponselistUsageTotals(Consumer<ListUsageTotalsRequest.Builder> listUsageTotalsRequest) Lists the Amazon Inspector usage totals over the last 30 days.default ListUsageTotalsResponselistUsageTotals(ListUsageTotalsRequest listUsageTotalsRequest) Lists the Amazon Inspector usage totals over the last 30 days.default ListUsageTotalsIterablelistUsageTotalsPaginator(Consumer<ListUsageTotalsRequest.Builder> listUsageTotalsRequest) This is a variant oflistUsageTotals(software.amazon.awssdk.services.inspector2.model.ListUsageTotalsRequest)operation.default ListUsageTotalsIterablelistUsageTotalsPaginator(ListUsageTotalsRequest listUsageTotalsRequest) This is a variant oflistUsageTotals(software.amazon.awssdk.services.inspector2.model.ListUsageTotalsRequest)operation.default ResetEncryptionKeyResponseresetEncryptionKey(Consumer<ResetEncryptionKeyRequest.Builder> resetEncryptionKeyRequest) Resets an encryption key.default ResetEncryptionKeyResponseresetEncryptionKey(ResetEncryptionKeyRequest resetEncryptionKeyRequest) Resets an encryption key.default SearchVulnerabilitiesResponsesearchVulnerabilities(Consumer<SearchVulnerabilitiesRequest.Builder> searchVulnerabilitiesRequest) Lists Amazon Inspector coverage details for a specific vulnerability.default SearchVulnerabilitiesResponsesearchVulnerabilities(SearchVulnerabilitiesRequest searchVulnerabilitiesRequest) Lists Amazon Inspector coverage details for a specific vulnerability.default SearchVulnerabilitiesIterablesearchVulnerabilitiesPaginator(Consumer<SearchVulnerabilitiesRequest.Builder> searchVulnerabilitiesRequest) This is a variant ofsearchVulnerabilities(software.amazon.awssdk.services.inspector2.model.SearchVulnerabilitiesRequest)operation.default SearchVulnerabilitiesIterablesearchVulnerabilitiesPaginator(SearchVulnerabilitiesRequest searchVulnerabilitiesRequest) This is a variant ofsearchVulnerabilities(software.amazon.awssdk.services.inspector2.model.SearchVulnerabilitiesRequest)operation.default SendCisSessionHealthResponsesendCisSessionHealth(Consumer<SendCisSessionHealthRequest.Builder> sendCisSessionHealthRequest) Sends a CIS session health.default SendCisSessionHealthResponsesendCisSessionHealth(SendCisSessionHealthRequest sendCisSessionHealthRequest) Sends a CIS session health.default SendCisSessionTelemetryResponsesendCisSessionTelemetry(Consumer<SendCisSessionTelemetryRequest.Builder> sendCisSessionTelemetryRequest) Sends a CIS session telemetry.default SendCisSessionTelemetryResponsesendCisSessionTelemetry(SendCisSessionTelemetryRequest sendCisSessionTelemetryRequest) Sends a CIS session telemetry.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault StartCisSessionResponsestartCisSession(Consumer<StartCisSessionRequest.Builder> startCisSessionRequest) Starts a CIS session.default StartCisSessionResponsestartCisSession(StartCisSessionRequest startCisSessionRequest) Starts a CIS session.default StartCodeSecurityScanResponsestartCodeSecurityScan(Consumer<StartCodeSecurityScanRequest.Builder> startCodeSecurityScanRequest) Initiates a code security scan on a specified repository.default StartCodeSecurityScanResponsestartCodeSecurityScan(StartCodeSecurityScanRequest startCodeSecurityScanRequest) Initiates a code security scan on a specified repository.default StopCisSessionResponsestopCisSession(Consumer<StopCisSessionRequest.Builder> stopCisSessionRequest) Stops a CIS session.default StopCisSessionResponsestopCisSession(StopCisSessionRequest stopCisSessionRequest) Stops a CIS session.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to a resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds tags to a resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes tags from a resource.updateCisScanConfiguration(Consumer<UpdateCisScanConfigurationRequest.Builder> updateCisScanConfigurationRequest) Updates a CIS scan configuration.updateCisScanConfiguration(UpdateCisScanConfigurationRequest updateCisScanConfigurationRequest) Updates a CIS scan configuration.updateCodeSecurityIntegration(Consumer<UpdateCodeSecurityIntegrationRequest.Builder> updateCodeSecurityIntegrationRequest) Updates an existing code security integration.updateCodeSecurityIntegration(UpdateCodeSecurityIntegrationRequest updateCodeSecurityIntegrationRequest) Updates an existing code security integration.updateCodeSecurityScanConfiguration(Consumer<UpdateCodeSecurityScanConfigurationRequest.Builder> updateCodeSecurityScanConfigurationRequest) Updates an existing code security scan configuration.updateCodeSecurityScanConfiguration(UpdateCodeSecurityScanConfigurationRequest updateCodeSecurityScanConfigurationRequest) Updates an existing code security scan configuration.default UpdateConfigurationResponseupdateConfiguration(Consumer<UpdateConfigurationRequest.Builder> updateConfigurationRequest) Updates setting configurations for your Amazon Inspector account.default UpdateConfigurationResponseupdateConfiguration(UpdateConfigurationRequest updateConfigurationRequest) Updates setting configurations for your Amazon Inspector account.updateEc2DeepInspectionConfiguration(Consumer<UpdateEc2DeepInspectionConfigurationRequest.Builder> updateEc2DeepInspectionConfigurationRequest) Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.updateEc2DeepInspectionConfiguration(UpdateEc2DeepInspectionConfigurationRequest updateEc2DeepInspectionConfigurationRequest) Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.default UpdateEncryptionKeyResponseupdateEncryptionKey(Consumer<UpdateEncryptionKeyRequest.Builder> updateEncryptionKeyRequest) Updates an encryption key.default UpdateEncryptionKeyResponseupdateEncryptionKey(UpdateEncryptionKeyRequest updateEncryptionKeyRequest) Updates an encryption key.default UpdateFilterResponseupdateFilter(Consumer<UpdateFilterRequest.Builder> updateFilterRequest) Specifies the action that is to be applied to the findings that match the filter.default UpdateFilterResponseupdateFilter(UpdateFilterRequest updateFilterRequest) Specifies the action that is to be applied to the findings that match the filter.updateOrganizationConfiguration(Consumer<UpdateOrganizationConfigurationRequest.Builder> updateOrganizationConfigurationRequest) Updates the configurations for your Amazon Inspector organization.updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest) Updates the configurations for your Amazon Inspector organization.updateOrgEc2DeepInspectionConfiguration(Consumer<UpdateOrgEc2DeepInspectionConfigurationRequest.Builder> updateOrgEc2DeepInspectionConfigurationRequest) Updates the Amazon Inspector deep inspection custom paths for your organization.updateOrgEc2DeepInspectionConfiguration(UpdateOrgEc2DeepInspectionConfigurationRequest updateOrgEc2DeepInspectionConfigurationRequest) Updates the Amazon Inspector deep inspection custom paths for your organization.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
associateMember
default AssociateMemberResponse associateMember(AssociateMemberRequest associateMemberRequest) throws ServiceQuotaExceededException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the AssociateMember operation returned by the service.
- See Also:
-
associateMember
default AssociateMemberResponse associateMember(Consumer<AssociateMemberRequest.Builder> associateMemberRequest) throws ServiceQuotaExceededException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the AssociateMember operation returned by the service.
- See Also:
-
batchAssociateCodeSecurityScanConfiguration
default BatchAssociateCodeSecurityScanConfigurationResponse batchAssociateCodeSecurityScanConfiguration(BatchAssociateCodeSecurityScanConfigurationRequest batchAssociateCodeSecurityScanConfigurationRequest) throws ConflictException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Associates multiple code repositories with an Amazon Inspector code security scan configuration.
- Parameters:
batchAssociateCodeSecurityScanConfigurationRequest-- Returns:
- Result of the BatchAssociateCodeSecurityScanConfiguration operation returned by the service.
- See Also:
-
batchAssociateCodeSecurityScanConfiguration
default BatchAssociateCodeSecurityScanConfigurationResponse batchAssociateCodeSecurityScanConfiguration(Consumer<BatchAssociateCodeSecurityScanConfigurationRequest.Builder> batchAssociateCodeSecurityScanConfigurationRequest) throws ConflictException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Associates multiple code repositories with an Amazon Inspector code security scan configuration.
This is a convenience which creates an instance of the
BatchAssociateCodeSecurityScanConfigurationRequest.Builderavoiding the need to create one manually viaBatchAssociateCodeSecurityScanConfigurationRequest.builder()- Parameters:
batchAssociateCodeSecurityScanConfigurationRequest- AConsumerthat will call methods onBatchAssociateCodeSecurityScanConfigurationRequest.Builderto create a request.- Returns:
- Result of the BatchAssociateCodeSecurityScanConfiguration operation returned by the service.
- See Also:
-
batchDisassociateCodeSecurityScanConfiguration
default BatchDisassociateCodeSecurityScanConfigurationResponse batchDisassociateCodeSecurityScanConfiguration(BatchDisassociateCodeSecurityScanConfigurationRequest batchDisassociateCodeSecurityScanConfigurationRequest) throws ConflictException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Disassociates multiple code repositories from an Amazon Inspector code security scan configuration.
- Parameters:
batchDisassociateCodeSecurityScanConfigurationRequest-- Returns:
- Result of the BatchDisassociateCodeSecurityScanConfiguration operation returned by the service.
- See Also:
-
batchDisassociateCodeSecurityScanConfiguration
default BatchDisassociateCodeSecurityScanConfigurationResponse batchDisassociateCodeSecurityScanConfiguration(Consumer<BatchDisassociateCodeSecurityScanConfigurationRequest.Builder> batchDisassociateCodeSecurityScanConfigurationRequest) throws ConflictException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Disassociates multiple code repositories from an Amazon Inspector code security scan configuration.
This is a convenience which creates an instance of the
BatchDisassociateCodeSecurityScanConfigurationRequest.Builderavoiding the need to create one manually viaBatchDisassociateCodeSecurityScanConfigurationRequest.builder()- Parameters:
batchDisassociateCodeSecurityScanConfigurationRequest- AConsumerthat will call methods onBatchDisassociateCodeSecurityScanConfigurationRequest.Builderto create a request.- Returns:
- Result of the BatchDisassociateCodeSecurityScanConfiguration operation returned by the service.
- See Also:
-
batchGetAccountStatus
default BatchGetAccountStatusResponse batchGetAccountStatus(BatchGetAccountStatusRequest batchGetAccountStatusRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.
- Parameters:
batchGetAccountStatusRequest-- Returns:
- Result of the BatchGetAccountStatus operation returned by the service.
- See Also:
-
batchGetAccountStatus
default BatchGetAccountStatusResponse batchGetAccountStatus(Consumer<BatchGetAccountStatusRequest.Builder> batchGetAccountStatusRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the BatchGetAccountStatus operation returned by the service.
- See Also:
-
batchGetCodeSnippet
default BatchGetCodeSnippetResponse batchGetCodeSnippet(BatchGetCodeSnippetRequest batchGetCodeSnippetRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.
- Parameters:
batchGetCodeSnippetRequest-- Returns:
- Result of the BatchGetCodeSnippet operation returned by the service.
- See Also:
-
batchGetCodeSnippet
default BatchGetCodeSnippetResponse batchGetCodeSnippet(Consumer<BatchGetCodeSnippetRequest.Builder> batchGetCodeSnippetRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the BatchGetCodeSnippet operation returned by the service.
- See Also:
-
batchGetFindingDetails
default BatchGetFindingDetailsResponse batchGetFindingDetails(BatchGetFindingDetailsRequest batchGetFindingDetailsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Gets vulnerability details for findings.
- Parameters:
batchGetFindingDetailsRequest-- Returns:
- Result of the BatchGetFindingDetails operation returned by the service.
- See Also:
-
batchGetFindingDetails
default BatchGetFindingDetailsResponse batchGetFindingDetails(Consumer<BatchGetFindingDetailsRequest.Builder> batchGetFindingDetailsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the BatchGetFindingDetails operation returned by the service.
- See Also:
-
batchGetFreeTrialInfo
default BatchGetFreeTrialInfoResponse batchGetFreeTrialInfo(BatchGetFreeTrialInfoRequest batchGetFreeTrialInfoRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Gets free trial status for multiple Amazon Web Services accounts.
- Parameters:
batchGetFreeTrialInfoRequest-- Returns:
- Result of the BatchGetFreeTrialInfo operation returned by the service.
- See Also:
-
batchGetFreeTrialInfo
default BatchGetFreeTrialInfoResponse batchGetFreeTrialInfo(Consumer<BatchGetFreeTrialInfoRequest.Builder> batchGetFreeTrialInfoRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the BatchGetFreeTrialInfo operation returned by the service.
- See Also:
-
batchGetMemberEc2DeepInspectionStatus
default BatchGetMemberEc2DeepInspectionStatusResponse batchGetMemberEc2DeepInspectionStatus(BatchGetMemberEc2DeepInspectionStatusRequest batchGetMemberEc2DeepInspectionStatusRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the BatchGetMemberEc2DeepInspectionStatus operation returned by the service.
- See Also:
-
batchGetMemberEc2DeepInspectionStatus
default BatchGetMemberEc2DeepInspectionStatusResponse batchGetMemberEc2DeepInspectionStatus(Consumer<BatchGetMemberEc2DeepInspectionStatusRequest.Builder> batchGetMemberEc2DeepInspectionStatusRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the BatchGetMemberEc2DeepInspectionStatus operation returned by the service.
- See Also:
-
batchUpdateMemberEc2DeepInspectionStatus
default BatchUpdateMemberEc2DeepInspectionStatusResponse batchUpdateMemberEc2DeepInspectionStatus(BatchUpdateMemberEc2DeepInspectionStatusRequest batchUpdateMemberEc2DeepInspectionStatusRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the BatchUpdateMemberEc2DeepInspectionStatus operation returned by the service.
- See Also:
-
batchUpdateMemberEc2DeepInspectionStatus
default BatchUpdateMemberEc2DeepInspectionStatusResponse batchUpdateMemberEc2DeepInspectionStatus(Consumer<BatchUpdateMemberEc2DeepInspectionStatusRequest.Builder> batchUpdateMemberEc2DeepInspectionStatusRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the BatchUpdateMemberEc2DeepInspectionStatus operation returned by the service.
- See Also:
-
cancelFindingsReport
default CancelFindingsReportResponse cancelFindingsReport(CancelFindingsReportRequest cancelFindingsReportRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Cancels the given findings report.
- Parameters:
cancelFindingsReportRequest-- Returns:
- Result of the CancelFindingsReport operation returned by the service.
- See Also:
-
cancelFindingsReport
default CancelFindingsReportResponse cancelFindingsReport(Consumer<CancelFindingsReportRequest.Builder> cancelFindingsReportRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the CancelFindingsReport operation returned by the service.
- See Also:
-
cancelSbomExport
default CancelSbomExportResponse cancelSbomExport(CancelSbomExportRequest cancelSbomExportRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Cancels a software bill of materials (SBOM) report.
- Parameters:
cancelSbomExportRequest-- Returns:
- Result of the CancelSbomExport operation returned by the service.
- See Also:
-
cancelSbomExport
default CancelSbomExportResponse cancelSbomExport(Consumer<CancelSbomExportRequest.Builder> cancelSbomExportRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the CancelSbomExport operation returned by the service.
- See Also:
-
createCisScanConfiguration
default CreateCisScanConfigurationResponse createCisScanConfiguration(CreateCisScanConfigurationRequest createCisScanConfigurationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Creates a CIS scan configuration.
- Parameters:
createCisScanConfigurationRequest-- Returns:
- Result of the CreateCisScanConfiguration operation returned by the service.
- See Also:
-
createCisScanConfiguration
default CreateCisScanConfigurationResponse createCisScanConfiguration(Consumer<CreateCisScanConfigurationRequest.Builder> createCisScanConfigurationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Creates a CIS scan configuration.
This is a convenience which creates an instance of the
CreateCisScanConfigurationRequest.Builderavoiding the need to create one manually viaCreateCisScanConfigurationRequest.builder()- Parameters:
createCisScanConfigurationRequest- AConsumerthat will call methods onCreateCisScanConfigurationRequest.Builderto create a request.- Returns:
- Result of the CreateCisScanConfiguration operation returned by the service.
- See Also:
-
createCodeSecurityIntegration
default CreateCodeSecurityIntegrationResponse createCodeSecurityIntegration(CreateCodeSecurityIntegrationRequest createCodeSecurityIntegrationRequest) throws ServiceQuotaExceededException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Creates a code security integration with a source code repository provider.
After calling the
CreateCodeSecurityIntegrationoperation, you complete authentication and authorization with your provider. Next you call theUpdateCodeSecurityIntegrationoperation to provide thedetailsto complete the integration setup- Parameters:
createCodeSecurityIntegrationRequest-- Returns:
- Result of the CreateCodeSecurityIntegration operation returned by the service.
- See Also:
-
createCodeSecurityIntegration
default CreateCodeSecurityIntegrationResponse createCodeSecurityIntegration(Consumer<CreateCodeSecurityIntegrationRequest.Builder> createCodeSecurityIntegrationRequest) throws ServiceQuotaExceededException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Creates a code security integration with a source code repository provider.
After calling the
CreateCodeSecurityIntegrationoperation, you complete authentication and authorization with your provider. Next you call theUpdateCodeSecurityIntegrationoperation to provide thedetailsto complete the integration setup
This is a convenience which creates an instance of the
CreateCodeSecurityIntegrationRequest.Builderavoiding the need to create one manually viaCreateCodeSecurityIntegrationRequest.builder()- Parameters:
createCodeSecurityIntegrationRequest- AConsumerthat will call methods onCreateCodeSecurityIntegrationRequest.Builderto create a request.- Returns:
- Result of the CreateCodeSecurityIntegration operation returned by the service.
- See Also:
-
createCodeSecurityScanConfiguration
default CreateCodeSecurityScanConfigurationResponse createCodeSecurityScanConfiguration(CreateCodeSecurityScanConfigurationRequest createCodeSecurityScanConfigurationRequest) throws ServiceQuotaExceededException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Creates a scan configuration for code security scanning.
- Parameters:
createCodeSecurityScanConfigurationRequest-- Returns:
- Result of the CreateCodeSecurityScanConfiguration operation returned by the service.
- See Also:
-
createCodeSecurityScanConfiguration
default CreateCodeSecurityScanConfigurationResponse createCodeSecurityScanConfiguration(Consumer<CreateCodeSecurityScanConfigurationRequest.Builder> createCodeSecurityScanConfigurationRequest) throws ServiceQuotaExceededException, ConflictException, AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Creates a scan configuration for code security scanning.
This is a convenience which creates an instance of the
CreateCodeSecurityScanConfigurationRequest.Builderavoiding the need to create one manually viaCreateCodeSecurityScanConfigurationRequest.builder()- Parameters:
createCodeSecurityScanConfigurationRequest- AConsumerthat will call methods onCreateCodeSecurityScanConfigurationRequest.Builderto create a request.- Returns:
- Result of the CreateCodeSecurityScanConfiguration operation returned by the service.
- See Also:
-
createFilter
default CreateFilterResponse createFilter(CreateFilterRequest createFilterRequest) throws ServiceQuotaExceededException, BadRequestException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Creates a filter resource using specified filter criteria. When the filter action is set to
SUPPRESSthis action creates a suppression rule.- Parameters:
createFilterRequest-- Returns:
- Result of the CreateFilter operation returned by the service.
- See Also:
-
createFilter
default CreateFilterResponse createFilter(Consumer<CreateFilterRequest.Builder> createFilterRequest) throws ServiceQuotaExceededException, BadRequestException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the CreateFilter operation returned by the service.
- See Also:
-
createFindingsReport
default CreateFindingsReportResponse createFindingsReport(CreateFindingsReportRequest createFindingsReportRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the CreateFindingsReport operation returned by the service.
- See Also:
-
createFindingsReport
default CreateFindingsReportResponse createFindingsReport(Consumer<CreateFindingsReportRequest.Builder> createFindingsReportRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the CreateFindingsReport operation returned by the service.
- See Also:
-
createSbomExport
default CreateSbomExportResponse createSbomExport(CreateSbomExportRequest createSbomExportRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Creates a software bill of materials (SBOM) report.
- Parameters:
createSbomExportRequest-- Returns:
- Result of the CreateSbomExport operation returned by the service.
- See Also:
-
createSbomExport
default CreateSbomExportResponse createSbomExport(Consumer<CreateSbomExportRequest.Builder> createSbomExportRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the CreateSbomExport operation returned by the service.
- See Also:
-
deleteCisScanConfiguration
default DeleteCisScanConfigurationResponse deleteCisScanConfiguration(DeleteCisScanConfigurationRequest deleteCisScanConfigurationRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Deletes a CIS scan configuration.
- Parameters:
deleteCisScanConfigurationRequest-- Returns:
- Result of the DeleteCisScanConfiguration operation returned by the service.
- See Also:
-
deleteCisScanConfiguration
default DeleteCisScanConfigurationResponse deleteCisScanConfiguration(Consumer<DeleteCisScanConfigurationRequest.Builder> deleteCisScanConfigurationRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Deletes a CIS scan configuration.
This is a convenience which creates an instance of the
DeleteCisScanConfigurationRequest.Builderavoiding the need to create one manually viaDeleteCisScanConfigurationRequest.builder()- Parameters:
deleteCisScanConfigurationRequest- AConsumerthat will call methods onDeleteCisScanConfigurationRequest.Builderto create a request.- Returns:
- Result of the DeleteCisScanConfiguration operation returned by the service.
- See Also:
-
deleteCodeSecurityIntegration
default DeleteCodeSecurityIntegrationResponse deleteCodeSecurityIntegration(DeleteCodeSecurityIntegrationRequest deleteCodeSecurityIntegrationRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Deletes a code security integration.
- Parameters:
deleteCodeSecurityIntegrationRequest-- Returns:
- Result of the DeleteCodeSecurityIntegration operation returned by the service.
- See Also:
-
deleteCodeSecurityIntegration
default DeleteCodeSecurityIntegrationResponse deleteCodeSecurityIntegration(Consumer<DeleteCodeSecurityIntegrationRequest.Builder> deleteCodeSecurityIntegrationRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Deletes a code security integration.
This is a convenience which creates an instance of the
DeleteCodeSecurityIntegrationRequest.Builderavoiding the need to create one manually viaDeleteCodeSecurityIntegrationRequest.builder()- Parameters:
deleteCodeSecurityIntegrationRequest- AConsumerthat will call methods onDeleteCodeSecurityIntegrationRequest.Builderto create a request.- Returns:
- Result of the DeleteCodeSecurityIntegration operation returned by the service.
- See Also:
-
deleteCodeSecurityScanConfiguration
default DeleteCodeSecurityScanConfigurationResponse deleteCodeSecurityScanConfiguration(DeleteCodeSecurityScanConfigurationRequest deleteCodeSecurityScanConfigurationRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Deletes a code security scan configuration.
- Parameters:
deleteCodeSecurityScanConfigurationRequest-- Returns:
- Result of the DeleteCodeSecurityScanConfiguration operation returned by the service.
- See Also:
-
deleteCodeSecurityScanConfiguration
default DeleteCodeSecurityScanConfigurationResponse deleteCodeSecurityScanConfiguration(Consumer<DeleteCodeSecurityScanConfigurationRequest.Builder> deleteCodeSecurityScanConfigurationRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Deletes a code security scan configuration.
This is a convenience which creates an instance of the
DeleteCodeSecurityScanConfigurationRequest.Builderavoiding the need to create one manually viaDeleteCodeSecurityScanConfigurationRequest.builder()- Parameters:
deleteCodeSecurityScanConfigurationRequest- AConsumerthat will call methods onDeleteCodeSecurityScanConfigurationRequest.Builderto create a request.- Returns:
- Result of the DeleteCodeSecurityScanConfiguration operation returned by the service.
- See Also:
-
deleteFilter
default DeleteFilterResponse deleteFilter(DeleteFilterRequest deleteFilterRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Deletes a filter resource.
- Parameters:
deleteFilterRequest-- Returns:
- Result of the DeleteFilter operation returned by the service.
- See Also:
-
deleteFilter
default DeleteFilterResponse deleteFilter(Consumer<DeleteFilterRequest.Builder> deleteFilterRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the DeleteFilter operation returned by the service.
- See Also:
-
describeOrganizationConfiguration
default DescribeOrganizationConfigurationResponse describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Describe Amazon Inspector configuration settings for an Amazon Web Services organization.
- Parameters:
describeOrganizationConfigurationRequest-- Returns:
- Result of the DescribeOrganizationConfiguration operation returned by the service.
- See Also:
-
describeOrganizationConfiguration
default DescribeOrganizationConfigurationResponse describeOrganizationConfiguration(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the DescribeOrganizationConfiguration operation returned by the service.
- See Also:
-
disable
default DisableResponse disable(DisableRequest disableRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the Disable operation returned by the service.
- See Also:
-
disable
default DisableResponse disable(Consumer<DisableRequest.Builder> disableRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the Disable operation returned by the service.
- See Also:
-
disableDelegatedAdminAccount
default DisableDelegatedAdminAccountResponse disableDelegatedAdminAccount(DisableDelegatedAdminAccountRequest disableDelegatedAdminAccountRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Disables the Amazon Inspector delegated administrator for your organization.
- Parameters:
disableDelegatedAdminAccountRequest-- Returns:
- Result of the DisableDelegatedAdminAccount operation returned by the service.
- See Also:
-
disableDelegatedAdminAccount
default DisableDelegatedAdminAccountResponse disableDelegatedAdminAccount(Consumer<DisableDelegatedAdminAccountRequest.Builder> disableDelegatedAdminAccountRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the DisableDelegatedAdminAccount operation returned by the service.
- See Also:
-
disassociateMember
default DisassociateMemberResponse disassociateMember(DisassociateMemberRequest disassociateMemberRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Disassociates a member account from an Amazon Inspector delegated administrator.
- Parameters:
disassociateMemberRequest-- Returns:
- Result of the DisassociateMember operation returned by the service.
- See Also:
-
disassociateMember
default DisassociateMemberResponse disassociateMember(Consumer<DisassociateMemberRequest.Builder> disassociateMemberRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the DisassociateMember operation returned by the service.
- See Also:
-
enable
default EnableResponse enable(EnableRequest enableRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
- Parameters:
enableRequest-- Returns:
- Result of the Enable operation returned by the service.
- See Also:
-
enable
default EnableResponse enable(Consumer<EnableRequest.Builder> enableRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the Enable operation returned by the service.
- See Also:
-
enableDelegatedAdminAccount
default EnableDelegatedAdminAccountResponse enableDelegatedAdminAccount(EnableDelegatedAdminAccountRequest enableDelegatedAdminAccountRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Enables the Amazon Inspector delegated administrator for your Organizations organization.
- Parameters:
enableDelegatedAdminAccountRequest-- Returns:
- Result of the EnableDelegatedAdminAccount operation returned by the service.
- See Also:
-
enableDelegatedAdminAccount
default EnableDelegatedAdminAccountResponse enableDelegatedAdminAccount(Consumer<EnableDelegatedAdminAccountRequest.Builder> enableDelegatedAdminAccountRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the EnableDelegatedAdminAccount operation returned by the service.
- See Also:
-
getCisScanReport
default GetCisScanReportResponse getCisScanReport(GetCisScanReportRequest getCisScanReportRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Retrieves a CIS scan report.
- Parameters:
getCisScanReportRequest-- Returns:
- Result of the GetCisScanReport operation returned by the service.
- See Also:
-
getCisScanReport
default GetCisScanReportResponse getCisScanReport(Consumer<GetCisScanReportRequest.Builder> getCisScanReportRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Retrieves a CIS scan report.
This is a convenience which creates an instance of the
GetCisScanReportRequest.Builderavoiding the need to create one manually viaGetCisScanReportRequest.builder()- Parameters:
getCisScanReportRequest- AConsumerthat will call methods onGetCisScanReportRequest.Builderto create a request.- Returns:
- Result of the GetCisScanReport operation returned by the service.
- See Also:
-
getCisScanResultDetails
default GetCisScanResultDetailsResponse getCisScanResultDetails(GetCisScanResultDetailsRequest getCisScanResultDetailsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Retrieves CIS scan result details.
- Parameters:
getCisScanResultDetailsRequest-- Returns:
- Result of the GetCisScanResultDetails operation returned by the service.
- See Also:
-
getCisScanResultDetails
default GetCisScanResultDetailsResponse getCisScanResultDetails(Consumer<GetCisScanResultDetailsRequest.Builder> getCisScanResultDetailsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Retrieves CIS scan result details.
This is a convenience which creates an instance of the
GetCisScanResultDetailsRequest.Builderavoiding the need to create one manually viaGetCisScanResultDetailsRequest.builder()- Parameters:
getCisScanResultDetailsRequest- AConsumerthat will call methods onGetCisScanResultDetailsRequest.Builderto create a request.- Returns:
- Result of the GetCisScanResultDetails operation returned by the service.
- See Also:
-
getCisScanResultDetailsPaginator
default GetCisScanResultDetailsIterable getCisScanResultDetailsPaginator(GetCisScanResultDetailsRequest getCisScanResultDetailsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
getCisScanResultDetails(software.amazon.awssdk.services.inspector2.model.GetCisScanResultDetailsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.GetCisScanResultDetailsIterable responses = client.getCisScanResultDetailsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.GetCisScanResultDetailsIterable responses = client .getCisScanResultDetailsPaginator(request); for (software.amazon.awssdk.services.inspector2.model.GetCisScanResultDetailsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.GetCisScanResultDetailsIterable responses = client.getCisScanResultDetailsPaginator(request); responses.iterator().forEachRemaining(....);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
getCisScanResultDetails(software.amazon.awssdk.services.inspector2.model.GetCisScanResultDetailsRequest)operation.- Parameters:
getCisScanResultDetailsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getCisScanResultDetailsPaginator
default GetCisScanResultDetailsIterable getCisScanResultDetailsPaginator(Consumer<GetCisScanResultDetailsRequest.Builder> getCisScanResultDetailsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
getCisScanResultDetails(software.amazon.awssdk.services.inspector2.model.GetCisScanResultDetailsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.GetCisScanResultDetailsIterable responses = client.getCisScanResultDetailsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.GetCisScanResultDetailsIterable responses = client .getCisScanResultDetailsPaginator(request); for (software.amazon.awssdk.services.inspector2.model.GetCisScanResultDetailsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.GetCisScanResultDetailsIterable responses = client.getCisScanResultDetailsPaginator(request); responses.iterator().forEachRemaining(....);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
getCisScanResultDetails(software.amazon.awssdk.services.inspector2.model.GetCisScanResultDetailsRequest)operation.
This is a convenience which creates an instance of the
GetCisScanResultDetailsRequest.Builderavoiding the need to create one manually viaGetCisScanResultDetailsRequest.builder()- Parameters:
getCisScanResultDetailsRequest- AConsumerthat will call methods onGetCisScanResultDetailsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getClustersForImage
default GetClustersForImageResponse getClustersForImage(GetClustersForImageRequest getClustersForImageRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Returns a list of clusters and metadata associated with an image.
- Parameters:
getClustersForImageRequest-- Returns:
- Result of the GetClustersForImage operation returned by the service.
- See Also:
-
getClustersForImage
default GetClustersForImageResponse getClustersForImage(Consumer<GetClustersForImageRequest.Builder> getClustersForImageRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Returns a list of clusters and metadata associated with an image.
This is a convenience which creates an instance of the
GetClustersForImageRequest.Builderavoiding the need to create one manually viaGetClustersForImageRequest.builder()- Parameters:
getClustersForImageRequest- AConsumerthat will call methods onGetClustersForImageRequest.Builderto create a request.- Returns:
- Result of the GetClustersForImage operation returned by the service.
- See Also:
-
getClustersForImagePaginator
default GetClustersForImageIterable getClustersForImagePaginator(GetClustersForImageRequest getClustersForImageRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
getClustersForImage(software.amazon.awssdk.services.inspector2.model.GetClustersForImageRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.GetClustersForImageIterable responses = client.getClustersForImagePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.GetClustersForImageIterable responses = client .getClustersForImagePaginator(request); for (software.amazon.awssdk.services.inspector2.model.GetClustersForImageResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.GetClustersForImageIterable responses = client.getClustersForImagePaginator(request); responses.iterator().forEachRemaining(....);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
getClustersForImage(software.amazon.awssdk.services.inspector2.model.GetClustersForImageRequest)operation.- Parameters:
getClustersForImageRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getClustersForImagePaginator
default GetClustersForImageIterable getClustersForImagePaginator(Consumer<GetClustersForImageRequest.Builder> getClustersForImageRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
getClustersForImage(software.amazon.awssdk.services.inspector2.model.GetClustersForImageRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.GetClustersForImageIterable responses = client.getClustersForImagePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.GetClustersForImageIterable responses = client .getClustersForImagePaginator(request); for (software.amazon.awssdk.services.inspector2.model.GetClustersForImageResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.GetClustersForImageIterable responses = client.getClustersForImagePaginator(request); responses.iterator().forEachRemaining(....);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
getClustersForImage(software.amazon.awssdk.services.inspector2.model.GetClustersForImageRequest)operation.
This is a convenience which creates an instance of the
GetClustersForImageRequest.Builderavoiding the need to create one manually viaGetClustersForImageRequest.builder()- Parameters:
getClustersForImageRequest- AConsumerthat will call methods onGetClustersForImageRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getCodeSecurityIntegration
default GetCodeSecurityIntegrationResponse getCodeSecurityIntegration(GetCodeSecurityIntegrationRequest getCodeSecurityIntegrationRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Retrieves information about a code security integration.
- Parameters:
getCodeSecurityIntegrationRequest-- Returns:
- Result of the GetCodeSecurityIntegration operation returned by the service.
- See Also:
-
getCodeSecurityIntegration
default GetCodeSecurityIntegrationResponse getCodeSecurityIntegration(Consumer<GetCodeSecurityIntegrationRequest.Builder> getCodeSecurityIntegrationRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Retrieves information about a code security integration.
This is a convenience which creates an instance of the
GetCodeSecurityIntegrationRequest.Builderavoiding the need to create one manually viaGetCodeSecurityIntegrationRequest.builder()- Parameters:
getCodeSecurityIntegrationRequest- AConsumerthat will call methods onGetCodeSecurityIntegrationRequest.Builderto create a request.- Returns:
- Result of the GetCodeSecurityIntegration operation returned by the service.
- See Also:
-
getCodeSecurityScan
default GetCodeSecurityScanResponse getCodeSecurityScan(GetCodeSecurityScanRequest getCodeSecurityScanRequest) throws ConflictException, AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Retrieves information about a specific code security scan.
- Parameters:
getCodeSecurityScanRequest-- Returns:
- Result of the GetCodeSecurityScan operation returned by the service.
- See Also:
-
getCodeSecurityScan
default GetCodeSecurityScanResponse getCodeSecurityScan(Consumer<GetCodeSecurityScanRequest.Builder> getCodeSecurityScanRequest) throws ConflictException, AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Retrieves information about a specific code security scan.
This is a convenience which creates an instance of the
GetCodeSecurityScanRequest.Builderavoiding the need to create one manually viaGetCodeSecurityScanRequest.builder()- Parameters:
getCodeSecurityScanRequest- AConsumerthat will call methods onGetCodeSecurityScanRequest.Builderto create a request.- Returns:
- Result of the GetCodeSecurityScan operation returned by the service.
- See Also:
-
getCodeSecurityScanConfiguration
default GetCodeSecurityScanConfigurationResponse getCodeSecurityScanConfiguration(GetCodeSecurityScanConfigurationRequest getCodeSecurityScanConfigurationRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Retrieves information about a code security scan configuration.
- Parameters:
getCodeSecurityScanConfigurationRequest-- Returns:
- Result of the GetCodeSecurityScanConfiguration operation returned by the service.
- See Also:
-
getCodeSecurityScanConfiguration
default GetCodeSecurityScanConfigurationResponse getCodeSecurityScanConfiguration(Consumer<GetCodeSecurityScanConfigurationRequest.Builder> getCodeSecurityScanConfigurationRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Retrieves information about a code security scan configuration.
This is a convenience which creates an instance of the
GetCodeSecurityScanConfigurationRequest.Builderavoiding the need to create one manually viaGetCodeSecurityScanConfigurationRequest.builder()- Parameters:
getCodeSecurityScanConfigurationRequest- AConsumerthat will call methods onGetCodeSecurityScanConfigurationRequest.Builderto create a request.- Returns:
- Result of the GetCodeSecurityScanConfiguration operation returned by the service.
- See Also:
-
getConfiguration
default GetConfigurationResponse getConfiguration(GetConfigurationRequest getConfigurationRequest) throws ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Retrieves setting configurations for Inspector scans.
- Parameters:
getConfigurationRequest-- Returns:
- Result of the GetConfiguration operation returned by the service.
- See Also:
-
getConfiguration
default GetConfigurationResponse getConfiguration(Consumer<GetConfigurationRequest.Builder> getConfigurationRequest) throws ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the GetConfiguration operation returned by the service.
- See Also:
-
getDelegatedAdminAccount
default GetDelegatedAdminAccountResponse getDelegatedAdminAccount(GetDelegatedAdminAccountRequest getDelegatedAdminAccountRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Retrieves information about the Amazon Inspector delegated administrator for your organization.
- Parameters:
getDelegatedAdminAccountRequest-- Returns:
- Result of the GetDelegatedAdminAccount operation returned by the service.
- See Also:
-
getDelegatedAdminAccount
default GetDelegatedAdminAccountResponse getDelegatedAdminAccount(Consumer<GetDelegatedAdminAccountRequest.Builder> getDelegatedAdminAccountRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the GetDelegatedAdminAccount operation returned by the service.
- See Also:
-
getEc2DeepInspectionConfiguration
default GetEc2DeepInspectionConfigurationResponse getEc2DeepInspectionConfiguration(GetEc2DeepInspectionConfigurationRequest getEc2DeepInspectionConfigurationRequest) throws AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.
- Parameters:
getEc2DeepInspectionConfigurationRequest-- Returns:
- Result of the GetEc2DeepInspectionConfiguration operation returned by the service.
- See Also:
-
getEc2DeepInspectionConfiguration
default GetEc2DeepInspectionConfigurationResponse getEc2DeepInspectionConfiguration(Consumer<GetEc2DeepInspectionConfigurationRequest.Builder> getEc2DeepInspectionConfigurationRequest) throws AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the GetEc2DeepInspectionConfiguration operation returned by the service.
- See Also:
-
getEncryptionKey
default GetEncryptionKeyResponse getEncryptionKey(GetEncryptionKeyRequest getEncryptionKeyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Gets an encryption key.
- Parameters:
getEncryptionKeyRequest-- Returns:
- Result of the GetEncryptionKey operation returned by the service.
- See Also:
-
getEncryptionKey
default GetEncryptionKeyResponse getEncryptionKey(Consumer<GetEncryptionKeyRequest.Builder> getEncryptionKeyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the GetEncryptionKey operation returned by the service.
- See Also:
-
getFindingsReportStatus
default GetFindingsReportStatusResponse getFindingsReportStatus(GetFindingsReportStatusRequest getFindingsReportStatusRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Gets the status of a findings report.
- Parameters:
getFindingsReportStatusRequest-- Returns:
- Result of the GetFindingsReportStatus operation returned by the service.
- See Also:
-
getFindingsReportStatus
default GetFindingsReportStatusResponse getFindingsReportStatus(Consumer<GetFindingsReportStatusRequest.Builder> getFindingsReportStatusRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the GetFindingsReportStatus operation returned by the service.
- See Also:
-
getMember
default GetMemberResponse getMember(GetMemberRequest getMemberRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Gets member information for your organization.
- Parameters:
getMemberRequest-- Returns:
- Result of the GetMember operation returned by the service.
- See Also:
-
getMember
default GetMemberResponse getMember(Consumer<GetMemberRequest.Builder> getMemberRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the GetMember operation returned by the service.
- See Also:
-
getSbomExport
default GetSbomExportResponse getSbomExport(GetSbomExportRequest getSbomExportRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Gets details of a software bill of materials (SBOM) report.
- Parameters:
getSbomExportRequest-- Returns:
- Result of the GetSbomExport operation returned by the service.
- See Also:
-
getSbomExport
default GetSbomExportResponse getSbomExport(Consumer<GetSbomExportRequest.Builder> getSbomExportRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the GetSbomExport operation returned by the service.
- See Also:
-
listAccountPermissions
default ListAccountPermissionsResponse listAccountPermissions(ListAccountPermissionsRequest listAccountPermissionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists the permissions an account has to configure Amazon Inspector.
- Parameters:
listAccountPermissionsRequest-- Returns:
- Result of the ListAccountPermissions operation returned by the service.
- See Also:
-
listAccountPermissions
default ListAccountPermissionsResponse listAccountPermissions(Consumer<ListAccountPermissionsRequest.Builder> listAccountPermissionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the ListAccountPermissions operation returned by the service.
- See Also:
-
listAccountPermissionsPaginator
default ListAccountPermissionsIterable listAccountPermissionsPaginator(ListAccountPermissionsRequest listAccountPermissionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listAccountPermissions(software.amazon.awssdk.services.inspector2.model.ListAccountPermissionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListAccountPermissionsIterable responses = client.listAccountPermissionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListAccountPermissionsIterable responses = client .listAccountPermissionsPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListAccountPermissionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListAccountPermissionsIterable responses = client.listAccountPermissionsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listAccountPermissionsPaginator
default ListAccountPermissionsIterable listAccountPermissionsPaginator(Consumer<ListAccountPermissionsRequest.Builder> listAccountPermissionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listAccountPermissions(software.amazon.awssdk.services.inspector2.model.ListAccountPermissionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListAccountPermissionsIterable responses = client.listAccountPermissionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListAccountPermissionsIterable responses = client .listAccountPermissionsPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListAccountPermissionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListAccountPermissionsIterable responses = client.listAccountPermissionsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listCisScanConfigurations
default ListCisScanConfigurationsResponse listCisScanConfigurations(ListCisScanConfigurationsRequest listCisScanConfigurationsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists CIS scan configurations.
- Parameters:
listCisScanConfigurationsRequest-- Returns:
- Result of the ListCisScanConfigurations operation returned by the service.
- See Also:
-
listCisScanConfigurations
default ListCisScanConfigurationsResponse listCisScanConfigurations(Consumer<ListCisScanConfigurationsRequest.Builder> listCisScanConfigurationsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists CIS scan configurations.
This is a convenience which creates an instance of the
ListCisScanConfigurationsRequest.Builderavoiding the need to create one manually viaListCisScanConfigurationsRequest.builder()- Parameters:
listCisScanConfigurationsRequest- AConsumerthat will call methods onListCisScanConfigurationsRequest.Builderto create a request.- Returns:
- Result of the ListCisScanConfigurations operation returned by the service.
- See Also:
-
listCisScanConfigurationsPaginator
default ListCisScanConfigurationsIterable listCisScanConfigurationsPaginator(ListCisScanConfigurationsRequest listCisScanConfigurationsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listCisScanConfigurations(software.amazon.awssdk.services.inspector2.model.ListCisScanConfigurationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListCisScanConfigurationsIterable responses = client.listCisScanConfigurationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListCisScanConfigurationsIterable responses = client .listCisScanConfigurationsPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListCisScanConfigurationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListCisScanConfigurationsIterable responses = client.listCisScanConfigurationsPaginator(request); responses.iterator().forEachRemaining(....);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
listCisScanConfigurations(software.amazon.awssdk.services.inspector2.model.ListCisScanConfigurationsRequest)operation.- Parameters:
listCisScanConfigurationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCisScanConfigurationsPaginator
default ListCisScanConfigurationsIterable listCisScanConfigurationsPaginator(Consumer<ListCisScanConfigurationsRequest.Builder> listCisScanConfigurationsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listCisScanConfigurations(software.amazon.awssdk.services.inspector2.model.ListCisScanConfigurationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListCisScanConfigurationsIterable responses = client.listCisScanConfigurationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListCisScanConfigurationsIterable responses = client .listCisScanConfigurationsPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListCisScanConfigurationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListCisScanConfigurationsIterable responses = client.listCisScanConfigurationsPaginator(request); responses.iterator().forEachRemaining(....);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
listCisScanConfigurations(software.amazon.awssdk.services.inspector2.model.ListCisScanConfigurationsRequest)operation.
This is a convenience which creates an instance of the
ListCisScanConfigurationsRequest.Builderavoiding the need to create one manually viaListCisScanConfigurationsRequest.builder()- Parameters:
listCisScanConfigurationsRequest- AConsumerthat will call methods onListCisScanConfigurationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCisScanResultsAggregatedByChecks
default ListCisScanResultsAggregatedByChecksResponse listCisScanResultsAggregatedByChecks(ListCisScanResultsAggregatedByChecksRequest listCisScanResultsAggregatedByChecksRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists scan results aggregated by checks.
- Parameters:
listCisScanResultsAggregatedByChecksRequest-- Returns:
- Result of the ListCisScanResultsAggregatedByChecks operation returned by the service.
- See Also:
-
listCisScanResultsAggregatedByChecks
default ListCisScanResultsAggregatedByChecksResponse listCisScanResultsAggregatedByChecks(Consumer<ListCisScanResultsAggregatedByChecksRequest.Builder> listCisScanResultsAggregatedByChecksRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists scan results aggregated by checks.
This is a convenience which creates an instance of the
ListCisScanResultsAggregatedByChecksRequest.Builderavoiding the need to create one manually viaListCisScanResultsAggregatedByChecksRequest.builder()- Parameters:
listCisScanResultsAggregatedByChecksRequest- AConsumerthat will call methods onListCisScanResultsAggregatedByChecksRequest.Builderto create a request.- Returns:
- Result of the ListCisScanResultsAggregatedByChecks operation returned by the service.
- See Also:
-
listCisScanResultsAggregatedByChecksPaginator
default ListCisScanResultsAggregatedByChecksIterable listCisScanResultsAggregatedByChecksPaginator(ListCisScanResultsAggregatedByChecksRequest listCisScanResultsAggregatedByChecksRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listCisScanResultsAggregatedByChecks(software.amazon.awssdk.services.inspector2.model.ListCisScanResultsAggregatedByChecksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListCisScanResultsAggregatedByChecksIterable responses = client.listCisScanResultsAggregatedByChecksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListCisScanResultsAggregatedByChecksIterable responses = client .listCisScanResultsAggregatedByChecksPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListCisScanResultsAggregatedByChecksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListCisScanResultsAggregatedByChecksIterable responses = client.listCisScanResultsAggregatedByChecksPaginator(request); responses.iterator().forEachRemaining(....);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
listCisScanResultsAggregatedByChecks(software.amazon.awssdk.services.inspector2.model.ListCisScanResultsAggregatedByChecksRequest)operation.- Parameters:
listCisScanResultsAggregatedByChecksRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCisScanResultsAggregatedByChecksPaginator
default ListCisScanResultsAggregatedByChecksIterable listCisScanResultsAggregatedByChecksPaginator(Consumer<ListCisScanResultsAggregatedByChecksRequest.Builder> listCisScanResultsAggregatedByChecksRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listCisScanResultsAggregatedByChecks(software.amazon.awssdk.services.inspector2.model.ListCisScanResultsAggregatedByChecksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListCisScanResultsAggregatedByChecksIterable responses = client.listCisScanResultsAggregatedByChecksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListCisScanResultsAggregatedByChecksIterable responses = client .listCisScanResultsAggregatedByChecksPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListCisScanResultsAggregatedByChecksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListCisScanResultsAggregatedByChecksIterable responses = client.listCisScanResultsAggregatedByChecksPaginator(request); responses.iterator().forEachRemaining(....);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
listCisScanResultsAggregatedByChecks(software.amazon.awssdk.services.inspector2.model.ListCisScanResultsAggregatedByChecksRequest)operation.
This is a convenience which creates an instance of the
ListCisScanResultsAggregatedByChecksRequest.Builderavoiding the need to create one manually viaListCisScanResultsAggregatedByChecksRequest.builder()- Parameters:
listCisScanResultsAggregatedByChecksRequest- AConsumerthat will call methods onListCisScanResultsAggregatedByChecksRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCisScanResultsAggregatedByTargetResource
default ListCisScanResultsAggregatedByTargetResourceResponse listCisScanResultsAggregatedByTargetResource(ListCisScanResultsAggregatedByTargetResourceRequest listCisScanResultsAggregatedByTargetResourceRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists scan results aggregated by a target resource.
- Parameters:
listCisScanResultsAggregatedByTargetResourceRequest-- Returns:
- Result of the ListCisScanResultsAggregatedByTargetResource operation returned by the service.
- See Also:
-
listCisScanResultsAggregatedByTargetResource
default ListCisScanResultsAggregatedByTargetResourceResponse listCisScanResultsAggregatedByTargetResource(Consumer<ListCisScanResultsAggregatedByTargetResourceRequest.Builder> listCisScanResultsAggregatedByTargetResourceRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists scan results aggregated by a target resource.
This is a convenience which creates an instance of the
ListCisScanResultsAggregatedByTargetResourceRequest.Builderavoiding the need to create one manually viaListCisScanResultsAggregatedByTargetResourceRequest.builder()- Parameters:
listCisScanResultsAggregatedByTargetResourceRequest- AConsumerthat will call methods onListCisScanResultsAggregatedByTargetResourceRequest.Builderto create a request.- Returns:
- Result of the ListCisScanResultsAggregatedByTargetResource operation returned by the service.
- See Also:
-
listCisScanResultsAggregatedByTargetResourcePaginator
default ListCisScanResultsAggregatedByTargetResourceIterable listCisScanResultsAggregatedByTargetResourcePaginator(ListCisScanResultsAggregatedByTargetResourceRequest listCisScanResultsAggregatedByTargetResourceRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listCisScanResultsAggregatedByTargetResource(software.amazon.awssdk.services.inspector2.model.ListCisScanResultsAggregatedByTargetResourceRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListCisScanResultsAggregatedByTargetResourceIterable responses = client.listCisScanResultsAggregatedByTargetResourcePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListCisScanResultsAggregatedByTargetResourceIterable responses = client .listCisScanResultsAggregatedByTargetResourcePaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListCisScanResultsAggregatedByTargetResourceResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListCisScanResultsAggregatedByTargetResourceIterable responses = client.listCisScanResultsAggregatedByTargetResourcePaginator(request); responses.iterator().forEachRemaining(....);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
listCisScanResultsAggregatedByTargetResource(software.amazon.awssdk.services.inspector2.model.ListCisScanResultsAggregatedByTargetResourceRequest)operation.- Parameters:
listCisScanResultsAggregatedByTargetResourceRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCisScanResultsAggregatedByTargetResourcePaginator
default ListCisScanResultsAggregatedByTargetResourceIterable listCisScanResultsAggregatedByTargetResourcePaginator(Consumer<ListCisScanResultsAggregatedByTargetResourceRequest.Builder> listCisScanResultsAggregatedByTargetResourceRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listCisScanResultsAggregatedByTargetResource(software.amazon.awssdk.services.inspector2.model.ListCisScanResultsAggregatedByTargetResourceRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListCisScanResultsAggregatedByTargetResourceIterable responses = client.listCisScanResultsAggregatedByTargetResourcePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListCisScanResultsAggregatedByTargetResourceIterable responses = client .listCisScanResultsAggregatedByTargetResourcePaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListCisScanResultsAggregatedByTargetResourceResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListCisScanResultsAggregatedByTargetResourceIterable responses = client.listCisScanResultsAggregatedByTargetResourcePaginator(request); responses.iterator().forEachRemaining(....);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
listCisScanResultsAggregatedByTargetResource(software.amazon.awssdk.services.inspector2.model.ListCisScanResultsAggregatedByTargetResourceRequest)operation.
This is a convenience which creates an instance of the
ListCisScanResultsAggregatedByTargetResourceRequest.Builderavoiding the need to create one manually viaListCisScanResultsAggregatedByTargetResourceRequest.builder()- Parameters:
listCisScanResultsAggregatedByTargetResourceRequest- AConsumerthat will call methods onListCisScanResultsAggregatedByTargetResourceRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCisScans
default ListCisScansResponse listCisScans(ListCisScansRequest listCisScansRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Returns a CIS scan list.
- Parameters:
listCisScansRequest-- Returns:
- Result of the ListCisScans operation returned by the service.
- See Also:
-
listCisScans
default ListCisScansResponse listCisScans(Consumer<ListCisScansRequest.Builder> listCisScansRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Returns a CIS scan list.
This is a convenience which creates an instance of the
ListCisScansRequest.Builderavoiding the need to create one manually viaListCisScansRequest.builder()- Parameters:
listCisScansRequest- AConsumerthat will call methods onListCisScansRequest.Builderto create a request.- Returns:
- Result of the ListCisScans operation returned by the service.
- See Also:
-
listCisScansPaginator
default ListCisScansIterable listCisScansPaginator(ListCisScansRequest listCisScansRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listCisScans(software.amazon.awssdk.services.inspector2.model.ListCisScansRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListCisScansIterable responses = client.listCisScansPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListCisScansIterable responses = client.listCisScansPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListCisScansResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListCisScansIterable responses = client.listCisScansPaginator(request); responses.iterator().forEachRemaining(....);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
listCisScans(software.amazon.awssdk.services.inspector2.model.ListCisScansRequest)operation.- Parameters:
listCisScansRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCisScansPaginator
default ListCisScansIterable listCisScansPaginator(Consumer<ListCisScansRequest.Builder> listCisScansRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listCisScans(software.amazon.awssdk.services.inspector2.model.ListCisScansRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListCisScansIterable responses = client.listCisScansPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListCisScansIterable responses = client.listCisScansPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListCisScansResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListCisScansIterable responses = client.listCisScansPaginator(request); responses.iterator().forEachRemaining(....);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
listCisScans(software.amazon.awssdk.services.inspector2.model.ListCisScansRequest)operation.
This is a convenience which creates an instance of the
ListCisScansRequest.Builderavoiding the need to create one manually viaListCisScansRequest.builder()- Parameters:
listCisScansRequest- AConsumerthat will call methods onListCisScansRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCodeSecurityIntegrations
default ListCodeSecurityIntegrationsResponse listCodeSecurityIntegrations(ListCodeSecurityIntegrationsRequest listCodeSecurityIntegrationsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists all code security integrations in your account.
- Parameters:
listCodeSecurityIntegrationsRequest-- Returns:
- Result of the ListCodeSecurityIntegrations operation returned by the service.
- See Also:
-
listCodeSecurityIntegrations
default ListCodeSecurityIntegrationsResponse listCodeSecurityIntegrations(Consumer<ListCodeSecurityIntegrationsRequest.Builder> listCodeSecurityIntegrationsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists all code security integrations in your account.
This is a convenience which creates an instance of the
ListCodeSecurityIntegrationsRequest.Builderavoiding the need to create one manually viaListCodeSecurityIntegrationsRequest.builder()- Parameters:
listCodeSecurityIntegrationsRequest- AConsumerthat will call methods onListCodeSecurityIntegrationsRequest.Builderto create a request.- Returns:
- Result of the ListCodeSecurityIntegrations operation returned by the service.
- See Also:
-
listCodeSecurityScanConfigurationAssociations
default ListCodeSecurityScanConfigurationAssociationsResponse listCodeSecurityScanConfigurationAssociations(ListCodeSecurityScanConfigurationAssociationsRequest listCodeSecurityScanConfigurationAssociationsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists the associations between code repositories and Amazon Inspector code security scan configurations.
- Parameters:
listCodeSecurityScanConfigurationAssociationsRequest-- Returns:
- Result of the ListCodeSecurityScanConfigurationAssociations operation returned by the service.
- See Also:
-
listCodeSecurityScanConfigurationAssociations
default ListCodeSecurityScanConfigurationAssociationsResponse listCodeSecurityScanConfigurationAssociations(Consumer<ListCodeSecurityScanConfigurationAssociationsRequest.Builder> listCodeSecurityScanConfigurationAssociationsRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists the associations between code repositories and Amazon Inspector code security scan configurations.
This is a convenience which creates an instance of the
ListCodeSecurityScanConfigurationAssociationsRequest.Builderavoiding the need to create one manually viaListCodeSecurityScanConfigurationAssociationsRequest.builder()- Parameters:
listCodeSecurityScanConfigurationAssociationsRequest- AConsumerthat will call methods onListCodeSecurityScanConfigurationAssociationsRequest.Builderto create a request.- Returns:
- Result of the ListCodeSecurityScanConfigurationAssociations operation returned by the service.
- See Also:
-
listCodeSecurityScanConfigurations
default ListCodeSecurityScanConfigurationsResponse listCodeSecurityScanConfigurations(ListCodeSecurityScanConfigurationsRequest listCodeSecurityScanConfigurationsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists all code security scan configurations in your account.
- Parameters:
listCodeSecurityScanConfigurationsRequest-- Returns:
- Result of the ListCodeSecurityScanConfigurations operation returned by the service.
- See Also:
-
listCodeSecurityScanConfigurations
default ListCodeSecurityScanConfigurationsResponse listCodeSecurityScanConfigurations(Consumer<ListCodeSecurityScanConfigurationsRequest.Builder> listCodeSecurityScanConfigurationsRequest) throws AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists all code security scan configurations in your account.
This is a convenience which creates an instance of the
ListCodeSecurityScanConfigurationsRequest.Builderavoiding the need to create one manually viaListCodeSecurityScanConfigurationsRequest.builder()- Parameters:
listCodeSecurityScanConfigurationsRequest- AConsumerthat will call methods onListCodeSecurityScanConfigurationsRequest.Builderto create a request.- Returns:
- Result of the ListCodeSecurityScanConfigurations operation returned by the service.
- See Also:
-
listCoverage
default ListCoverageResponse listCoverage(ListCoverageRequest listCoverageRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists coverage details for your environment.
- Parameters:
listCoverageRequest-- Returns:
- Result of the ListCoverage operation returned by the service.
- See Also:
-
listCoverage
default ListCoverageResponse listCoverage(Consumer<ListCoverageRequest.Builder> listCoverageRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists coverage details for your 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:
- Result of the ListCoverage operation returned by the service.
- See Also:
-
listCoveragePaginator
default ListCoverageIterable listCoveragePaginator(ListCoverageRequest listCoverageRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listCoverage(software.amazon.awssdk.services.inspector2.model.ListCoverageRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListCoverageIterable responses = client.listCoveragePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListCoverageIterable responses = client.listCoveragePaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListCoverageResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListCoverageIterable responses = client.listCoveragePaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listCoveragePaginator
default ListCoverageIterable listCoveragePaginator(Consumer<ListCoverageRequest.Builder> listCoverageRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listCoverage(software.amazon.awssdk.services.inspector2.model.ListCoverageRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListCoverageIterable responses = client.listCoveragePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListCoverageIterable responses = client.listCoveragePaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListCoverageResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListCoverageIterable responses = client.listCoveragePaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listCoverageStatistics
default ListCoverageStatisticsResponse listCoverageStatistics(ListCoverageStatisticsRequest listCoverageStatisticsRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists Amazon Inspector coverage statistics for your environment.
- Parameters:
listCoverageStatisticsRequest-- Returns:
- Result of the ListCoverageStatistics operation returned by the service.
- See Also:
-
listCoverageStatistics
default ListCoverageStatisticsResponse listCoverageStatistics(Consumer<ListCoverageStatisticsRequest.Builder> listCoverageStatisticsRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the ListCoverageStatistics operation returned by the service.
- See Also:
-
listCoverageStatisticsPaginator
default ListCoverageStatisticsIterable listCoverageStatisticsPaginator(ListCoverageStatisticsRequest listCoverageStatisticsRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listCoverageStatistics(software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListCoverageStatisticsIterable responses = client.listCoverageStatisticsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListCoverageStatisticsIterable responses = client .listCoverageStatisticsPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListCoverageStatisticsIterable responses = client.listCoverageStatisticsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listCoverageStatisticsPaginator
default ListCoverageStatisticsIterable listCoverageStatisticsPaginator(Consumer<ListCoverageStatisticsRequest.Builder> listCoverageStatisticsRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listCoverageStatistics(software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListCoverageStatisticsIterable responses = client.listCoverageStatisticsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListCoverageStatisticsIterable responses = client .listCoverageStatisticsPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListCoverageStatisticsIterable responses = client.listCoverageStatisticsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listDelegatedAdminAccounts
default ListDelegatedAdminAccountsResponse listDelegatedAdminAccounts(ListDelegatedAdminAccountsRequest listDelegatedAdminAccountsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists information about the Amazon Inspector delegated administrator of your organization.
- Parameters:
listDelegatedAdminAccountsRequest-- Returns:
- Result of the ListDelegatedAdminAccounts operation returned by the service.
- See Also:
-
listDelegatedAdminAccounts
default ListDelegatedAdminAccountsResponse listDelegatedAdminAccounts(Consumer<ListDelegatedAdminAccountsRequest.Builder> listDelegatedAdminAccountsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the ListDelegatedAdminAccounts operation returned by the service.
- See Also:
-
listDelegatedAdminAccountsPaginator
default ListDelegatedAdminAccountsIterable listDelegatedAdminAccountsPaginator(ListDelegatedAdminAccountsRequest listDelegatedAdminAccountsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listDelegatedAdminAccounts(software.amazon.awssdk.services.inspector2.model.ListDelegatedAdminAccountsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListDelegatedAdminAccountsIterable responses = client.listDelegatedAdminAccountsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListDelegatedAdminAccountsIterable responses = client .listDelegatedAdminAccountsPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListDelegatedAdminAccountsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListDelegatedAdminAccountsIterable responses = client.listDelegatedAdminAccountsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listDelegatedAdminAccountsPaginator
default ListDelegatedAdminAccountsIterable listDelegatedAdminAccountsPaginator(Consumer<ListDelegatedAdminAccountsRequest.Builder> listDelegatedAdminAccountsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listDelegatedAdminAccounts(software.amazon.awssdk.services.inspector2.model.ListDelegatedAdminAccountsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListDelegatedAdminAccountsIterable responses = client.listDelegatedAdminAccountsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListDelegatedAdminAccountsIterable responses = client .listDelegatedAdminAccountsPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListDelegatedAdminAccountsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListDelegatedAdminAccountsIterable responses = client.listDelegatedAdminAccountsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFilters
default ListFiltersResponse listFilters(ListFiltersRequest listFiltersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists the filters associated with your account.
- Parameters:
listFiltersRequest-- Returns:
- Result of the ListFilters operation returned by the service.
- See Also:
-
listFilters
default ListFiltersResponse listFilters(Consumer<ListFiltersRequest.Builder> listFiltersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the ListFilters operation returned by the service.
- See Also:
-
listFiltersPaginator
default ListFiltersIterable listFiltersPaginator(ListFiltersRequest listFiltersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listFilters(software.amazon.awssdk.services.inspector2.model.ListFiltersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListFiltersIterable responses = client.listFiltersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListFiltersIterable responses = client.listFiltersPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListFiltersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListFiltersIterable responses = client.listFiltersPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFiltersPaginator
default ListFiltersIterable listFiltersPaginator(Consumer<ListFiltersRequest.Builder> listFiltersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listFilters(software.amazon.awssdk.services.inspector2.model.ListFiltersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListFiltersIterable responses = client.listFiltersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListFiltersIterable responses = client.listFiltersPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListFiltersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListFiltersIterable responses = client.listFiltersPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFindingAggregations
default ListFindingAggregationsResponse listFindingAggregations(ListFindingAggregationsRequest listFindingAggregationsRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists aggregated finding data for your environment based on specific criteria.
- Parameters:
listFindingAggregationsRequest-- Returns:
- Result of the ListFindingAggregations operation returned by the service.
- See Also:
-
listFindingAggregations
default ListFindingAggregationsResponse listFindingAggregations(Consumer<ListFindingAggregationsRequest.Builder> listFindingAggregationsRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the ListFindingAggregations operation returned by the service.
- See Also:
-
listFindingAggregationsPaginator
default ListFindingAggregationsIterable listFindingAggregationsPaginator(ListFindingAggregationsRequest listFindingAggregationsRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listFindingAggregations(software.amazon.awssdk.services.inspector2.model.ListFindingAggregationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListFindingAggregationsIterable responses = client.listFindingAggregationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListFindingAggregationsIterable responses = client .listFindingAggregationsPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListFindingAggregationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListFindingAggregationsIterable responses = client.listFindingAggregationsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFindingAggregationsPaginator
default ListFindingAggregationsIterable listFindingAggregationsPaginator(Consumer<ListFindingAggregationsRequest.Builder> listFindingAggregationsRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listFindingAggregations(software.amazon.awssdk.services.inspector2.model.ListFindingAggregationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListFindingAggregationsIterable responses = client.listFindingAggregationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListFindingAggregationsIterable responses = client .listFindingAggregationsPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListFindingAggregationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListFindingAggregationsIterable responses = client.listFindingAggregationsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFindings
default ListFindingsResponse listFindings(ListFindingsRequest listFindingsRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists findings for your environment.
- Parameters:
listFindingsRequest-- Returns:
- Result of the ListFindings operation returned by the service.
- See Also:
-
listFindings
default ListFindingsResponse listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the ListFindings operation returned by the service.
- See Also:
-
listFindingsPaginator
default ListFindingsIterable listFindingsPaginator(ListFindingsRequest listFindingsRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listFindings(software.amazon.awssdk.services.inspector2.model.ListFindingsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListFindingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFindingsPaginator
default ListFindingsIterable listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listFindings(software.amazon.awssdk.services.inspector2.model.ListFindingsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListFindingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listMembers
default ListMembersResponse listMembers(ListMembersRequest listMembersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception List members associated with the Amazon Inspector delegated administrator for your organization.
- Parameters:
listMembersRequest-- Returns:
- Result of the ListMembers operation returned by the service.
- See Also:
-
listMembers
default ListMembersResponse listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the ListMembers operation returned by the service.
- See Also:
-
listMembersPaginator
default ListMembersIterable listMembersPaginator(ListMembersRequest listMembersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listMembers(software.amazon.awssdk.services.inspector2.model.ListMembersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListMembersIterable responses = client.listMembersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListMembersIterable responses = client.listMembersPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListMembersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListMembersIterable responses = client.listMembersPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listMembersPaginator
default ListMembersIterable listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listMembers(software.amazon.awssdk.services.inspector2.model.ListMembersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListMembersIterable responses = client.listMembersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListMembersIterable responses = client.listMembersPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListMembersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListMembersIterable responses = client.listMembersPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists all tags attached to a given resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listUsageTotals
default ListUsageTotalsResponse listUsageTotals(ListUsageTotalsRequest listUsageTotalsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists the Amazon Inspector usage totals over the last 30 days.
- Parameters:
listUsageTotalsRequest-- Returns:
- Result of the ListUsageTotals operation returned by the service.
- See Also:
-
listUsageTotals
default ListUsageTotalsResponse listUsageTotals(Consumer<ListUsageTotalsRequest.Builder> listUsageTotalsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the ListUsageTotals operation returned by the service.
- See Also:
-
listUsageTotalsPaginator
default ListUsageTotalsIterable listUsageTotalsPaginator(ListUsageTotalsRequest listUsageTotalsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listUsageTotals(software.amazon.awssdk.services.inspector2.model.ListUsageTotalsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListUsageTotalsIterable responses = client.listUsageTotalsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListUsageTotalsIterable responses = client .listUsageTotalsPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListUsageTotalsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListUsageTotalsIterable responses = client.listUsageTotalsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listUsageTotalsPaginator
default ListUsageTotalsIterable listUsageTotalsPaginator(Consumer<ListUsageTotalsRequest.Builder> listUsageTotalsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
listUsageTotals(software.amazon.awssdk.services.inspector2.model.ListUsageTotalsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.ListUsageTotalsIterable responses = client.listUsageTotalsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.ListUsageTotalsIterable responses = client .listUsageTotalsPaginator(request); for (software.amazon.awssdk.services.inspector2.model.ListUsageTotalsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.ListUsageTotalsIterable responses = client.listUsageTotalsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
resetEncryptionKey
default ResetEncryptionKeyResponse resetEncryptionKey(ResetEncryptionKeyRequest resetEncryptionKeyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Resets an encryption key. After the key is reset your resources will be encrypted by an Amazon Web Services owned key.
- Parameters:
resetEncryptionKeyRequest-- Returns:
- Result of the ResetEncryptionKey operation returned by the service.
- See Also:
-
resetEncryptionKey
default ResetEncryptionKeyResponse resetEncryptionKey(Consumer<ResetEncryptionKeyRequest.Builder> resetEncryptionKeyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the ResetEncryptionKey operation returned by the service.
- See Also:
-
searchVulnerabilities
default SearchVulnerabilitiesResponse searchVulnerabilities(SearchVulnerabilitiesRequest searchVulnerabilitiesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Lists Amazon Inspector coverage details for a specific vulnerability.
- Parameters:
searchVulnerabilitiesRequest-- Returns:
- Result of the SearchVulnerabilities operation returned by the service.
- See Also:
-
searchVulnerabilities
default SearchVulnerabilitiesResponse searchVulnerabilities(Consumer<SearchVulnerabilitiesRequest.Builder> searchVulnerabilitiesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the SearchVulnerabilities operation returned by the service.
- See Also:
-
searchVulnerabilitiesPaginator
default SearchVulnerabilitiesIterable searchVulnerabilitiesPaginator(SearchVulnerabilitiesRequest searchVulnerabilitiesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
searchVulnerabilities(software.amazon.awssdk.services.inspector2.model.SearchVulnerabilitiesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.SearchVulnerabilitiesIterable responses = client.searchVulnerabilitiesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.SearchVulnerabilitiesIterable responses = client .searchVulnerabilitiesPaginator(request); for (software.amazon.awssdk.services.inspector2.model.SearchVulnerabilitiesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.SearchVulnerabilitiesIterable responses = client.searchVulnerabilitiesPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
searchVulnerabilitiesPaginator
default SearchVulnerabilitiesIterable searchVulnerabilitiesPaginator(Consumer<SearchVulnerabilitiesRequest.Builder> searchVulnerabilitiesRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception This is a variant of
searchVulnerabilities(software.amazon.awssdk.services.inspector2.model.SearchVulnerabilitiesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.inspector2.paginators.SearchVulnerabilitiesIterable responses = client.searchVulnerabilitiesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.inspector2.paginators.SearchVulnerabilitiesIterable responses = client .searchVulnerabilitiesPaginator(request); for (software.amazon.awssdk.services.inspector2.model.SearchVulnerabilitiesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.inspector2.paginators.SearchVulnerabilitiesIterable responses = client.searchVulnerabilitiesPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- See Also:
-
sendCisSessionHealth
default SendCisSessionHealthResponse sendCisSessionHealth(SendCisSessionHealthRequest sendCisSessionHealthRequest) throws ConflictException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Sends a CIS session health. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
- Parameters:
sendCisSessionHealthRequest-- Returns:
- Result of the SendCisSessionHealth operation returned by the service.
- See Also:
-
sendCisSessionHealth
default SendCisSessionHealthResponse sendCisSessionHealth(Consumer<SendCisSessionHealthRequest.Builder> sendCisSessionHealthRequest) throws ConflictException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Sends a CIS session health. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
This is a convenience which creates an instance of the
SendCisSessionHealthRequest.Builderavoiding the need to create one manually viaSendCisSessionHealthRequest.builder()- Parameters:
sendCisSessionHealthRequest- AConsumerthat will call methods onSendCisSessionHealthRequest.Builderto create a request.- Returns:
- Result of the SendCisSessionHealth operation returned by the service.
- See Also:
-
sendCisSessionTelemetry
default SendCisSessionTelemetryResponse sendCisSessionTelemetry(SendCisSessionTelemetryRequest sendCisSessionTelemetryRequest) throws ConflictException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Sends a CIS session telemetry. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
- Parameters:
sendCisSessionTelemetryRequest-- Returns:
- Result of the SendCisSessionTelemetry operation returned by the service.
- See Also:
-
sendCisSessionTelemetry
default SendCisSessionTelemetryResponse sendCisSessionTelemetry(Consumer<SendCisSessionTelemetryRequest.Builder> sendCisSessionTelemetryRequest) throws ConflictException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Sends a CIS session telemetry. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
This is a convenience which creates an instance of the
SendCisSessionTelemetryRequest.Builderavoiding the need to create one manually viaSendCisSessionTelemetryRequest.builder()- Parameters:
sendCisSessionTelemetryRequest- AConsumerthat will call methods onSendCisSessionTelemetryRequest.Builderto create a request.- Returns:
- Result of the SendCisSessionTelemetry operation returned by the service.
- See Also:
-
startCisSession
default StartCisSessionResponse startCisSession(StartCisSessionRequest startCisSessionRequest) throws ConflictException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Starts a CIS session. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
- Parameters:
startCisSessionRequest-- Returns:
- Result of the StartCisSession operation returned by the service.
- See Also:
-
startCisSession
default StartCisSessionResponse startCisSession(Consumer<StartCisSessionRequest.Builder> startCisSessionRequest) throws ConflictException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Starts a CIS session. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
This is a convenience which creates an instance of the
StartCisSessionRequest.Builderavoiding the need to create one manually viaStartCisSessionRequest.builder()- Parameters:
startCisSessionRequest- AConsumerthat will call methods onStartCisSessionRequest.Builderto create a request.- Returns:
- Result of the StartCisSession operation returned by the service.
- See Also:
-
startCodeSecurityScan
default StartCodeSecurityScanResponse startCodeSecurityScan(StartCodeSecurityScanRequest startCodeSecurityScanRequest) throws ConflictException, AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Initiates a code security scan on a specified repository.
- Parameters:
startCodeSecurityScanRequest-- Returns:
- Result of the StartCodeSecurityScan operation returned by the service.
- See Also:
-
startCodeSecurityScan
default StartCodeSecurityScanResponse startCodeSecurityScan(Consumer<StartCodeSecurityScanRequest.Builder> startCodeSecurityScanRequest) throws ConflictException, AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Initiates a code security scan on a specified repository.
This is a convenience which creates an instance of the
StartCodeSecurityScanRequest.Builderavoiding the need to create one manually viaStartCodeSecurityScanRequest.builder()- Parameters:
startCodeSecurityScanRequest- AConsumerthat will call methods onStartCodeSecurityScanRequest.Builderto create a request.- Returns:
- Result of the StartCodeSecurityScan operation returned by the service.
- See Also:
-
stopCisSession
default StopCisSessionResponse stopCisSession(StopCisSessionRequest stopCisSessionRequest) throws ConflictException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Stops a CIS session. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to stop a CIS scan session for the scan ID supplied by the service.
- Parameters:
stopCisSessionRequest-- Returns:
- Result of the StopCisSession operation returned by the service.
- See Also:
-
stopCisSession
default StopCisSessionResponse stopCisSession(Consumer<StopCisSessionRequest.Builder> stopCisSessionRequest) throws ConflictException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Stops a CIS session. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to stop a CIS scan session for the scan ID supplied by the service.
This is a convenience which creates an instance of the
StopCisSessionRequest.Builderavoiding the need to create one manually viaStopCisSessionRequest.builder()- Parameters:
stopCisSessionRequest- AConsumerthat will call methods onStopCisSessionRequest.Builderto create a request.- Returns:
- Result of the StopCisSession operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws BadRequestException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Adds tags to a resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws BadRequestException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Removes tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateCisScanConfiguration
default UpdateCisScanConfigurationResponse updateCisScanConfiguration(UpdateCisScanConfigurationRequest updateCisScanConfigurationRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Updates a CIS scan configuration.
- Parameters:
updateCisScanConfigurationRequest-- Returns:
- Result of the UpdateCisScanConfiguration operation returned by the service.
- See Also:
-
updateCisScanConfiguration
default UpdateCisScanConfigurationResponse updateCisScanConfiguration(Consumer<UpdateCisScanConfigurationRequest.Builder> updateCisScanConfigurationRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Updates a CIS scan configuration.
This is a convenience which creates an instance of the
UpdateCisScanConfigurationRequest.Builderavoiding the need to create one manually viaUpdateCisScanConfigurationRequest.builder()- Parameters:
updateCisScanConfigurationRequest- AConsumerthat will call methods onUpdateCisScanConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateCisScanConfiguration operation returned by the service.
- See Also:
-
updateCodeSecurityIntegration
default UpdateCodeSecurityIntegrationResponse updateCodeSecurityIntegration(UpdateCodeSecurityIntegrationRequest updateCodeSecurityIntegrationRequest) throws ConflictException, AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Updates an existing code security integration.
After calling the
CreateCodeSecurityIntegrationoperation, you complete authentication and authorization with your provider. Next you call theUpdateCodeSecurityIntegrationoperation to provide thedetailsto complete the integration setup- Parameters:
updateCodeSecurityIntegrationRequest-- Returns:
- Result of the UpdateCodeSecurityIntegration operation returned by the service.
- See Also:
-
updateCodeSecurityIntegration
default UpdateCodeSecurityIntegrationResponse updateCodeSecurityIntegration(Consumer<UpdateCodeSecurityIntegrationRequest.Builder> updateCodeSecurityIntegrationRequest) throws ConflictException, AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Updates an existing code security integration.
After calling the
CreateCodeSecurityIntegrationoperation, you complete authentication and authorization with your provider. Next you call theUpdateCodeSecurityIntegrationoperation to provide thedetailsto complete the integration setup
This is a convenience which creates an instance of the
UpdateCodeSecurityIntegrationRequest.Builderavoiding the need to create one manually viaUpdateCodeSecurityIntegrationRequest.builder()- Parameters:
updateCodeSecurityIntegrationRequest- AConsumerthat will call methods onUpdateCodeSecurityIntegrationRequest.Builderto create a request.- Returns:
- Result of the UpdateCodeSecurityIntegration operation returned by the service.
- See Also:
-
updateCodeSecurityScanConfiguration
default UpdateCodeSecurityScanConfigurationResponse updateCodeSecurityScanConfiguration(UpdateCodeSecurityScanConfigurationRequest updateCodeSecurityScanConfigurationRequest) throws ConflictException, AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Updates an existing code security scan configuration.
- Parameters:
updateCodeSecurityScanConfigurationRequest-- Returns:
- Result of the UpdateCodeSecurityScanConfiguration operation returned by the service.
- See Also:
-
updateCodeSecurityScanConfiguration
default UpdateCodeSecurityScanConfigurationResponse updateCodeSecurityScanConfiguration(Consumer<UpdateCodeSecurityScanConfigurationRequest.Builder> updateCodeSecurityScanConfigurationRequest) throws ConflictException, AccessDeniedException, ValidationException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Updates an existing code security scan configuration.
This is a convenience which creates an instance of the
UpdateCodeSecurityScanConfigurationRequest.Builderavoiding the need to create one manually viaUpdateCodeSecurityScanConfigurationRequest.builder()- Parameters:
updateCodeSecurityScanConfigurationRequest- AConsumerthat will call methods onUpdateCodeSecurityScanConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateCodeSecurityScanConfiguration operation returned by the service.
- See Also:
-
updateConfiguration
default UpdateConfigurationResponse updateConfiguration(UpdateConfigurationRequest updateConfigurationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the UpdateConfiguration operation returned by the service.
- See Also:
-
updateConfiguration
default UpdateConfigurationResponse updateConfiguration(Consumer<UpdateConfigurationRequest.Builder> updateConfigurationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the UpdateConfiguration operation returned by the service.
- See Also:
-
updateEc2DeepInspectionConfiguration
default UpdateEc2DeepInspectionConfigurationResponse updateEc2DeepInspectionConfiguration(UpdateEc2DeepInspectionConfigurationRequest updateEc2DeepInspectionConfigurationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.
- Parameters:
updateEc2DeepInspectionConfigurationRequest-- Returns:
- Result of the UpdateEc2DeepInspectionConfiguration operation returned by the service.
- See Also:
-
updateEc2DeepInspectionConfiguration
default UpdateEc2DeepInspectionConfigurationResponse updateEc2DeepInspectionConfiguration(Consumer<UpdateEc2DeepInspectionConfigurationRequest.Builder> updateEc2DeepInspectionConfigurationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the UpdateEc2DeepInspectionConfiguration operation returned by the service.
- See Also:
-
updateEncryptionKey
default UpdateEncryptionKeyResponse updateEncryptionKey(UpdateEncryptionKeyRequest updateEncryptionKeyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Updates an encryption key. A
ResourceNotFoundExceptionmeans that an Amazon Web Services owned key is being used for encryption.- Parameters:
updateEncryptionKeyRequest-- Returns:
- Result of the UpdateEncryptionKey operation returned by the service.
- See Also:
-
updateEncryptionKey
default UpdateEncryptionKeyResponse updateEncryptionKey(Consumer<UpdateEncryptionKeyRequest.Builder> updateEncryptionKeyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Updates an encryption key. A
ResourceNotFoundExceptionmeans that an Amazon Web Services 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:
- Result of the UpdateEncryptionKey operation returned by the service.
- See Also:
-
updateFilter
default UpdateFilterResponse updateFilter(UpdateFilterRequest updateFilterRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Specifies the action that is to be applied to the findings that match the filter.
- Parameters:
updateFilterRequest-- Returns:
- Result of the UpdateFilter operation returned by the service.
- See Also:
-
updateFilter
default UpdateFilterResponse updateFilter(Consumer<UpdateFilterRequest.Builder> updateFilterRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the UpdateFilter operation returned by the service.
- See Also:
-
updateOrgEc2DeepInspectionConfiguration
default UpdateOrgEc2DeepInspectionConfigurationResponse updateOrgEc2DeepInspectionConfiguration(UpdateOrgEc2DeepInspectionConfigurationRequest updateOrgEc2DeepInspectionConfigurationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the UpdateOrgEc2DeepInspectionConfiguration operation returned by the service.
- See Also:
-
updateOrgEc2DeepInspectionConfiguration
default UpdateOrgEc2DeepInspectionConfigurationResponse updateOrgEc2DeepInspectionConfiguration(Consumer<UpdateOrgEc2DeepInspectionConfigurationRequest.Builder> updateOrgEc2DeepInspectionConfigurationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the UpdateOrgEc2DeepInspectionConfiguration operation returned by the service.
- See Also:
-
updateOrganizationConfiguration
default UpdateOrganizationConfigurationResponse updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception Updates the configurations for your Amazon Inspector organization.
- Parameters:
updateOrganizationConfigurationRequest-- Returns:
- Result of the UpdateOrganizationConfiguration operation returned by the service.
- See Also:
-
updateOrganizationConfiguration
default UpdateOrganizationConfigurationResponse updateOrganizationConfiguration(Consumer<UpdateOrganizationConfigurationRequest.Builder> updateOrganizationConfigurationRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception 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:
- Result of the UpdateOrganizationConfiguration operation returned by the service.
- See Also:
-
create
Create aInspector2Clientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aInspector2Client. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-