@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface Inspector2Client extends SdkClient
builder() method.
Amazon Inspector is a vulnerability discovery service that automates continuous scanning for security vulnerabilities within your Amazon EC2 and Amazon ECR environments.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default AssociateMemberResponse |
associateMember(AssociateMemberRequest associateMemberRequest)
Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.
|
default AssociateMemberResponse |
associateMember(Consumer<AssociateMemberRequest.Builder> associateMemberRequest)
Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.
|
default BatchGetAccountStatusResponse |
batchGetAccountStatus(BatchGetAccountStatusRequest batchGetAccountStatusRequest)
Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.
|
default BatchGetAccountStatusResponse |
batchGetAccountStatus(Consumer<BatchGetAccountStatusRequest.Builder> batchGetAccountStatusRequest)
Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.
|
default BatchGetFreeTrialInfoResponse |
batchGetFreeTrialInfo(BatchGetFreeTrialInfoRequest batchGetFreeTrialInfoRequest)
Gets free trial status for multiple Amazon Web Services accounts.
|
default BatchGetFreeTrialInfoResponse |
batchGetFreeTrialInfo(Consumer<BatchGetFreeTrialInfoRequest.Builder> batchGetFreeTrialInfoRequest)
Gets free trial status for multiple Amazon Web Services accounts.
|
static Inspector2ClientBuilder |
builder()
Create a builder that can be used to configure and create a
Inspector2Client. |
default CancelFindingsReportResponse |
cancelFindingsReport(CancelFindingsReportRequest cancelFindingsReportRequest)
Cancels the given findings report.
|
default CancelFindingsReportResponse |
cancelFindingsReport(Consumer<CancelFindingsReportRequest.Builder> cancelFindingsReportRequest)
Cancels the given findings report.
|
static Inspector2Client |
create()
Create a
Inspector2Client with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateFilterResponse |
createFilter(Consumer<CreateFilterRequest.Builder> createFilterRequest)
Creates a filter resource using specified filter criteria.
|
default CreateFilterResponse |
createFilter(CreateFilterRequest createFilterRequest)
Creates a filter resource using specified filter criteria.
|
default CreateFindingsReportResponse |
createFindingsReport(Consumer<CreateFindingsReportRequest.Builder> createFindingsReportRequest)
Creates a finding report.
|
default CreateFindingsReportResponse |
createFindingsReport(CreateFindingsReportRequest createFindingsReportRequest)
Creates a finding report.
|
default DeleteFilterResponse |
deleteFilter(Consumer<DeleteFilterRequest.Builder> deleteFilterRequest)
Deletes a filter resource.
|
default DeleteFilterResponse |
deleteFilter(DeleteFilterRequest deleteFilterRequest)
Deletes a filter resource.
|
default DescribeOrganizationConfigurationResponse |
describeOrganizationConfiguration(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest)
Describe Amazon Inspector configuration settings for an Amazon Web Services organization.
|
default DescribeOrganizationConfigurationResponse |
describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest)
Describe Amazon Inspector configuration settings for an Amazon Web Services organization.
|
default DisableResponse |
disable(Consumer<DisableRequest.Builder> disableRequest)
Disables Amazon Inspector scans for one or more Amazon Web Services accounts.
|
default DisableResponse |
disable(DisableRequest disableRequest)
Disables Amazon Inspector scans for one or more Amazon Web Services accounts.
|
default DisableDelegatedAdminAccountResponse |
disableDelegatedAdminAccount(Consumer<DisableDelegatedAdminAccountRequest.Builder> disableDelegatedAdminAccountRequest)
Disables the Amazon Inspector delegated administrator for your organization.
|
default DisableDelegatedAdminAccountResponse |
disableDelegatedAdminAccount(DisableDelegatedAdminAccountRequest disableDelegatedAdminAccountRequest)
Disables the Amazon Inspector delegated administrator for your organization.
|
default DisassociateMemberResponse |
disassociateMember(Consumer<DisassociateMemberRequest.Builder> disassociateMemberRequest)
Disassociates a member account from an Amazon Inspector delegated administrator.
|
default DisassociateMemberResponse |
disassociateMember(DisassociateMemberRequest disassociateMemberRequest)
Disassociates a member account from an Amazon Inspector delegated administrator.
|
default EnableResponse |
enable(Consumer<EnableRequest.Builder> enableRequest)
Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
|
default EnableResponse |
enable(EnableRequest enableRequest)
Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
|
default EnableDelegatedAdminAccountResponse |
enableDelegatedAdminAccount(Consumer<EnableDelegatedAdminAccountRequest.Builder> enableDelegatedAdminAccountRequest)
Enables the Amazon Inspector delegated administrator for your Organizations organization.
|
default EnableDelegatedAdminAccountResponse |
enableDelegatedAdminAccount(EnableDelegatedAdminAccountRequest enableDelegatedAdminAccountRequest)
Enables the Amazon Inspector delegated administrator for your Organizations organization.
|
default GetConfigurationResponse |
getConfiguration(Consumer<GetConfigurationRequest.Builder> getConfigurationRequest)
Retrieves setting configurations for Inspector scans.
|
default GetConfigurationResponse |
getConfiguration(GetConfigurationRequest getConfigurationRequest)
Retrieves setting configurations for Inspector scans.
|
default GetDelegatedAdminAccountResponse |
getDelegatedAdminAccount(Consumer<GetDelegatedAdminAccountRequest.Builder> getDelegatedAdminAccountRequest)
Retrieves information about the Amazon Inspector delegated administrator for your organization.
|
default GetDelegatedAdminAccountResponse |
getDelegatedAdminAccount(GetDelegatedAdminAccountRequest getDelegatedAdminAccountRequest)
Retrieves information about the Amazon Inspector delegated administrator for your organization.
|
default GetFindingsReportStatusResponse |
getFindingsReportStatus(Consumer<GetFindingsReportStatusRequest.Builder> getFindingsReportStatusRequest)
Gets the status of a findings report.
|
default GetFindingsReportStatusResponse |
getFindingsReportStatus(GetFindingsReportStatusRequest getFindingsReportStatusRequest)
Gets the status of a findings report.
|
default GetMemberResponse |
getMember(Consumer<GetMemberRequest.Builder> getMemberRequest)
Gets member information for your organization.
|
default GetMemberResponse |
getMember(GetMemberRequest getMemberRequest)
Gets member information for your organization.
|
default ListAccountPermissionsResponse |
listAccountPermissions(Consumer<ListAccountPermissionsRequest.Builder> listAccountPermissionsRequest)
Lists the permissions an account has to configure Amazon Inspector.
|
default ListAccountPermissionsResponse |
listAccountPermissions(ListAccountPermissionsRequest listAccountPermissionsRequest)
Lists the permissions an account has to configure Amazon Inspector.
|
default ListAccountPermissionsIterable |
listAccountPermissionsPaginator(Consumer<ListAccountPermissionsRequest.Builder> listAccountPermissionsRequest)
Lists the permissions an account has to configure Amazon Inspector.
|
default ListAccountPermissionsIterable |
listAccountPermissionsPaginator(ListAccountPermissionsRequest listAccountPermissionsRequest)
Lists the permissions an account has to configure Amazon Inspector.
|
default ListCoverageResponse |
listCoverage(Consumer<ListCoverageRequest.Builder> listCoverageRequest)
Lists coverage details for you environment.
|
default ListCoverageResponse |
listCoverage(ListCoverageRequest listCoverageRequest)
Lists coverage details for you environment.
|
default ListCoverageIterable |
listCoveragePaginator(Consumer<ListCoverageRequest.Builder> listCoverageRequest)
Lists coverage details for you environment.
|
default ListCoverageIterable |
listCoveragePaginator(ListCoverageRequest listCoverageRequest)
Lists coverage details for you environment.
|
default ListCoverageStatisticsResponse |
listCoverageStatistics(Consumer<ListCoverageStatisticsRequest.Builder> listCoverageStatisticsRequest)
Lists Amazon Inspector coverage statistics for your environment.
|
default ListCoverageStatisticsResponse |
listCoverageStatistics(ListCoverageStatisticsRequest listCoverageStatisticsRequest)
Lists Amazon Inspector coverage statistics for your environment.
|
default ListCoverageStatisticsIterable |
listCoverageStatisticsPaginator(Consumer<ListCoverageStatisticsRequest.Builder> listCoverageStatisticsRequest)
Lists Amazon Inspector coverage statistics for your environment.
|
default ListCoverageStatisticsIterable |
listCoverageStatisticsPaginator(ListCoverageStatisticsRequest listCoverageStatisticsRequest)
Lists Amazon Inspector coverage statistics for your environment.
|
default ListDelegatedAdminAccountsResponse |
listDelegatedAdminAccounts(Consumer<ListDelegatedAdminAccountsRequest.Builder> listDelegatedAdminAccountsRequest)
Lists information about the Amazon Inspector delegated administrator of your organization.
|
default ListDelegatedAdminAccountsResponse |
listDelegatedAdminAccounts(ListDelegatedAdminAccountsRequest listDelegatedAdminAccountsRequest)
Lists information about the Amazon Inspector delegated administrator of your organization.
|
default ListDelegatedAdminAccountsIterable |
listDelegatedAdminAccountsPaginator(Consumer<ListDelegatedAdminAccountsRequest.Builder> listDelegatedAdminAccountsRequest)
Lists information about the Amazon Inspector delegated administrator of your organization.
|
default ListDelegatedAdminAccountsIterable |
listDelegatedAdminAccountsPaginator(ListDelegatedAdminAccountsRequest listDelegatedAdminAccountsRequest)
Lists information about the Amazon Inspector delegated administrator of your organization.
|
default ListFiltersResponse |
listFilters(Consumer<ListFiltersRequest.Builder> listFiltersRequest)
Lists the filters associated with your account.
|
default ListFiltersResponse |
listFilters(ListFiltersRequest listFiltersRequest)
Lists the filters associated with your account.
|
default ListFiltersIterable |
listFiltersPaginator(Consumer<ListFiltersRequest.Builder> listFiltersRequest)
Lists the filters associated with your account.
|
default ListFiltersIterable |
listFiltersPaginator(ListFiltersRequest listFiltersRequest)
Lists the filters associated with your account.
|
default ListFindingAggregationsResponse |
listFindingAggregations(Consumer<ListFindingAggregationsRequest.Builder> listFindingAggregationsRequest)
Lists aggregated finding data for your environment based on specific criteria.
|
default ListFindingAggregationsResponse |
listFindingAggregations(ListFindingAggregationsRequest listFindingAggregationsRequest)
Lists aggregated finding data for your environment based on specific criteria.
|
default ListFindingAggregationsIterable |
listFindingAggregationsPaginator(Consumer<ListFindingAggregationsRequest.Builder> listFindingAggregationsRequest)
Lists aggregated finding data for your environment based on specific criteria.
|
default ListFindingAggregationsIterable |
listFindingAggregationsPaginator(ListFindingAggregationsRequest listFindingAggregationsRequest)
Lists aggregated finding data for your environment based on specific criteria.
|
default ListFindingsResponse |
listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
Lists findings for your environment.
|
default ListFindingsResponse |
listFindings(ListFindingsRequest listFindingsRequest)
Lists findings for your environment.
|
default ListFindingsIterable |
listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
Lists findings for your environment.
|
default ListFindingsIterable |
listFindingsPaginator(ListFindingsRequest listFindingsRequest)
Lists findings for your environment.
|
default ListMembersResponse |
listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest)
List members associated with the Amazon Inspector delegated administrator for your organization.
|
default ListMembersResponse |
listMembers(ListMembersRequest listMembersRequest)
List members associated with the Amazon Inspector delegated administrator for your organization.
|
default ListMembersIterable |
listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest)
List members associated with the Amazon Inspector delegated administrator for your organization.
|
default ListMembersIterable |
listMembersPaginator(ListMembersRequest listMembersRequest)
List members associated with the Amazon Inspector delegated administrator for your organization.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists all tags attached to a given resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags attached to a given resource.
|
default ListUsageTotalsResponse |
listUsageTotals(Consumer<ListUsageTotalsRequest.Builder> listUsageTotalsRequest)
Lists the Amazon Inspector usage totals over the last 30 days.
|
default ListUsageTotalsResponse |
listUsageTotals(ListUsageTotalsRequest listUsageTotalsRequest)
Lists the Amazon Inspector usage totals over the last 30 days.
|
default ListUsageTotalsIterable |
listUsageTotalsPaginator(Consumer<ListUsageTotalsRequest.Builder> listUsageTotalsRequest)
Lists the Amazon Inspector usage totals over the last 30 days.
|
default ListUsageTotalsIterable |
listUsageTotalsPaginator(ListUsageTotalsRequest listUsageTotalsRequest)
Lists the Amazon Inspector usage totals over the last 30 days.
|
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds tags to a resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds tags to a resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from a resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from a resource.
|
default UpdateConfigurationResponse |
updateConfiguration(Consumer<UpdateConfigurationRequest.Builder> updateConfigurationRequest)
Updates setting configurations for your Amazon Inspector account.
|
default UpdateConfigurationResponse |
updateConfiguration(UpdateConfigurationRequest updateConfigurationRequest)
Updates setting configurations for your Amazon Inspector account.
|
default UpdateFilterResponse |
updateFilter(Consumer<UpdateFilterRequest.Builder> updateFilterRequest)
Specifies the action that is to be applied to the findings that match the filter.
|
default UpdateFilterResponse |
updateFilter(UpdateFilterRequest updateFilterRequest)
Specifies the action that is to be applied to the findings that match the filter.
|
default UpdateOrganizationConfigurationResponse |
updateOrganizationConfiguration(Consumer<UpdateOrganizationConfigurationRequest.Builder> updateOrganizationConfigurationRequest)
Updates the configurations for your Amazon Inspector organization.
|
default UpdateOrganizationConfigurationResponse |
updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest)
Updates the configurations for your Amazon Inspector organization.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static Inspector2Client create()
Inspector2Client with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static Inspector2ClientBuilder builder()
Inspector2Client.default AssociateMemberResponse associateMember(AssociateMemberRequest associateMemberRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.
associateMemberRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateMemberResponse associateMember(Consumer<AssociateMemberRequest.Builder> associateMemberRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.
This is a convenience which creates an instance of the AssociateMemberRequest.Builder avoiding the need
to create one manually via AssociateMemberRequest.builder()
associateMemberRequest - A Consumer that will call methods on AssociateMemberRequest.Builder to create a request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
batchGetAccountStatusRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the
need to create one manually via BatchGetAccountStatusRequest.builder()
batchGetAccountStatusRequest - A Consumer that will call methods on BatchGetAccountStatusRequest.Builder to create a
request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchGetFreeTrialInfoResponse batchGetFreeTrialInfo(BatchGetFreeTrialInfoRequest batchGetFreeTrialInfoRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Gets free trial status for multiple Amazon Web Services accounts.
batchGetFreeTrialInfoRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the
need to create one manually via BatchGetFreeTrialInfoRequest.builder()
batchGetFreeTrialInfoRequest - A Consumer that will call methods on BatchGetFreeTrialInfoRequest.Builder to create a
request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CancelFindingsReportResponse cancelFindingsReport(CancelFindingsReportRequest cancelFindingsReportRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Cancels the given findings report.
cancelFindingsReportRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the
need to create one manually via CancelFindingsReportRequest.builder()
cancelFindingsReportRequest - A Consumer that will call methods on CancelFindingsReportRequest.Builder to create a
request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateFilterResponse createFilter(CreateFilterRequest createFilterRequest) throws ServiceQuotaExceededException, BadRequestException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Creates a filter resource using specified filter criteria.
createFilterRequest - ServiceQuotaExceededException - You have exceeded your service quota. To perform the requested action, remove some of the relevant
resources, or use Service Quotas to request a service quota increase.BadRequestException - One or more tags submitted as part of the request is not valid.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateFilterResponse createFilter(Consumer<CreateFilterRequest.Builder> createFilterRequest) throws ServiceQuotaExceededException, BadRequestException, ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Creates a filter resource using specified filter criteria.
This is a convenience which creates an instance of the CreateFilterRequest.Builder avoiding the need to
create one manually via CreateFilterRequest.builder()
createFilterRequest - A Consumer that will call methods on CreateFilterRequest.Builder to create a request.ServiceQuotaExceededException - You have exceeded your service quota. To perform the requested action, remove some of the relevant
resources, or use Service Quotas to request a service quota increase.BadRequestException - One or more tags submitted as part of the request is not valid.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateFindingsReportResponse createFindingsReport(CreateFindingsReportRequest createFindingsReportRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Creates a finding report.
createFindingsReportRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateFindingsReportResponse createFindingsReport(Consumer<CreateFindingsReportRequest.Builder> createFindingsReportRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Creates a finding report.
This is a convenience which creates an instance of the CreateFindingsReportRequest.Builder avoiding the
need to create one manually via CreateFindingsReportRequest.builder()
createFindingsReportRequest - A Consumer that will call methods on CreateFindingsReportRequest.Builder to create a
request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteFilterResponse deleteFilter(DeleteFilterRequest deleteFilterRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Deletes a filter resource.
deleteFilterRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the need to
create one manually via DeleteFilterRequest.builder()
deleteFilterRequest - A Consumer that will call methods on DeleteFilterRequest.Builder to create a request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeOrganizationConfigurationResponse describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Describe Amazon Inspector configuration settings for an Amazon Web Services organization.
describeOrganizationConfigurationRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder
avoiding the need to create one manually via DescribeOrganizationConfigurationRequest.builder()
describeOrganizationConfigurationRequest - A Consumer that will call methods on DescribeOrganizationConfigurationRequest.Builder to
create a request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
disableRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the need to create
one manually via DisableRequest.builder()
disableRequest - A Consumer that will call methods on DisableRequest.Builder to create a request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisableDelegatedAdminAccountResponse disableDelegatedAdminAccount(DisableDelegatedAdminAccountRequest disableDelegatedAdminAccountRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Disables the Amazon Inspector delegated administrator for your organization.
disableDelegatedAdminAccountRequest - ConflictException - A conflict occurred.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder
avoiding the need to create one manually via DisableDelegatedAdminAccountRequest.builder()
disableDelegatedAdminAccountRequest - A Consumer that will call methods on DisableDelegatedAdminAccountRequest.Builder to create
a request.ConflictException - A conflict occurred.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateMemberResponse disassociateMember(DisassociateMemberRequest disassociateMemberRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Disassociates a member account from an Amazon Inspector delegated administrator.
disassociateMemberRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the
need to create one manually via DisassociateMemberRequest.builder()
disassociateMemberRequest - A Consumer that will call methods on DisassociateMemberRequest.Builder to create a
request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
enableRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the need to create
one manually via EnableRequest.builder()
enableRequest - A Consumer that will call methods on EnableRequest.Builder to create a request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault EnableDelegatedAdminAccountResponse enableDelegatedAdminAccount(EnableDelegatedAdminAccountRequest enableDelegatedAdminAccountRequest) throws ConflictException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Enables the Amazon Inspector delegated administrator for your Organizations organization.
enableDelegatedAdminAccountRequest - ConflictException - A conflict occurred.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder
avoiding the need to create one manually via EnableDelegatedAdminAccountRequest.builder()
enableDelegatedAdminAccountRequest - A Consumer that will call methods on EnableDelegatedAdminAccountRequest.Builder to create
a request.ConflictException - A conflict occurred.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConfigurationResponse getConfiguration(GetConfigurationRequest getConfigurationRequest) throws ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Retrieves setting configurations for Inspector scans.
getConfigurationRequest - ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the need
to create one manually via GetConfigurationRequest.builder()
getConfigurationRequest - A Consumer that will call methods on GetConfigurationRequest.Builder to create a request.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDelegatedAdminAccountResponse getDelegatedAdminAccount(GetDelegatedAdminAccountRequest getDelegatedAdminAccountRequest) throws AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Retrieves information about the Amazon Inspector delegated administrator for your organization.
getDelegatedAdminAccountRequest - AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding
the need to create one manually via GetDelegatedAdminAccountRequest.builder()
getDelegatedAdminAccountRequest - A Consumer that will call methods on GetDelegatedAdminAccountRequest.Builder to create a
request.AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetFindingsReportStatusResponse getFindingsReportStatus(GetFindingsReportStatusRequest getFindingsReportStatusRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Gets the status of a findings report.
getFindingsReportStatusRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding
the need to create one manually via GetFindingsReportStatusRequest.builder()
getFindingsReportStatusRequest - A Consumer that will call methods on GetFindingsReportStatusRequest.Builder to create a
request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetMemberResponse getMember(GetMemberRequest getMemberRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Gets member information for your organization.
getMemberRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the need to
create one manually via GetMemberRequest.builder()
getMemberRequest - A Consumer that will call methods on GetMemberRequest.Builder to create a request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAccountPermissionsResponse listAccountPermissions(ListAccountPermissionsRequest listAccountPermissionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists the permissions an account has to configure Amazon Inspector.
listAccountPermissionsRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the
need to create one manually via ListAccountPermissionsRequest.builder()
listAccountPermissionsRequest - A Consumer that will call methods on ListAccountPermissionsRequest.Builder to create a
request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAccountPermissionsIterable listAccountPermissionsPaginator(ListAccountPermissionsRequest listAccountPermissionsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists the permissions an account has to configure Amazon Inspector.
This is a variant of
listAccountPermissions(software.amazon.awssdk.services.inspector2.model.ListAccountPermissionsRequest)
operation. The return type is a custom 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
software.amazon.awssdk.services.inspector2.paginators.ListAccountPermissionsIterable responses = client.listAccountPermissionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listAccountPermissionsRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAccountPermissionsIterable listAccountPermissionsPaginator(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 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
software.amazon.awssdk.services.inspector2.paginators.ListAccountPermissionsIterable responses = client.listAccountPermissionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.Builder avoiding the
need to create one manually via ListAccountPermissionsRequest.builder()
listAccountPermissionsRequest - A Consumer that will call methods on ListAccountPermissionsRequest.Builder to create a
request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCoverageResponse listCoverage(ListCoverageRequest listCoverageRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists coverage details for you environment.
listCoverageRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCoverageResponse listCoverage(Consumer<ListCoverageRequest.Builder> listCoverageRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists coverage details for you environment.
This is a convenience which creates an instance of the ListCoverageRequest.Builder avoiding the need to
create one manually via ListCoverageRequest.builder()
listCoverageRequest - A Consumer that will call methods on ListCoverageRequest.Builder to create a request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCoverageIterable listCoveragePaginator(ListCoverageRequest listCoverageRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists coverage details for you environment.
This is a variant of listCoverage(software.amazon.awssdk.services.inspector2.model.ListCoverageRequest)
operation. The return type is a custom 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
software.amazon.awssdk.services.inspector2.paginators.ListCoverageIterable responses = client.listCoveragePaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listCoverageRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCoverageIterable listCoveragePaginator(Consumer<ListCoverageRequest.Builder> listCoverageRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists coverage details for you environment.
This is a variant of listCoverage(software.amazon.awssdk.services.inspector2.model.ListCoverageRequest)
operation. The return type is a custom 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
software.amazon.awssdk.services.inspector2.paginators.ListCoverageIterable responses = client.listCoveragePaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.Builder avoiding the need to
create one manually via ListCoverageRequest.builder()
listCoverageRequest - A Consumer that will call methods on ListCoverageRequest.Builder to create a request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCoverageStatisticsResponse listCoverageStatistics(ListCoverageStatisticsRequest listCoverageStatisticsRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists Amazon Inspector coverage statistics for your environment.
listCoverageStatisticsRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the
need to create one manually via ListCoverageStatisticsRequest.builder()
listCoverageStatisticsRequest - A Consumer that will call methods on ListCoverageStatisticsRequest.Builder to create a
request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCoverageStatisticsIterable listCoverageStatisticsPaginator(ListCoverageStatisticsRequest listCoverageStatisticsRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists Amazon Inspector coverage statistics for your environment.
This is a variant of
listCoverageStatistics(software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsRequest)
operation. The return type is a custom 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
software.amazon.awssdk.services.inspector2.paginators.ListCoverageStatisticsIterable responses = client.listCoverageStatisticsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listCoverageStatisticsRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCoverageStatisticsIterable listCoverageStatisticsPaginator(Consumer<ListCoverageStatisticsRequest.Builder> listCoverageStatisticsRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists Amazon Inspector coverage statistics for your environment.
This is a variant of
listCoverageStatistics(software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsRequest)
operation. The return type is a custom 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
software.amazon.awssdk.services.inspector2.paginators.ListCoverageStatisticsIterable responses = client.listCoverageStatisticsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.Builder avoiding the
need to create one manually via ListCoverageStatisticsRequest.builder()
listCoverageStatisticsRequest - A Consumer that will call methods on ListCoverageStatisticsRequest.Builder to create a
request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDelegatedAdminAccountsResponse listDelegatedAdminAccounts(ListDelegatedAdminAccountsRequest listDelegatedAdminAccountsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists information about the Amazon Inspector delegated administrator of your organization.
listDelegatedAdminAccountsRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding
the need to create one manually via ListDelegatedAdminAccountsRequest.builder()
listDelegatedAdminAccountsRequest - A Consumer that will call methods on ListDelegatedAdminAccountsRequest.Builder to create a
request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDelegatedAdminAccountsIterable listDelegatedAdminAccountsPaginator(ListDelegatedAdminAccountsRequest listDelegatedAdminAccountsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists information about the Amazon Inspector delegated administrator of your organization.
This is a variant of
listDelegatedAdminAccounts(software.amazon.awssdk.services.inspector2.model.ListDelegatedAdminAccountsRequest)
operation. The return type is a custom 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
software.amazon.awssdk.services.inspector2.paginators.ListDelegatedAdminAccountsIterable responses = client.listDelegatedAdminAccountsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listDelegatedAdminAccountsRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDelegatedAdminAccountsIterable listDelegatedAdminAccountsPaginator(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 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
software.amazon.awssdk.services.inspector2.paginators.ListDelegatedAdminAccountsIterable responses = client.listDelegatedAdminAccountsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.Builder avoiding
the need to create one manually via ListDelegatedAdminAccountsRequest.builder()
listDelegatedAdminAccountsRequest - A Consumer that will call methods on ListDelegatedAdminAccountsRequest.Builder to create a
request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFiltersResponse listFilters(ListFiltersRequest listFiltersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists the filters associated with your account.
listFiltersRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the need to
create one manually via ListFiltersRequest.builder()
listFiltersRequest - A Consumer that will call methods on ListFiltersRequest.Builder to create a request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFiltersIterable listFiltersPaginator(ListFiltersRequest listFiltersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists the filters associated with your account.
This is a variant of listFilters(software.amazon.awssdk.services.inspector2.model.ListFiltersRequest)
operation. The return type is a custom 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
software.amazon.awssdk.services.inspector2.paginators.ListFiltersIterable responses = client.listFiltersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listFiltersRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFiltersIterable listFiltersPaginator(Consumer<ListFiltersRequest.Builder> listFiltersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists the filters associated with your account.
This is a variant of listFilters(software.amazon.awssdk.services.inspector2.model.ListFiltersRequest)
operation. The return type is a custom 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
software.amazon.awssdk.services.inspector2.paginators.ListFiltersIterable responses = client.listFiltersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.Builder avoiding the need to
create one manually via ListFiltersRequest.builder()
listFiltersRequest - A Consumer that will call methods on ListFiltersRequest.Builder to create a request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFindingAggregationsResponse listFindingAggregations(ListFindingAggregationsRequest listFindingAggregationsRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists aggregated finding data for your environment based on specific criteria.
listFindingAggregationsRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding
the need to create one manually via ListFindingAggregationsRequest.builder()
listFindingAggregationsRequest - A Consumer that will call methods on ListFindingAggregationsRequest.Builder to create a
request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFindingAggregationsIterable listFindingAggregationsPaginator(ListFindingAggregationsRequest listFindingAggregationsRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists aggregated finding data for your environment based on specific criteria.
This is a variant of
listFindingAggregations(software.amazon.awssdk.services.inspector2.model.ListFindingAggregationsRequest)
operation. The return type is a custom 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
software.amazon.awssdk.services.inspector2.paginators.ListFindingAggregationsIterable responses = client.listFindingAggregationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listFindingAggregationsRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFindingAggregationsIterable listFindingAggregationsPaginator(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 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
software.amazon.awssdk.services.inspector2.paginators.ListFindingAggregationsIterable responses = client.listFindingAggregationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.Builder avoiding
the need to create one manually via ListFindingAggregationsRequest.builder()
listFindingAggregationsRequest - A Consumer that will call methods on ListFindingAggregationsRequest.Builder to create a
request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFindingsResponse listFindings(ListFindingsRequest listFindingsRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists findings for your environment.
listFindingsRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the need to
create one manually via ListFindingsRequest.builder()
listFindingsRequest - A Consumer that will call methods on ListFindingsRequest.Builder to create a request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFindingsIterable listFindingsPaginator(ListFindingsRequest listFindingsRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists findings for your environment.
This is a variant of listFindings(software.amazon.awssdk.services.inspector2.model.ListFindingsRequest)
operation. The return type is a custom 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
software.amazon.awssdk.services.inspector2.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listFindingsRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFindingsIterable listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists findings for your environment.
This is a variant of listFindings(software.amazon.awssdk.services.inspector2.model.ListFindingsRequest)
operation. The return type is a custom 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
software.amazon.awssdk.services.inspector2.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.Builder avoiding the need to
create one manually via ListFindingsRequest.builder()
listFindingsRequest - A Consumer that will call methods on ListFindingsRequest.Builder to create a request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMembersResponse listMembers(ListMembersRequest listMembersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
List members associated with the Amazon Inspector delegated administrator for your organization.
listMembersRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the need to
create one manually via ListMembersRequest.builder()
listMembersRequest - A Consumer that will call methods on ListMembersRequest.Builder to create a request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMembersIterable listMembersPaginator(ListMembersRequest listMembersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
List members associated with the Amazon Inspector delegated administrator for your organization.
This is a variant of listMembers(software.amazon.awssdk.services.inspector2.model.ListMembersRequest)
operation. The return type is a custom 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
software.amazon.awssdk.services.inspector2.paginators.ListMembersIterable responses = client.listMembersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listMembersRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMembersIterable listMembersPaginator(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 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
software.amazon.awssdk.services.inspector2.paginators.ListMembersIterable responses = client.listMembersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.Builder avoiding the need to
create one manually via ListMembersRequest.builder()
listMembersRequest - A Consumer that will call methods on ListMembersRequest.Builder to create a request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists all tags attached to a given resource.
listTagsForResourceRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListUsageTotalsResponse listUsageTotals(ListUsageTotalsRequest listUsageTotalsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists the Amazon Inspector usage totals over the last 30 days.
listUsageTotalsRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the need
to create one manually via ListUsageTotalsRequest.builder()
listUsageTotalsRequest - A Consumer that will call methods on ListUsageTotalsRequest.Builder to create a request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListUsageTotalsIterable listUsageTotalsPaginator(ListUsageTotalsRequest listUsageTotalsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Lists the Amazon Inspector usage totals over the last 30 days.
This is a variant of
listUsageTotals(software.amazon.awssdk.services.inspector2.model.ListUsageTotalsRequest) operation. The
return type is a custom 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
software.amazon.awssdk.services.inspector2.paginators.ListUsageTotalsIterable responses = client.listUsageTotalsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listUsageTotalsRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListUsageTotalsIterable listUsageTotalsPaginator(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 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
software.amazon.awssdk.services.inspector2.paginators.ListUsageTotalsIterable responses = client.listUsageTotalsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.Builder avoiding the need
to create one manually via ListUsageTotalsRequest.builder()
listUsageTotalsRequest - A Consumer that will call methods on ListUsageTotalsRequest.Builder to create a request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws BadRequestException, ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Adds tags to a resource.
tagResourceRequest - BadRequestException - One or more tags submitted as part of the request is not valid.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.BadRequestException - One or more tags submitted as part of the request is not valid.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Removes tags from a resource.
untagResourceRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
updateConfigurationRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the
need to create one manually via UpdateConfigurationRequest.builder()
updateConfigurationRequest - A Consumer that will call methods on UpdateConfigurationRequest.Builder to create a
request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
updateFilterRequest - ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder avoiding the need to
create one manually via UpdateFilterRequest.builder()
updateFilterRequest - A Consumer that will call methods on UpdateFilterRequest.Builder to create a request.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The operation tried to access an invalid resource. Make sure the resource is specified correctly.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateOrganizationConfigurationResponse updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest) throws AccessDeniedException, ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, Inspector2Exception
Updates the configurations for your Amazon Inspector organization.
updateOrganizationConfigurationRequest - AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.Builder
avoiding the need to create one manually via UpdateOrganizationConfigurationRequest.builder()
updateOrganizationConfigurationRequest - A Consumer that will call methods on UpdateOrganizationConfigurationRequest.Builder to
create a request.AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The request has failed validation due to missing required fields or having invalid inputs.ThrottlingException - The limit on the number of requests per second was exceeded.InternalServerException - The request has failed due to an internal failure of the Amazon Inspector service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Inspector2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2023. All rights reserved.