@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface Inspector2AsyncClient 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 CompletableFuture<AssociateMemberResponse> |
associateMember(AssociateMemberRequest associateMemberRequest)
Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.
|
default CompletableFuture<AssociateMemberResponse> |
associateMember(Consumer<AssociateMemberRequest.Builder> associateMemberRequest)
Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.
|
default CompletableFuture<BatchGetAccountStatusResponse> |
batchGetAccountStatus(BatchGetAccountStatusRequest batchGetAccountStatusRequest)
Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.
|
default CompletableFuture<BatchGetAccountStatusResponse> |
batchGetAccountStatus(Consumer<BatchGetAccountStatusRequest.Builder> batchGetAccountStatusRequest)
Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.
|
default CompletableFuture<BatchGetFreeTrialInfoResponse> |
batchGetFreeTrialInfo(BatchGetFreeTrialInfoRequest batchGetFreeTrialInfoRequest)
Gets free trial status for multiple Amazon Web Services accounts.
|
default CompletableFuture<BatchGetFreeTrialInfoResponse> |
batchGetFreeTrialInfo(Consumer<BatchGetFreeTrialInfoRequest.Builder> batchGetFreeTrialInfoRequest)
Gets free trial status for multiple Amazon Web Services accounts.
|
static Inspector2AsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
Inspector2AsyncClient. |
default CompletableFuture<CancelFindingsReportResponse> |
cancelFindingsReport(CancelFindingsReportRequest cancelFindingsReportRequest)
Cancels the given findings report.
|
default CompletableFuture<CancelFindingsReportResponse> |
cancelFindingsReport(Consumer<CancelFindingsReportRequest.Builder> cancelFindingsReportRequest)
Cancels the given findings report.
|
static Inspector2AsyncClient |
create()
Create a
Inspector2AsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<CreateFilterResponse> |
createFilter(Consumer<CreateFilterRequest.Builder> createFilterRequest)
Creates a filter resource using specified filter criteria.
|
default CompletableFuture<CreateFilterResponse> |
createFilter(CreateFilterRequest createFilterRequest)
Creates a filter resource using specified filter criteria.
|
default CompletableFuture<CreateFindingsReportResponse> |
createFindingsReport(Consumer<CreateFindingsReportRequest.Builder> createFindingsReportRequest)
Creates a finding report.
|
default CompletableFuture<CreateFindingsReportResponse> |
createFindingsReport(CreateFindingsReportRequest createFindingsReportRequest)
Creates a finding report.
|
default CompletableFuture<DeleteFilterResponse> |
deleteFilter(Consumer<DeleteFilterRequest.Builder> deleteFilterRequest)
Deletes a filter resource.
|
default CompletableFuture<DeleteFilterResponse> |
deleteFilter(DeleteFilterRequest deleteFilterRequest)
Deletes a filter resource.
|
default CompletableFuture<DescribeOrganizationConfigurationResponse> |
describeOrganizationConfiguration(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest)
Describe Amazon Inspector configuration settings for an Amazon Web Services organization
|
default CompletableFuture<DescribeOrganizationConfigurationResponse> |
describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest)
Describe Amazon Inspector configuration settings for an Amazon Web Services organization
|
default CompletableFuture<DisableResponse> |
disable(Consumer<DisableRequest.Builder> disableRequest)
Disables Amazon Inspector scans for one or more Amazon Web Services accounts.
|
default CompletableFuture<DisableResponse> |
disable(DisableRequest disableRequest)
Disables Amazon Inspector scans for one or more Amazon Web Services accounts.
|
default CompletableFuture<DisableDelegatedAdminAccountResponse> |
disableDelegatedAdminAccount(Consumer<DisableDelegatedAdminAccountRequest.Builder> disableDelegatedAdminAccountRequest)
Disables the Amazon Inspector delegated administrator for your organization.
|
default CompletableFuture<DisableDelegatedAdminAccountResponse> |
disableDelegatedAdminAccount(DisableDelegatedAdminAccountRequest disableDelegatedAdminAccountRequest)
Disables the Amazon Inspector delegated administrator for your organization.
|
default CompletableFuture<DisassociateMemberResponse> |
disassociateMember(Consumer<DisassociateMemberRequest.Builder> disassociateMemberRequest)
Disassociates a member account from an Amazon Inspector delegated administrator.
|
default CompletableFuture<DisassociateMemberResponse> |
disassociateMember(DisassociateMemberRequest disassociateMemberRequest)
Disassociates a member account from an Amazon Inspector delegated administrator.
|
default CompletableFuture<EnableResponse> |
enable(Consumer<EnableRequest.Builder> enableRequest)
Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
|
default CompletableFuture<EnableResponse> |
enable(EnableRequest enableRequest)
Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
|
default CompletableFuture<EnableDelegatedAdminAccountResponse> |
enableDelegatedAdminAccount(Consumer<EnableDelegatedAdminAccountRequest.Builder> enableDelegatedAdminAccountRequest)
Enables the Amazon Inspector delegated administrator for your Organizations organization.
|
default CompletableFuture<EnableDelegatedAdminAccountResponse> |
enableDelegatedAdminAccount(EnableDelegatedAdminAccountRequest enableDelegatedAdminAccountRequest)
Enables the Amazon Inspector delegated administrator for your Organizations organization.
|
default CompletableFuture<GetDelegatedAdminAccountResponse> |
getDelegatedAdminAccount(Consumer<GetDelegatedAdminAccountRequest.Builder> getDelegatedAdminAccountRequest)
Retrieves information about the Amazon Inspector delegated administrator for your organization.
|
default CompletableFuture<GetDelegatedAdminAccountResponse> |
getDelegatedAdminAccount(GetDelegatedAdminAccountRequest getDelegatedAdminAccountRequest)
Retrieves information about the Amazon Inspector delegated administrator for your organization.
|
default CompletableFuture<GetFindingsReportStatusResponse> |
getFindingsReportStatus(Consumer<GetFindingsReportStatusRequest.Builder> getFindingsReportStatusRequest)
Gets the status of a findings report.
|
default CompletableFuture<GetFindingsReportStatusResponse> |
getFindingsReportStatus(GetFindingsReportStatusRequest getFindingsReportStatusRequest)
Gets the status of a findings report.
|
default CompletableFuture<GetMemberResponse> |
getMember(Consumer<GetMemberRequest.Builder> getMemberRequest)
Gets member information for your organization.
|
default CompletableFuture<GetMemberResponse> |
getMember(GetMemberRequest getMemberRequest)
Gets member information for your organization.
|
default CompletableFuture<ListAccountPermissionsResponse> |
listAccountPermissions(Consumer<ListAccountPermissionsRequest.Builder> listAccountPermissionsRequest)
Lists the permissions an account has to configure Amazon Inspector.
|
default CompletableFuture<ListAccountPermissionsResponse> |
listAccountPermissions(ListAccountPermissionsRequest listAccountPermissionsRequest)
Lists the permissions an account has to configure Amazon Inspector.
|
default ListAccountPermissionsPublisher |
listAccountPermissionsPaginator(Consumer<ListAccountPermissionsRequest.Builder> listAccountPermissionsRequest)
Lists the permissions an account has to configure Amazon Inspector.
|
default ListAccountPermissionsPublisher |
listAccountPermissionsPaginator(ListAccountPermissionsRequest listAccountPermissionsRequest)
Lists the permissions an account has to configure Amazon Inspector.
|
default CompletableFuture<ListCoverageResponse> |
listCoverage(Consumer<ListCoverageRequest.Builder> listCoverageRequest)
Lists coverage details for you environment.
|
default CompletableFuture<ListCoverageResponse> |
listCoverage(ListCoverageRequest listCoverageRequest)
Lists coverage details for you environment.
|
default ListCoveragePublisher |
listCoveragePaginator(Consumer<ListCoverageRequest.Builder> listCoverageRequest)
Lists coverage details for you environment.
|
default ListCoveragePublisher |
listCoveragePaginator(ListCoverageRequest listCoverageRequest)
Lists coverage details for you environment.
|
default CompletableFuture<ListCoverageStatisticsResponse> |
listCoverageStatistics(Consumer<ListCoverageStatisticsRequest.Builder> listCoverageStatisticsRequest)
Lists Amazon Inspector coverage statistics for your environment.
|
default CompletableFuture<ListCoverageStatisticsResponse> |
listCoverageStatistics(ListCoverageStatisticsRequest listCoverageStatisticsRequest)
Lists Amazon Inspector coverage statistics for your environment.
|
default ListCoverageStatisticsPublisher |
listCoverageStatisticsPaginator(Consumer<ListCoverageStatisticsRequest.Builder> listCoverageStatisticsRequest)
Lists Amazon Inspector coverage statistics for your environment.
|
default ListCoverageStatisticsPublisher |
listCoverageStatisticsPaginator(ListCoverageStatisticsRequest listCoverageStatisticsRequest)
Lists Amazon Inspector coverage statistics for your environment.
|
default CompletableFuture<ListDelegatedAdminAccountsResponse> |
listDelegatedAdminAccounts(Consumer<ListDelegatedAdminAccountsRequest.Builder> listDelegatedAdminAccountsRequest)
Lists information about the Amazon Inspector delegated administrator of your organization.
|
default CompletableFuture<ListDelegatedAdminAccountsResponse> |
listDelegatedAdminAccounts(ListDelegatedAdminAccountsRequest listDelegatedAdminAccountsRequest)
Lists information about the Amazon Inspector delegated administrator of your organization.
|
default ListDelegatedAdminAccountsPublisher |
listDelegatedAdminAccountsPaginator(Consumer<ListDelegatedAdminAccountsRequest.Builder> listDelegatedAdminAccountsRequest)
Lists information about the Amazon Inspector delegated administrator of your organization.
|
default ListDelegatedAdminAccountsPublisher |
listDelegatedAdminAccountsPaginator(ListDelegatedAdminAccountsRequest listDelegatedAdminAccountsRequest)
Lists information about the Amazon Inspector delegated administrator of your organization.
|
default CompletableFuture<ListFiltersResponse> |
listFilters(Consumer<ListFiltersRequest.Builder> listFiltersRequest)
Lists the filters associated with your account.
|
default CompletableFuture<ListFiltersResponse> |
listFilters(ListFiltersRequest listFiltersRequest)
Lists the filters associated with your account.
|
default ListFiltersPublisher |
listFiltersPaginator(Consumer<ListFiltersRequest.Builder> listFiltersRequest)
Lists the filters associated with your account.
|
default ListFiltersPublisher |
listFiltersPaginator(ListFiltersRequest listFiltersRequest)
Lists the filters associated with your account.
|
default CompletableFuture<ListFindingAggregationsResponse> |
listFindingAggregations(Consumer<ListFindingAggregationsRequest.Builder> listFindingAggregationsRequest)
Lists aggregated finding data for your environment based on specific criteria.
|
default CompletableFuture<ListFindingAggregationsResponse> |
listFindingAggregations(ListFindingAggregationsRequest listFindingAggregationsRequest)
Lists aggregated finding data for your environment based on specific criteria.
|
default ListFindingAggregationsPublisher |
listFindingAggregationsPaginator(Consumer<ListFindingAggregationsRequest.Builder> listFindingAggregationsRequest)
Lists aggregated finding data for your environment based on specific criteria.
|
default ListFindingAggregationsPublisher |
listFindingAggregationsPaginator(ListFindingAggregationsRequest listFindingAggregationsRequest)
Lists aggregated finding data for your environment based on specific criteria.
|
default CompletableFuture<ListFindingsResponse> |
listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
Lists findings for your environment.
|
default CompletableFuture<ListFindingsResponse> |
listFindings(ListFindingsRequest listFindingsRequest)
Lists findings for your environment.
|
default ListFindingsPublisher |
listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
Lists findings for your environment.
|
default ListFindingsPublisher |
listFindingsPaginator(ListFindingsRequest listFindingsRequest)
Lists findings for your environment.
|
default CompletableFuture<ListMembersResponse> |
listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest)
List members associated with the Amazon Inspector delegated administrator for your organization.
|
default CompletableFuture<ListMembersResponse> |
listMembers(ListMembersRequest listMembersRequest)
List members associated with the Amazon Inspector delegated administrator for your organization.
|
default ListMembersPublisher |
listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest)
List members associated with the Amazon Inspector delegated administrator for your organization.
|
default ListMembersPublisher |
listMembersPaginator(ListMembersRequest listMembersRequest)
List members associated with the Amazon Inspector delegated administrator for your organization.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists all tags attached to a given resource.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags attached to a given resource.
|
default CompletableFuture<ListUsageTotalsResponse> |
listUsageTotals(Consumer<ListUsageTotalsRequest.Builder> listUsageTotalsRequest)
Lists the Amazon Inspector usage totals over the last 30 days.
|
default CompletableFuture<ListUsageTotalsResponse> |
listUsageTotals(ListUsageTotalsRequest listUsageTotalsRequest)
Lists the Amazon Inspector usage totals over the last 30 days.
|
default ListUsageTotalsPublisher |
listUsageTotalsPaginator(Consumer<ListUsageTotalsRequest.Builder> listUsageTotalsRequest)
Lists the Amazon Inspector usage totals over the last 30 days.
|
default ListUsageTotalsPublisher |
listUsageTotalsPaginator(ListUsageTotalsRequest listUsageTotalsRequest)
Lists the Amazon Inspector usage totals over the last 30 days.
|
default CompletableFuture<TagResourceResponse> |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds tags to a resource.
|
default CompletableFuture<TagResourceResponse> |
tagResource(TagResourceRequest tagResourceRequest)
Adds tags to a resource.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from a resource.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from a resource.
|
default CompletableFuture<UpdateFilterResponse> |
updateFilter(Consumer<UpdateFilterRequest.Builder> updateFilterRequest)
Specifies the action that is to be applied to the findings that match the filter.
|
default CompletableFuture<UpdateFilterResponse> |
updateFilter(UpdateFilterRequest updateFilterRequest)
Specifies the action that is to be applied to the findings that match the filter.
|
default CompletableFuture<UpdateOrganizationConfigurationResponse> |
updateOrganizationConfiguration(Consumer<UpdateOrganizationConfigurationRequest.Builder> updateOrganizationConfigurationRequest)
Updates the configurations for your Amazon Inspector organization.
|
default CompletableFuture<UpdateOrganizationConfigurationResponse> |
updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest)
Updates the configurations for your Amazon Inspector organization.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static Inspector2AsyncClient create()
Inspector2AsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static Inspector2AsyncClientBuilder builder()
Inspector2AsyncClient.default CompletableFuture<AssociateMemberResponse> associateMember(AssociateMemberRequest associateMemberRequest)
Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.
associateMemberRequest - default CompletableFuture<AssociateMemberResponse> associateMember(Consumer<AssociateMemberRequest.Builder> associateMemberRequest)
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.default CompletableFuture<BatchGetAccountStatusResponse> batchGetAccountStatus(BatchGetAccountStatusRequest batchGetAccountStatusRequest)
Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.
batchGetAccountStatusRequest - default CompletableFuture<BatchGetAccountStatusResponse> batchGetAccountStatus(Consumer<BatchGetAccountStatusRequest.Builder> batchGetAccountStatusRequest)
Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.
This is a convenience which creates an instance of the BatchGetAccountStatusRequest.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.default CompletableFuture<BatchGetFreeTrialInfoResponse> batchGetFreeTrialInfo(BatchGetFreeTrialInfoRequest batchGetFreeTrialInfoRequest)
Gets free trial status for multiple Amazon Web Services accounts.
batchGetFreeTrialInfoRequest - default CompletableFuture<BatchGetFreeTrialInfoResponse> batchGetFreeTrialInfo(Consumer<BatchGetFreeTrialInfoRequest.Builder> batchGetFreeTrialInfoRequest)
Gets free trial status for multiple Amazon Web Services accounts.
This is a convenience which creates an instance of the BatchGetFreeTrialInfoRequest.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.default CompletableFuture<CancelFindingsReportResponse> cancelFindingsReport(CancelFindingsReportRequest cancelFindingsReportRequest)
Cancels the given findings report.
cancelFindingsReportRequest - default CompletableFuture<CancelFindingsReportResponse> cancelFindingsReport(Consumer<CancelFindingsReportRequest.Builder> cancelFindingsReportRequest)
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.default CompletableFuture<CreateFilterResponse> createFilter(CreateFilterRequest createFilterRequest)
Creates a filter resource using specified filter criteria.
createFilterRequest - default CompletableFuture<CreateFilterResponse> createFilter(Consumer<CreateFilterRequest.Builder> createFilterRequest)
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.default CompletableFuture<CreateFindingsReportResponse> createFindingsReport(CreateFindingsReportRequest createFindingsReportRequest)
Creates a finding report.
createFindingsReportRequest - default CompletableFuture<CreateFindingsReportResponse> createFindingsReport(Consumer<CreateFindingsReportRequest.Builder> createFindingsReportRequest)
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.default CompletableFuture<DeleteFilterResponse> deleteFilter(DeleteFilterRequest deleteFilterRequest)
Deletes a filter resource.
deleteFilterRequest - default CompletableFuture<DeleteFilterResponse> deleteFilter(Consumer<DeleteFilterRequest.Builder> deleteFilterRequest)
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.default CompletableFuture<DescribeOrganizationConfigurationResponse> describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest)
Describe Amazon Inspector configuration settings for an Amazon Web Services organization
describeOrganizationConfigurationRequest - default CompletableFuture<DescribeOrganizationConfigurationResponse> describeOrganizationConfiguration(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest)
Describe Amazon Inspector configuration settings for an Amazon Web Services organization
This is a convenience which creates an instance of the DescribeOrganizationConfigurationRequest.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.default CompletableFuture<DisableResponse> disable(DisableRequest disableRequest)
Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling all scan types in an account disables the Amazon Inspector service.
disableRequest - default CompletableFuture<DisableResponse> disable(Consumer<DisableRequest.Builder> disableRequest)
Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling all scan types in an account disables the Amazon Inspector service.
This is a convenience which creates an instance of the DisableRequest.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.default CompletableFuture<DisableDelegatedAdminAccountResponse> disableDelegatedAdminAccount(DisableDelegatedAdminAccountRequest disableDelegatedAdminAccountRequest)
Disables the Amazon Inspector delegated administrator for your organization.
disableDelegatedAdminAccountRequest - default CompletableFuture<DisableDelegatedAdminAccountResponse> disableDelegatedAdminAccount(Consumer<DisableDelegatedAdminAccountRequest.Builder> disableDelegatedAdminAccountRequest)
Disables the Amazon Inspector delegated administrator for your organization.
This is a convenience which creates an instance of the DisableDelegatedAdminAccountRequest.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.default CompletableFuture<DisassociateMemberResponse> disassociateMember(DisassociateMemberRequest disassociateMemberRequest)
Disassociates a member account from an Amazon Inspector delegated administrator.
disassociateMemberRequest - default CompletableFuture<DisassociateMemberResponse> disassociateMember(Consumer<DisassociateMemberRequest.Builder> disassociateMemberRequest)
Disassociates a member account from an Amazon Inspector delegated administrator.
This is a convenience which creates an instance of the DisassociateMemberRequest.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.default CompletableFuture<EnableResponse> enable(EnableRequest enableRequest)
Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
enableRequest - default CompletableFuture<EnableResponse> enable(Consumer<EnableRequest.Builder> enableRequest)
Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
This is a convenience which creates an instance of the EnableRequest.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.default CompletableFuture<EnableDelegatedAdminAccountResponse> enableDelegatedAdminAccount(EnableDelegatedAdminAccountRequest enableDelegatedAdminAccountRequest)
Enables the Amazon Inspector delegated administrator for your Organizations organization.
enableDelegatedAdminAccountRequest - default CompletableFuture<EnableDelegatedAdminAccountResponse> enableDelegatedAdminAccount(Consumer<EnableDelegatedAdminAccountRequest.Builder> enableDelegatedAdminAccountRequest)
Enables the Amazon Inspector delegated administrator for your Organizations organization.
This is a convenience which creates an instance of the EnableDelegatedAdminAccountRequest.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.default CompletableFuture<GetDelegatedAdminAccountResponse> getDelegatedAdminAccount(GetDelegatedAdminAccountRequest getDelegatedAdminAccountRequest)
Retrieves information about the Amazon Inspector delegated administrator for your organization.
getDelegatedAdminAccountRequest - default CompletableFuture<GetDelegatedAdminAccountResponse> getDelegatedAdminAccount(Consumer<GetDelegatedAdminAccountRequest.Builder> getDelegatedAdminAccountRequest)
Retrieves information about the Amazon Inspector delegated administrator for your organization.
This is a convenience which creates an instance of the GetDelegatedAdminAccountRequest.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.default CompletableFuture<GetFindingsReportStatusResponse> getFindingsReportStatus(GetFindingsReportStatusRequest getFindingsReportStatusRequest)
Gets the status of a findings report.
getFindingsReportStatusRequest - default CompletableFuture<GetFindingsReportStatusResponse> getFindingsReportStatus(Consumer<GetFindingsReportStatusRequest.Builder> getFindingsReportStatusRequest)
Gets the status of a findings report.
This is a convenience which creates an instance of the GetFindingsReportStatusRequest.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.default CompletableFuture<GetMemberResponse> getMember(GetMemberRequest getMemberRequest)
Gets member information for your organization.
getMemberRequest - default CompletableFuture<GetMemberResponse> getMember(Consumer<GetMemberRequest.Builder> getMemberRequest)
Gets member information for your organization.
This is a convenience which creates an instance of the GetMemberRequest.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.default CompletableFuture<ListAccountPermissionsResponse> listAccountPermissions(ListAccountPermissionsRequest listAccountPermissionsRequest)
Lists the permissions an account has to configure Amazon Inspector.
listAccountPermissionsRequest - default CompletableFuture<ListAccountPermissionsResponse> listAccountPermissions(Consumer<ListAccountPermissionsRequest.Builder> listAccountPermissionsRequest)
Lists the permissions an account has to configure Amazon Inspector.
This is a convenience which creates an instance of the ListAccountPermissionsRequest.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.default ListAccountPermissionsPublisher listAccountPermissionsPaginator(ListAccountPermissionsRequest listAccountPermissionsRequest)
Lists the permissions an account has to configure Amazon Inspector.
This is a variant of
listAccountPermissions(software.amazon.awssdk.services.inspector2.model.ListAccountPermissionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.inspector2.paginators.ListAccountPermissionsPublisher publisher = client.listAccountPermissionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector2.paginators.ListAccountPermissionsPublisher publisher = client.listAccountPermissionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListAccountPermissionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector2.model.ListAccountPermissionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default ListAccountPermissionsPublisher listAccountPermissionsPaginator(Consumer<ListAccountPermissionsRequest.Builder> listAccountPermissionsRequest)
Lists the permissions an account has to configure Amazon Inspector.
This is a variant of
listAccountPermissions(software.amazon.awssdk.services.inspector2.model.ListAccountPermissionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.inspector2.paginators.ListAccountPermissionsPublisher publisher = client.listAccountPermissionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector2.paginators.ListAccountPermissionsPublisher publisher = client.listAccountPermissionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListAccountPermissionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector2.model.ListAccountPermissionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListCoverageResponse> listCoverage(ListCoverageRequest listCoverageRequest)
Lists coverage details for you environment.
listCoverageRequest - default CompletableFuture<ListCoverageResponse> listCoverage(Consumer<ListCoverageRequest.Builder> listCoverageRequest)
Lists coverage details for you environment.
This is a convenience which creates an instance of the ListCoverageRequest.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.default ListCoveragePublisher listCoveragePaginator(ListCoverageRequest listCoverageRequest)
Lists coverage details for you environment.
This is a variant of listCoverage(software.amazon.awssdk.services.inspector2.model.ListCoverageRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.inspector2.paginators.ListCoveragePublisher publisher = client.listCoveragePaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector2.paginators.ListCoveragePublisher publisher = client.listCoveragePaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListCoverageResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector2.model.ListCoverageResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default ListCoveragePublisher listCoveragePaginator(Consumer<ListCoverageRequest.Builder> listCoverageRequest)
Lists coverage details for you environment.
This is a variant of listCoverage(software.amazon.awssdk.services.inspector2.model.ListCoverageRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.inspector2.paginators.ListCoveragePublisher publisher = client.listCoveragePaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector2.paginators.ListCoveragePublisher publisher = client.listCoveragePaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListCoverageResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector2.model.ListCoverageResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListCoverageStatisticsResponse> listCoverageStatistics(ListCoverageStatisticsRequest listCoverageStatisticsRequest)
Lists Amazon Inspector coverage statistics for your environment.
listCoverageStatisticsRequest - default CompletableFuture<ListCoverageStatisticsResponse> listCoverageStatistics(Consumer<ListCoverageStatisticsRequest.Builder> listCoverageStatisticsRequest)
Lists Amazon Inspector coverage statistics for your environment.
This is a convenience which creates an instance of the ListCoverageStatisticsRequest.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.default ListCoverageStatisticsPublisher listCoverageStatisticsPaginator(ListCoverageStatisticsRequest listCoverageStatisticsRequest)
Lists Amazon Inspector coverage statistics for your environment.
This is a variant of
listCoverageStatistics(software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.inspector2.paginators.ListCoverageStatisticsPublisher publisher = client.listCoverageStatisticsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector2.paginators.ListCoverageStatisticsPublisher publisher = client.listCoverageStatisticsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default ListCoverageStatisticsPublisher listCoverageStatisticsPaginator(Consumer<ListCoverageStatisticsRequest.Builder> listCoverageStatisticsRequest)
Lists Amazon Inspector coverage statistics for your environment.
This is a variant of
listCoverageStatistics(software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.inspector2.paginators.ListCoverageStatisticsPublisher publisher = client.listCoverageStatisticsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector2.paginators.ListCoverageStatisticsPublisher publisher = client.listCoverageStatisticsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector2.model.ListCoverageStatisticsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListDelegatedAdminAccountsResponse> listDelegatedAdminAccounts(ListDelegatedAdminAccountsRequest listDelegatedAdminAccountsRequest)
Lists information about the Amazon Inspector delegated administrator of your organization.
listDelegatedAdminAccountsRequest - default CompletableFuture<ListDelegatedAdminAccountsResponse> listDelegatedAdminAccounts(Consumer<ListDelegatedAdminAccountsRequest.Builder> listDelegatedAdminAccountsRequest)
Lists information about the Amazon Inspector delegated administrator of your organization.
This is a convenience which creates an instance of the ListDelegatedAdminAccountsRequest.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.default ListDelegatedAdminAccountsPublisher listDelegatedAdminAccountsPaginator(ListDelegatedAdminAccountsRequest listDelegatedAdminAccountsRequest)
Lists information about the Amazon Inspector delegated administrator of your organization.
This is a variant of
listDelegatedAdminAccounts(software.amazon.awssdk.services.inspector2.model.ListDelegatedAdminAccountsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.inspector2.paginators.ListDelegatedAdminAccountsPublisher publisher = client.listDelegatedAdminAccountsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector2.paginators.ListDelegatedAdminAccountsPublisher publisher = client.listDelegatedAdminAccountsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListDelegatedAdminAccountsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector2.model.ListDelegatedAdminAccountsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default ListDelegatedAdminAccountsPublisher listDelegatedAdminAccountsPaginator(Consumer<ListDelegatedAdminAccountsRequest.Builder> listDelegatedAdminAccountsRequest)
Lists information about the Amazon Inspector delegated administrator of your organization.
This is a variant of
listDelegatedAdminAccounts(software.amazon.awssdk.services.inspector2.model.ListDelegatedAdminAccountsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.inspector2.paginators.ListDelegatedAdminAccountsPublisher publisher = client.listDelegatedAdminAccountsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector2.paginators.ListDelegatedAdminAccountsPublisher publisher = client.listDelegatedAdminAccountsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListDelegatedAdminAccountsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector2.model.ListDelegatedAdminAccountsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListFiltersResponse> listFilters(ListFiltersRequest listFiltersRequest)
Lists the filters associated with your account.
listFiltersRequest - default CompletableFuture<ListFiltersResponse> listFilters(Consumer<ListFiltersRequest.Builder> listFiltersRequest)
Lists the filters associated with your account.
This is a convenience which creates an instance of the ListFiltersRequest.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.default ListFiltersPublisher listFiltersPaginator(ListFiltersRequest listFiltersRequest)
Lists the filters associated with your account.
This is a variant of listFilters(software.amazon.awssdk.services.inspector2.model.ListFiltersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.inspector2.paginators.ListFiltersPublisher publisher = client.listFiltersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector2.paginators.ListFiltersPublisher publisher = client.listFiltersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListFiltersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector2.model.ListFiltersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default ListFiltersPublisher listFiltersPaginator(Consumer<ListFiltersRequest.Builder> listFiltersRequest)
Lists the filters associated with your account.
This is a variant of listFilters(software.amazon.awssdk.services.inspector2.model.ListFiltersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.inspector2.paginators.ListFiltersPublisher publisher = client.listFiltersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector2.paginators.ListFiltersPublisher publisher = client.listFiltersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListFiltersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector2.model.ListFiltersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListFindingAggregationsResponse> listFindingAggregations(ListFindingAggregationsRequest listFindingAggregationsRequest)
Lists aggregated finding data for your environment based on specific criteria.
listFindingAggregationsRequest - default CompletableFuture<ListFindingAggregationsResponse> listFindingAggregations(Consumer<ListFindingAggregationsRequest.Builder> listFindingAggregationsRequest)
Lists aggregated finding data for your environment based on specific criteria.
This is a convenience which creates an instance of the ListFindingAggregationsRequest.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.default ListFindingAggregationsPublisher listFindingAggregationsPaginator(ListFindingAggregationsRequest listFindingAggregationsRequest)
Lists aggregated finding data for your environment based on specific criteria.
This is a variant of
listFindingAggregations(software.amazon.awssdk.services.inspector2.model.ListFindingAggregationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.inspector2.paginators.ListFindingAggregationsPublisher publisher = client.listFindingAggregationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector2.paginators.ListFindingAggregationsPublisher publisher = client.listFindingAggregationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListFindingAggregationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector2.model.ListFindingAggregationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default ListFindingAggregationsPublisher listFindingAggregationsPaginator(Consumer<ListFindingAggregationsRequest.Builder> listFindingAggregationsRequest)
Lists aggregated finding data for your environment based on specific criteria.
This is a variant of
listFindingAggregations(software.amazon.awssdk.services.inspector2.model.ListFindingAggregationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.inspector2.paginators.ListFindingAggregationsPublisher publisher = client.listFindingAggregationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector2.paginators.ListFindingAggregationsPublisher publisher = client.listFindingAggregationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListFindingAggregationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector2.model.ListFindingAggregationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListFindingsResponse> listFindings(ListFindingsRequest listFindingsRequest)
Lists findings for your environment.
listFindingsRequest - default CompletableFuture<ListFindingsResponse> listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
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.default ListFindingsPublisher listFindingsPaginator(ListFindingsRequest listFindingsRequest)
Lists findings for your environment.
This is a variant of listFindings(software.amazon.awssdk.services.inspector2.model.ListFindingsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.inspector2.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector2.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListFindingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector2.model.ListFindingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default ListFindingsPublisher listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
Lists findings for your environment.
This is a variant of listFindings(software.amazon.awssdk.services.inspector2.model.ListFindingsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.inspector2.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector2.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListFindingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector2.model.ListFindingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListMembersResponse> listMembers(ListMembersRequest listMembersRequest)
List members associated with the Amazon Inspector delegated administrator for your organization.
listMembersRequest - default CompletableFuture<ListMembersResponse> listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest)
List members associated with the Amazon Inspector delegated administrator for your organization.
This is a convenience which creates an instance of the ListMembersRequest.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.default ListMembersPublisher listMembersPaginator(ListMembersRequest listMembersRequest)
List members associated with the Amazon Inspector delegated administrator for your organization.
This is a variant of listMembers(software.amazon.awssdk.services.inspector2.model.ListMembersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.inspector2.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector2.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListMembersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector2.model.ListMembersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default ListMembersPublisher listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest)
List members associated with the Amazon Inspector delegated administrator for your organization.
This is a variant of listMembers(software.amazon.awssdk.services.inspector2.model.ListMembersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.inspector2.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector2.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListMembersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector2.model.ListMembersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags attached to a given resource.
listTagsForResourceRequest - default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists all tags attached to a given resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.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.default CompletableFuture<ListUsageTotalsResponse> listUsageTotals(ListUsageTotalsRequest listUsageTotalsRequest)
Lists the Amazon Inspector usage totals over the last 30 days.
listUsageTotalsRequest - default CompletableFuture<ListUsageTotalsResponse> listUsageTotals(Consumer<ListUsageTotalsRequest.Builder> listUsageTotalsRequest)
Lists the Amazon Inspector usage totals over the last 30 days.
This is a convenience which creates an instance of the ListUsageTotalsRequest.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.default ListUsageTotalsPublisher listUsageTotalsPaginator(ListUsageTotalsRequest listUsageTotalsRequest)
Lists the Amazon Inspector usage totals over the last 30 days.
This is a variant of
listUsageTotals(software.amazon.awssdk.services.inspector2.model.ListUsageTotalsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.inspector2.paginators.ListUsageTotalsPublisher publisher = client.listUsageTotalsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector2.paginators.ListUsageTotalsPublisher publisher = client.listUsageTotalsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListUsageTotalsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector2.model.ListUsageTotalsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default ListUsageTotalsPublisher listUsageTotalsPaginator(Consumer<ListUsageTotalsRequest.Builder> listUsageTotalsRequest)
Lists the Amazon Inspector usage totals over the last 30 days.
This is a variant of
listUsageTotals(software.amazon.awssdk.services.inspector2.model.ListUsageTotalsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.inspector2.paginators.ListUsageTotalsPublisher publisher = client.listUsageTotalsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.inspector2.paginators.ListUsageTotalsPublisher publisher = client.listUsageTotalsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.inspector2.model.ListUsageTotalsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.inspector2.model.ListUsageTotalsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Adds tags to a resource.
tagResourceRequest - default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
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.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from a resource.
untagResourceRequest - default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
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.default CompletableFuture<UpdateFilterResponse> updateFilter(UpdateFilterRequest updateFilterRequest)
Specifies the action that is to be applied to the findings that match the filter.
updateFilterRequest - default CompletableFuture<UpdateFilterResponse> updateFilter(Consumer<UpdateFilterRequest.Builder> updateFilterRequest)
Specifies the action that is to be applied to the findings that match the filter.
This is a convenience which creates an instance of the UpdateFilterRequest.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.default CompletableFuture<UpdateOrganizationConfigurationResponse> updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest)
Updates the configurations for your Amazon Inspector organization.
updateOrganizationConfigurationRequest - default CompletableFuture<UpdateOrganizationConfigurationResponse> updateOrganizationConfiguration(Consumer<UpdateOrganizationConfigurationRequest.Builder> updateOrganizationConfigurationRequest)
Updates the configurations for your Amazon Inspector organization.
This is a convenience which creates an instance of the UpdateOrganizationConfigurationRequest.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.Copyright © 2022. All rights reserved.