@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface SecurityHubAsyncClient extends AwsClient
builder()
method.
Security Hub provides you with a comprehensive view of the security state of your Amazon Web Services environment and resources. It also provides you with the readiness status of your environment based on controls from supported security standards. Security Hub collects security data from Amazon Web Services accounts, services, and integrated third-party products and helps you analyze security trends in your environment to identify the highest priority security issues. For more information about Security Hub, see the Security HubUser Guide.
When you use operations in the Security Hub API, the requests are executed only in the Amazon Web Services Region that is currently active or in the specific Amazon Web Services Region that you specify in your request. Any configuration or settings change that results from the operation is applied only to that Region. To make the same change in other Regions, run the same command for each Region in which you want to apply the change.
For example, if your Region is set to us-west-2, when you use CreateMembers to add a member
account to Security Hub, the association of the member account with the administrator account is created only in the
us-west-2 Region. Security Hub must be enabled for the member account in the same Region that the
invitation was sent from.
The following throttling limits apply to using Security Hub API operations.
BatchEnableStandards - RateLimit of 1 request per second. BurstLimit of 1
request per second.
GetFindings - RateLimit of 3 requests per second. BurstLimit of 6 requests per
second.
BatchImportFindings - RateLimit of 10 requests per second. BurstLimit of 30
requests per second.
BatchUpdateFindings - RateLimit of 10 requests per second. BurstLimit of 30
requests per second.
UpdateStandardsControl - RateLimit of 1 request per second. BurstLimit of 5
requests per second.
All other operations - RateLimit of 10 requests per second. BurstLimit of 30 requests per
second.
| 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<AcceptAdministratorInvitationResponse> |
acceptAdministratorInvitation(AcceptAdministratorInvitationRequest acceptAdministratorInvitationRequest)
Accepts the invitation to be a member account and be monitored by the Security Hub administrator account that the
invitation was sent from.
|
default CompletableFuture<AcceptAdministratorInvitationResponse> |
acceptAdministratorInvitation(Consumer<AcceptAdministratorInvitationRequest.Builder> acceptAdministratorInvitationRequest)
Accepts the invitation to be a member account and be monitored by the Security Hub administrator account that the
invitation was sent from.
|
default CompletableFuture<AcceptInvitationResponse> |
acceptInvitation(AcceptInvitationRequest acceptInvitationRequest)
Deprecated.
This API has been deprecated, use AcceptAdministratorInvitation API instead.
|
default CompletableFuture<AcceptInvitationResponse> |
acceptInvitation(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest)
Deprecated.
This API has been deprecated, use AcceptAdministratorInvitation API instead.
|
default CompletableFuture<BatchDeleteAutomationRulesResponse> |
batchDeleteAutomationRules(BatchDeleteAutomationRulesRequest batchDeleteAutomationRulesRequest)
Deletes one or more automation rules.
|
default CompletableFuture<BatchDeleteAutomationRulesResponse> |
batchDeleteAutomationRules(Consumer<BatchDeleteAutomationRulesRequest.Builder> batchDeleteAutomationRulesRequest)
Deletes one or more automation rules.
|
default CompletableFuture<BatchDisableStandardsResponse> |
batchDisableStandards(BatchDisableStandardsRequest batchDisableStandardsRequest)
Disables the standards specified by the provided
StandardsSubscriptionArns. |
default CompletableFuture<BatchDisableStandardsResponse> |
batchDisableStandards(Consumer<BatchDisableStandardsRequest.Builder> batchDisableStandardsRequest)
Disables the standards specified by the provided
StandardsSubscriptionArns. |
default CompletableFuture<BatchEnableStandardsResponse> |
batchEnableStandards(BatchEnableStandardsRequest batchEnableStandardsRequest)
Enables the standards specified by the provided
StandardsArn. |
default CompletableFuture<BatchEnableStandardsResponse> |
batchEnableStandards(Consumer<BatchEnableStandardsRequest.Builder> batchEnableStandardsRequest)
Enables the standards specified by the provided
StandardsArn. |
default CompletableFuture<BatchGetAutomationRulesResponse> |
batchGetAutomationRules(BatchGetAutomationRulesRequest batchGetAutomationRulesRequest)
Retrieves a list of details for automation rules based on rule Amazon Resource Names (ARNs).
|
default CompletableFuture<BatchGetAutomationRulesResponse> |
batchGetAutomationRules(Consumer<BatchGetAutomationRulesRequest.Builder> batchGetAutomationRulesRequest)
Retrieves a list of details for automation rules based on rule Amazon Resource Names (ARNs).
|
default CompletableFuture<BatchGetSecurityControlsResponse> |
batchGetSecurityControls(BatchGetSecurityControlsRequest batchGetSecurityControlsRequest)
Provides details about a batch of security controls for the current Amazon Web Services account and Amazon Web
Services Region.
|
default CompletableFuture<BatchGetSecurityControlsResponse> |
batchGetSecurityControls(Consumer<BatchGetSecurityControlsRequest.Builder> batchGetSecurityControlsRequest)
Provides details about a batch of security controls for the current Amazon Web Services account and Amazon Web
Services Region.
|
default CompletableFuture<BatchGetStandardsControlAssociationsResponse> |
batchGetStandardsControlAssociations(BatchGetStandardsControlAssociationsRequest batchGetStandardsControlAssociationsRequest)
For a batch of security controls and standards, identifies whether each control is currently enabled or disabled
in a standard.
|
default CompletableFuture<BatchGetStandardsControlAssociationsResponse> |
batchGetStandardsControlAssociations(Consumer<BatchGetStandardsControlAssociationsRequest.Builder> batchGetStandardsControlAssociationsRequest)
For a batch of security controls and standards, identifies whether each control is currently enabled or disabled
in a standard.
|
default CompletableFuture<BatchImportFindingsResponse> |
batchImportFindings(BatchImportFindingsRequest batchImportFindingsRequest)
Imports security findings generated by a finding provider into Security Hub.
|
default CompletableFuture<BatchImportFindingsResponse> |
batchImportFindings(Consumer<BatchImportFindingsRequest.Builder> batchImportFindingsRequest)
Imports security findings generated by a finding provider into Security Hub.
|
default CompletableFuture<BatchUpdateAutomationRulesResponse> |
batchUpdateAutomationRules(BatchUpdateAutomationRulesRequest batchUpdateAutomationRulesRequest)
Updates one or more automation rules based on rule Amazon Resource Names (ARNs) and input parameters.
|
default CompletableFuture<BatchUpdateAutomationRulesResponse> |
batchUpdateAutomationRules(Consumer<BatchUpdateAutomationRulesRequest.Builder> batchUpdateAutomationRulesRequest)
Updates one or more automation rules based on rule Amazon Resource Names (ARNs) and input parameters.
|
default CompletableFuture<BatchUpdateFindingsResponse> |
batchUpdateFindings(BatchUpdateFindingsRequest batchUpdateFindingsRequest)
Used by Security Hub customers to update information about their investigation into a finding.
|
default CompletableFuture<BatchUpdateFindingsResponse> |
batchUpdateFindings(Consumer<BatchUpdateFindingsRequest.Builder> batchUpdateFindingsRequest)
Used by Security Hub customers to update information about their investigation into a finding.
|
default CompletableFuture<BatchUpdateStandardsControlAssociationsResponse> |
batchUpdateStandardsControlAssociations(BatchUpdateStandardsControlAssociationsRequest batchUpdateStandardsControlAssociationsRequest)
For a batch of security controls and standards, this operation updates the enablement status of a control in a
standard.
|
default CompletableFuture<BatchUpdateStandardsControlAssociationsResponse> |
batchUpdateStandardsControlAssociations(Consumer<BatchUpdateStandardsControlAssociationsRequest.Builder> batchUpdateStandardsControlAssociationsRequest)
For a batch of security controls and standards, this operation updates the enablement status of a control in a
standard.
|
static SecurityHubAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
SecurityHubAsyncClient. |
static SecurityHubAsyncClient |
create()
Create a
SecurityHubAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<CreateActionTargetResponse> |
createActionTarget(Consumer<CreateActionTargetRequest.Builder> createActionTargetRequest)
Creates a custom action target in Security Hub.
|
default CompletableFuture<CreateActionTargetResponse> |
createActionTarget(CreateActionTargetRequest createActionTargetRequest)
Creates a custom action target in Security Hub.
|
default CompletableFuture<CreateAutomationRuleResponse> |
createAutomationRule(Consumer<CreateAutomationRuleRequest.Builder> createAutomationRuleRequest)
Creates an automation rule based on input parameters.
|
default CompletableFuture<CreateAutomationRuleResponse> |
createAutomationRule(CreateAutomationRuleRequest createAutomationRuleRequest)
Creates an automation rule based on input parameters.
|
default CompletableFuture<CreateFindingAggregatorResponse> |
createFindingAggregator(Consumer<CreateFindingAggregatorRequest.Builder> createFindingAggregatorRequest)
Used to enable finding aggregation.
|
default CompletableFuture<CreateFindingAggregatorResponse> |
createFindingAggregator(CreateFindingAggregatorRequest createFindingAggregatorRequest)
Used to enable finding aggregation.
|
default CompletableFuture<CreateInsightResponse> |
createInsight(Consumer<CreateInsightRequest.Builder> createInsightRequest)
Creates a custom insight in Security Hub.
|
default CompletableFuture<CreateInsightResponse> |
createInsight(CreateInsightRequest createInsightRequest)
Creates a custom insight in Security Hub.
|
default CompletableFuture<CreateMembersResponse> |
createMembers(Consumer<CreateMembersRequest.Builder> createMembersRequest)
Creates a member association in Security Hub between the specified accounts and the account used to make the
request, which is the administrator account.
|
default CompletableFuture<CreateMembersResponse> |
createMembers(CreateMembersRequest createMembersRequest)
Creates a member association in Security Hub between the specified accounts and the account used to make the
request, which is the administrator account.
|
default CompletableFuture<DeclineInvitationsResponse> |
declineInvitations(Consumer<DeclineInvitationsRequest.Builder> declineInvitationsRequest)
Declines invitations to become a member account.
|
default CompletableFuture<DeclineInvitationsResponse> |
declineInvitations(DeclineInvitationsRequest declineInvitationsRequest)
Declines invitations to become a member account.
|
default CompletableFuture<DeleteActionTargetResponse> |
deleteActionTarget(Consumer<DeleteActionTargetRequest.Builder> deleteActionTargetRequest)
Deletes a custom action target from Security Hub.
|
default CompletableFuture<DeleteActionTargetResponse> |
deleteActionTarget(DeleteActionTargetRequest deleteActionTargetRequest)
Deletes a custom action target from Security Hub.
|
default CompletableFuture<DeleteFindingAggregatorResponse> |
deleteFindingAggregator(Consumer<DeleteFindingAggregatorRequest.Builder> deleteFindingAggregatorRequest)
Deletes a finding aggregator.
|
default CompletableFuture<DeleteFindingAggregatorResponse> |
deleteFindingAggregator(DeleteFindingAggregatorRequest deleteFindingAggregatorRequest)
Deletes a finding aggregator.
|
default CompletableFuture<DeleteInsightResponse> |
deleteInsight(Consumer<DeleteInsightRequest.Builder> deleteInsightRequest)
Deletes the insight specified by the
InsightArn. |
default CompletableFuture<DeleteInsightResponse> |
deleteInsight(DeleteInsightRequest deleteInsightRequest)
Deletes the insight specified by the
InsightArn. |
default CompletableFuture<DeleteInvitationsResponse> |
deleteInvitations(Consumer<DeleteInvitationsRequest.Builder> deleteInvitationsRequest)
Deletes invitations received by the Amazon Web Services account to become a member account.
|
default CompletableFuture<DeleteInvitationsResponse> |
deleteInvitations(DeleteInvitationsRequest deleteInvitationsRequest)
Deletes invitations received by the Amazon Web Services account to become a member account.
|
default CompletableFuture<DeleteMembersResponse> |
deleteMembers(Consumer<DeleteMembersRequest.Builder> deleteMembersRequest)
Deletes the specified member accounts from Security Hub.
|
default CompletableFuture<DeleteMembersResponse> |
deleteMembers(DeleteMembersRequest deleteMembersRequest)
Deletes the specified member accounts from Security Hub.
|
default CompletableFuture<DescribeActionTargetsResponse> |
describeActionTargets(Consumer<DescribeActionTargetsRequest.Builder> describeActionTargetsRequest)
Returns a list of the custom action targets in Security Hub in your account.
|
default CompletableFuture<DescribeActionTargetsResponse> |
describeActionTargets(DescribeActionTargetsRequest describeActionTargetsRequest)
Returns a list of the custom action targets in Security Hub in your account.
|
default DescribeActionTargetsPublisher |
describeActionTargetsPaginator(Consumer<DescribeActionTargetsRequest.Builder> describeActionTargetsRequest)
Returns a list of the custom action targets in Security Hub in your account.
|
default DescribeActionTargetsPublisher |
describeActionTargetsPaginator(DescribeActionTargetsRequest describeActionTargetsRequest)
Returns a list of the custom action targets in Security Hub in your account.
|
default CompletableFuture<DescribeHubResponse> |
describeHub(Consumer<DescribeHubRequest.Builder> describeHubRequest)
Returns details about the Hub resource in your account, including the
HubArn and the time when you
enabled Security Hub. |
default CompletableFuture<DescribeHubResponse> |
describeHub(DescribeHubRequest describeHubRequest)
Returns details about the Hub resource in your account, including the
HubArn and the time when you
enabled Security Hub. |
default CompletableFuture<DescribeOrganizationConfigurationResponse> |
describeOrganizationConfiguration(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest)
Returns information about the Organizations configuration for Security Hub.
|
default CompletableFuture<DescribeOrganizationConfigurationResponse> |
describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest)
Returns information about the Organizations configuration for Security Hub.
|
default CompletableFuture<DescribeProductsResponse> |
describeProducts(Consumer<DescribeProductsRequest.Builder> describeProductsRequest)
Returns information about product integrations in Security Hub.
|
default CompletableFuture<DescribeProductsResponse> |
describeProducts(DescribeProductsRequest describeProductsRequest)
Returns information about product integrations in Security Hub.
|
default DescribeProductsPublisher |
describeProductsPaginator(Consumer<DescribeProductsRequest.Builder> describeProductsRequest)
Returns information about product integrations in Security Hub.
|
default DescribeProductsPublisher |
describeProductsPaginator(DescribeProductsRequest describeProductsRequest)
Returns information about product integrations in Security Hub.
|
default CompletableFuture<DescribeStandardsResponse> |
describeStandards(Consumer<DescribeStandardsRequest.Builder> describeStandardsRequest)
Returns a list of the available standards in Security Hub.
|
default CompletableFuture<DescribeStandardsResponse> |
describeStandards(DescribeStandardsRequest describeStandardsRequest)
Returns a list of the available standards in Security Hub.
|
default CompletableFuture<DescribeStandardsControlsResponse> |
describeStandardsControls(Consumer<DescribeStandardsControlsRequest.Builder> describeStandardsControlsRequest)
Returns a list of security standards controls.
|
default CompletableFuture<DescribeStandardsControlsResponse> |
describeStandardsControls(DescribeStandardsControlsRequest describeStandardsControlsRequest)
Returns a list of security standards controls.
|
default DescribeStandardsControlsPublisher |
describeStandardsControlsPaginator(Consumer<DescribeStandardsControlsRequest.Builder> describeStandardsControlsRequest)
Returns a list of security standards controls.
|
default DescribeStandardsControlsPublisher |
describeStandardsControlsPaginator(DescribeStandardsControlsRequest describeStandardsControlsRequest)
Returns a list of security standards controls.
|
default DescribeStandardsPublisher |
describeStandardsPaginator(Consumer<DescribeStandardsRequest.Builder> describeStandardsRequest)
Returns a list of the available standards in Security Hub.
|
default DescribeStandardsPublisher |
describeStandardsPaginator(DescribeStandardsRequest describeStandardsRequest)
Returns a list of the available standards in Security Hub.
|
default CompletableFuture<DisableImportFindingsForProductResponse> |
disableImportFindingsForProduct(Consumer<DisableImportFindingsForProductRequest.Builder> disableImportFindingsForProductRequest)
Disables the integration of the specified product with Security Hub.
|
default CompletableFuture<DisableImportFindingsForProductResponse> |
disableImportFindingsForProduct(DisableImportFindingsForProductRequest disableImportFindingsForProductRequest)
Disables the integration of the specified product with Security Hub.
|
default CompletableFuture<DisableOrganizationAdminAccountResponse> |
disableOrganizationAdminAccount(Consumer<DisableOrganizationAdminAccountRequest.Builder> disableOrganizationAdminAccountRequest)
Disables a Security Hub administrator account.
|
default CompletableFuture<DisableOrganizationAdminAccountResponse> |
disableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest disableOrganizationAdminAccountRequest)
Disables a Security Hub administrator account.
|
default CompletableFuture<DisableSecurityHubResponse> |
disableSecurityHub()
Disables Security Hub in your account only in the current Region.
|
default CompletableFuture<DisableSecurityHubResponse> |
disableSecurityHub(Consumer<DisableSecurityHubRequest.Builder> disableSecurityHubRequest)
Disables Security Hub in your account only in the current Region.
|
default CompletableFuture<DisableSecurityHubResponse> |
disableSecurityHub(DisableSecurityHubRequest disableSecurityHubRequest)
Disables Security Hub in your account only in the current Region.
|
default CompletableFuture<DisassociateFromAdministratorAccountResponse> |
disassociateFromAdministratorAccount(Consumer<DisassociateFromAdministratorAccountRequest.Builder> disassociateFromAdministratorAccountRequest)
Disassociates the current Security Hub member account from the associated administrator account.
|
default CompletableFuture<DisassociateFromAdministratorAccountResponse> |
disassociateFromAdministratorAccount(DisassociateFromAdministratorAccountRequest disassociateFromAdministratorAccountRequest)
Disassociates the current Security Hub member account from the associated administrator account.
|
default CompletableFuture<DisassociateFromMasterAccountResponse> |
disassociateFromMasterAccount(Consumer<DisassociateFromMasterAccountRequest.Builder> disassociateFromMasterAccountRequest)
Deprecated.
This API has been deprecated, use DisassociateFromAdministratorAccount API instead.
|
default CompletableFuture<DisassociateFromMasterAccountResponse> |
disassociateFromMasterAccount(DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest)
Deprecated.
This API has been deprecated, use DisassociateFromAdministratorAccount API instead.
|
default CompletableFuture<DisassociateMembersResponse> |
disassociateMembers(Consumer<DisassociateMembersRequest.Builder> disassociateMembersRequest)
Disassociates the specified member accounts from the associated administrator account.
|
default CompletableFuture<DisassociateMembersResponse> |
disassociateMembers(DisassociateMembersRequest disassociateMembersRequest)
Disassociates the specified member accounts from the associated administrator account.
|
default CompletableFuture<EnableImportFindingsForProductResponse> |
enableImportFindingsForProduct(Consumer<EnableImportFindingsForProductRequest.Builder> enableImportFindingsForProductRequest)
Enables the integration of a partner product with Security Hub.
|
default CompletableFuture<EnableImportFindingsForProductResponse> |
enableImportFindingsForProduct(EnableImportFindingsForProductRequest enableImportFindingsForProductRequest)
Enables the integration of a partner product with Security Hub.
|
default CompletableFuture<EnableOrganizationAdminAccountResponse> |
enableOrganizationAdminAccount(Consumer<EnableOrganizationAdminAccountRequest.Builder> enableOrganizationAdminAccountRequest)
Designates the Security Hub administrator account for an organization.
|
default CompletableFuture<EnableOrganizationAdminAccountResponse> |
enableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest enableOrganizationAdminAccountRequest)
Designates the Security Hub administrator account for an organization.
|
default CompletableFuture<EnableSecurityHubResponse> |
enableSecurityHub()
Enables Security Hub for your account in the current Region or the Region you specify in the request.
|
default CompletableFuture<EnableSecurityHubResponse> |
enableSecurityHub(Consumer<EnableSecurityHubRequest.Builder> enableSecurityHubRequest)
Enables Security Hub for your account in the current Region or the Region you specify in the request.
|
default CompletableFuture<EnableSecurityHubResponse> |
enableSecurityHub(EnableSecurityHubRequest enableSecurityHubRequest)
Enables Security Hub for your account in the current Region or the Region you specify in the request.
|
default CompletableFuture<GetAdministratorAccountResponse> |
getAdministratorAccount(Consumer<GetAdministratorAccountRequest.Builder> getAdministratorAccountRequest)
Provides the details for the Security Hub administrator account for the current member account.
|
default CompletableFuture<GetAdministratorAccountResponse> |
getAdministratorAccount(GetAdministratorAccountRequest getAdministratorAccountRequest)
Provides the details for the Security Hub administrator account for the current member account.
|
default CompletableFuture<GetEnabledStandardsResponse> |
getEnabledStandards(Consumer<GetEnabledStandardsRequest.Builder> getEnabledStandardsRequest)
Returns a list of the standards that are currently enabled.
|
default CompletableFuture<GetEnabledStandardsResponse> |
getEnabledStandards(GetEnabledStandardsRequest getEnabledStandardsRequest)
Returns a list of the standards that are currently enabled.
|
default GetEnabledStandardsPublisher |
getEnabledStandardsPaginator(Consumer<GetEnabledStandardsRequest.Builder> getEnabledStandardsRequest)
Returns a list of the standards that are currently enabled.
|
default GetEnabledStandardsPublisher |
getEnabledStandardsPaginator(GetEnabledStandardsRequest getEnabledStandardsRequest)
Returns a list of the standards that are currently enabled.
|
default CompletableFuture<GetFindingAggregatorResponse> |
getFindingAggregator(Consumer<GetFindingAggregatorRequest.Builder> getFindingAggregatorRequest)
Returns the current finding aggregation configuration.
|
default CompletableFuture<GetFindingAggregatorResponse> |
getFindingAggregator(GetFindingAggregatorRequest getFindingAggregatorRequest)
Returns the current finding aggregation configuration.
|
default CompletableFuture<GetFindingHistoryResponse> |
getFindingHistory(Consumer<GetFindingHistoryRequest.Builder> getFindingHistoryRequest)
Returns history for a Security Hub finding in the last 90 days.
|
default CompletableFuture<GetFindingHistoryResponse> |
getFindingHistory(GetFindingHistoryRequest getFindingHistoryRequest)
Returns history for a Security Hub finding in the last 90 days.
|
default GetFindingHistoryPublisher |
getFindingHistoryPaginator(Consumer<GetFindingHistoryRequest.Builder> getFindingHistoryRequest)
Returns history for a Security Hub finding in the last 90 days.
|
default GetFindingHistoryPublisher |
getFindingHistoryPaginator(GetFindingHistoryRequest getFindingHistoryRequest)
Returns history for a Security Hub finding in the last 90 days.
|
default CompletableFuture<GetFindingsResponse> |
getFindings()
Returns a list of findings that match the specified criteria.
|
default CompletableFuture<GetFindingsResponse> |
getFindings(Consumer<GetFindingsRequest.Builder> getFindingsRequest)
Returns a list of findings that match the specified criteria.
|
default CompletableFuture<GetFindingsResponse> |
getFindings(GetFindingsRequest getFindingsRequest)
Returns a list of findings that match the specified criteria.
|
default GetFindingsPublisher |
getFindingsPaginator()
Returns a list of findings that match the specified criteria.
|
default GetFindingsPublisher |
getFindingsPaginator(Consumer<GetFindingsRequest.Builder> getFindingsRequest)
Returns a list of findings that match the specified criteria.
|
default GetFindingsPublisher |
getFindingsPaginator(GetFindingsRequest getFindingsRequest)
Returns a list of findings that match the specified criteria.
|
default CompletableFuture<GetInsightResultsResponse> |
getInsightResults(Consumer<GetInsightResultsRequest.Builder> getInsightResultsRequest)
Lists the results of the Security Hub insight specified by the insight ARN.
|
default CompletableFuture<GetInsightResultsResponse> |
getInsightResults(GetInsightResultsRequest getInsightResultsRequest)
Lists the results of the Security Hub insight specified by the insight ARN.
|
default CompletableFuture<GetInsightsResponse> |
getInsights(Consumer<GetInsightsRequest.Builder> getInsightsRequest)
Lists and describes insights for the specified insight ARNs.
|
default CompletableFuture<GetInsightsResponse> |
getInsights(GetInsightsRequest getInsightsRequest)
Lists and describes insights for the specified insight ARNs.
|
default GetInsightsPublisher |
getInsightsPaginator(Consumer<GetInsightsRequest.Builder> getInsightsRequest)
Lists and describes insights for the specified insight ARNs.
|
default GetInsightsPublisher |
getInsightsPaginator(GetInsightsRequest getInsightsRequest)
Lists and describes insights for the specified insight ARNs.
|
default CompletableFuture<GetInvitationsCountResponse> |
getInvitationsCount()
Returns the count of all Security Hub membership invitations that were sent to the current member account, not
including the currently accepted invitation.
|
default CompletableFuture<GetInvitationsCountResponse> |
getInvitationsCount(Consumer<GetInvitationsCountRequest.Builder> getInvitationsCountRequest)
Returns the count of all Security Hub membership invitations that were sent to the current member account, not
including the currently accepted invitation.
|
default CompletableFuture<GetInvitationsCountResponse> |
getInvitationsCount(GetInvitationsCountRequest getInvitationsCountRequest)
Returns the count of all Security Hub membership invitations that were sent to the current member account, not
including the currently accepted invitation.
|
default CompletableFuture<GetMasterAccountResponse> |
getMasterAccount()
Deprecated.
This API has been deprecated, use GetAdministratorAccount API instead.
|
default CompletableFuture<GetMasterAccountResponse> |
getMasterAccount(Consumer<GetMasterAccountRequest.Builder> getMasterAccountRequest)
Deprecated.
This API has been deprecated, use GetAdministratorAccount API instead.
|
default CompletableFuture<GetMasterAccountResponse> |
getMasterAccount(GetMasterAccountRequest getMasterAccountRequest)
Deprecated.
This API has been deprecated, use GetAdministratorAccount API instead.
|
default CompletableFuture<GetMembersResponse> |
getMembers(Consumer<GetMembersRequest.Builder> getMembersRequest)
Returns the details for the Security Hub member accounts for the specified account IDs.
|
default CompletableFuture<GetMembersResponse> |
getMembers(GetMembersRequest getMembersRequest)
Returns the details for the Security Hub member accounts for the specified account IDs.
|
default CompletableFuture<InviteMembersResponse> |
inviteMembers(Consumer<InviteMembersRequest.Builder> inviteMembersRequest)
Invites other Amazon Web Services accounts to become member accounts for the Security Hub administrator account
that the invitation is sent from.
|
default CompletableFuture<InviteMembersResponse> |
inviteMembers(InviteMembersRequest inviteMembersRequest)
Invites other Amazon Web Services accounts to become member accounts for the Security Hub administrator account
that the invitation is sent from.
|
default CompletableFuture<ListAutomationRulesResponse> |
listAutomationRules(Consumer<ListAutomationRulesRequest.Builder> listAutomationRulesRequest)
A list of automation rules and their metadata for the calling account.
|
default CompletableFuture<ListAutomationRulesResponse> |
listAutomationRules(ListAutomationRulesRequest listAutomationRulesRequest)
A list of automation rules and their metadata for the calling account.
|
default CompletableFuture<ListEnabledProductsForImportResponse> |
listEnabledProductsForImport()
Lists all findings-generating solutions (products) that you are subscribed to receive findings from in Security
Hub.
|
default CompletableFuture<ListEnabledProductsForImportResponse> |
listEnabledProductsForImport(Consumer<ListEnabledProductsForImportRequest.Builder> listEnabledProductsForImportRequest)
Lists all findings-generating solutions (products) that you are subscribed to receive findings from in Security
Hub.
|
default CompletableFuture<ListEnabledProductsForImportResponse> |
listEnabledProductsForImport(ListEnabledProductsForImportRequest listEnabledProductsForImportRequest)
Lists all findings-generating solutions (products) that you are subscribed to receive findings from in Security
Hub.
|
default ListEnabledProductsForImportPublisher |
listEnabledProductsForImportPaginator()
Lists all findings-generating solutions (products) that you are subscribed to receive findings from in Security
Hub.
|
default ListEnabledProductsForImportPublisher |
listEnabledProductsForImportPaginator(Consumer<ListEnabledProductsForImportRequest.Builder> listEnabledProductsForImportRequest)
Lists all findings-generating solutions (products) that you are subscribed to receive findings from in Security
Hub.
|
default ListEnabledProductsForImportPublisher |
listEnabledProductsForImportPaginator(ListEnabledProductsForImportRequest listEnabledProductsForImportRequest)
Lists all findings-generating solutions (products) that you are subscribed to receive findings from in Security
Hub.
|
default CompletableFuture<ListFindingAggregatorsResponse> |
listFindingAggregators(Consumer<ListFindingAggregatorsRequest.Builder> listFindingAggregatorsRequest)
If finding aggregation is enabled, then
ListFindingAggregators returns the ARN of the finding
aggregator. |
default CompletableFuture<ListFindingAggregatorsResponse> |
listFindingAggregators(ListFindingAggregatorsRequest listFindingAggregatorsRequest)
If finding aggregation is enabled, then
ListFindingAggregators returns the ARN of the finding
aggregator. |
default ListFindingAggregatorsPublisher |
listFindingAggregatorsPaginator(Consumer<ListFindingAggregatorsRequest.Builder> listFindingAggregatorsRequest)
If finding aggregation is enabled, then
ListFindingAggregators returns the ARN of the finding
aggregator. |
default ListFindingAggregatorsPublisher |
listFindingAggregatorsPaginator(ListFindingAggregatorsRequest listFindingAggregatorsRequest)
If finding aggregation is enabled, then
ListFindingAggregators returns the ARN of the finding
aggregator. |
default CompletableFuture<ListInvitationsResponse> |
listInvitations()
Lists all Security Hub membership invitations that were sent to the current Amazon Web Services account.
|
default CompletableFuture<ListInvitationsResponse> |
listInvitations(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)
Lists all Security Hub membership invitations that were sent to the current Amazon Web Services account.
|
default CompletableFuture<ListInvitationsResponse> |
listInvitations(ListInvitationsRequest listInvitationsRequest)
Lists all Security Hub membership invitations that were sent to the current Amazon Web Services account.
|
default ListInvitationsPublisher |
listInvitationsPaginator()
Lists all Security Hub membership invitations that were sent to the current Amazon Web Services account.
|
default ListInvitationsPublisher |
listInvitationsPaginator(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)
Lists all Security Hub membership invitations that were sent to the current Amazon Web Services account.
|
default ListInvitationsPublisher |
listInvitationsPaginator(ListInvitationsRequest listInvitationsRequest)
Lists all Security Hub membership invitations that were sent to the current Amazon Web Services account.
|
default CompletableFuture<ListMembersResponse> |
listMembers()
Lists details about all member accounts for the current Security Hub administrator account.
|
default CompletableFuture<ListMembersResponse> |
listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest)
Lists details about all member accounts for the current Security Hub administrator account.
|
default CompletableFuture<ListMembersResponse> |
listMembers(ListMembersRequest listMembersRequest)
Lists details about all member accounts for the current Security Hub administrator account.
|
default ListMembersPublisher |
listMembersPaginator()
Lists details about all member accounts for the current Security Hub administrator account.
|
default ListMembersPublisher |
listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest)
Lists details about all member accounts for the current Security Hub administrator account.
|
default ListMembersPublisher |
listMembersPaginator(ListMembersRequest listMembersRequest)
Lists details about all member accounts for the current Security Hub administrator account.
|
default CompletableFuture<ListOrganizationAdminAccountsResponse> |
listOrganizationAdminAccounts(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest)
Lists the Security Hub administrator accounts.
|
default CompletableFuture<ListOrganizationAdminAccountsResponse> |
listOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest)
Lists the Security Hub administrator accounts.
|
default ListOrganizationAdminAccountsPublisher |
listOrganizationAdminAccountsPaginator(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest)
Lists the Security Hub administrator accounts.
|
default ListOrganizationAdminAccountsPublisher |
listOrganizationAdminAccountsPaginator(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest)
Lists the Security Hub administrator accounts.
|
default CompletableFuture<ListSecurityControlDefinitionsResponse> |
listSecurityControlDefinitions(Consumer<ListSecurityControlDefinitionsRequest.Builder> listSecurityControlDefinitionsRequest)
Lists all of the security controls that apply to a specified standard.
|
default CompletableFuture<ListSecurityControlDefinitionsResponse> |
listSecurityControlDefinitions(ListSecurityControlDefinitionsRequest listSecurityControlDefinitionsRequest)
Lists all of the security controls that apply to a specified standard.
|
default ListSecurityControlDefinitionsPublisher |
listSecurityControlDefinitionsPaginator(Consumer<ListSecurityControlDefinitionsRequest.Builder> listSecurityControlDefinitionsRequest)
Lists all of the security controls that apply to a specified standard.
|
default ListSecurityControlDefinitionsPublisher |
listSecurityControlDefinitionsPaginator(ListSecurityControlDefinitionsRequest listSecurityControlDefinitionsRequest)
Lists all of the security controls that apply to a specified standard.
|
default CompletableFuture<ListStandardsControlAssociationsResponse> |
listStandardsControlAssociations(Consumer<ListStandardsControlAssociationsRequest.Builder> listStandardsControlAssociationsRequest)
Specifies whether a control is currently enabled or disabled in each enabled standard in the calling account.
|
default CompletableFuture<ListStandardsControlAssociationsResponse> |
listStandardsControlAssociations(ListStandardsControlAssociationsRequest listStandardsControlAssociationsRequest)
Specifies whether a control is currently enabled or disabled in each enabled standard in the calling account.
|
default ListStandardsControlAssociationsPublisher |
listStandardsControlAssociationsPaginator(Consumer<ListStandardsControlAssociationsRequest.Builder> listStandardsControlAssociationsRequest)
Specifies whether a control is currently enabled or disabled in each enabled standard in the calling account.
|
default ListStandardsControlAssociationsPublisher |
listStandardsControlAssociationsPaginator(ListStandardsControlAssociationsRequest listStandardsControlAssociationsRequest)
Specifies whether a control is currently enabled or disabled in each enabled standard in the calling account.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Returns a list of tags associated with a resource.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of tags associated with a resource.
|
default SecurityHubServiceClientConfiguration |
serviceClientConfiguration() |
default CompletableFuture<TagResourceResponse> |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds one or more tags to a resource.
|
default CompletableFuture<TagResourceResponse> |
tagResource(TagResourceRequest tagResourceRequest)
Adds one or more tags to a resource.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes one or more tags from a resource.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(UntagResourceRequest untagResourceRequest)
Removes one or more tags from a resource.
|
default CompletableFuture<UpdateActionTargetResponse> |
updateActionTarget(Consumer<UpdateActionTargetRequest.Builder> updateActionTargetRequest)
Updates the name and description of a custom action target in Security Hub.
|
default CompletableFuture<UpdateActionTargetResponse> |
updateActionTarget(UpdateActionTargetRequest updateActionTargetRequest)
Updates the name and description of a custom action target in Security Hub.
|
default CompletableFuture<UpdateFindingAggregatorResponse> |
updateFindingAggregator(Consumer<UpdateFindingAggregatorRequest.Builder> updateFindingAggregatorRequest)
Updates the finding aggregation configuration.
|
default CompletableFuture<UpdateFindingAggregatorResponse> |
updateFindingAggregator(UpdateFindingAggregatorRequest updateFindingAggregatorRequest)
Updates the finding aggregation configuration.
|
default CompletableFuture<UpdateFindingsResponse> |
updateFindings(Consumer<UpdateFindingsRequest.Builder> updateFindingsRequest)
UpdateFindings is deprecated. |
default CompletableFuture<UpdateFindingsResponse> |
updateFindings(UpdateFindingsRequest updateFindingsRequest)
UpdateFindings is deprecated. |
default CompletableFuture<UpdateInsightResponse> |
updateInsight(Consumer<UpdateInsightRequest.Builder> updateInsightRequest)
Updates the Security Hub insight identified by the specified insight ARN.
|
default CompletableFuture<UpdateInsightResponse> |
updateInsight(UpdateInsightRequest updateInsightRequest)
Updates the Security Hub insight identified by the specified insight ARN.
|
default CompletableFuture<UpdateOrganizationConfigurationResponse> |
updateOrganizationConfiguration(Consumer<UpdateOrganizationConfigurationRequest.Builder> updateOrganizationConfigurationRequest)
Used to update the configuration related to Organizations.
|
default CompletableFuture<UpdateOrganizationConfigurationResponse> |
updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest)
Used to update the configuration related to Organizations.
|
default CompletableFuture<UpdateSecurityHubConfigurationResponse> |
updateSecurityHubConfiguration(Consumer<UpdateSecurityHubConfigurationRequest.Builder> updateSecurityHubConfigurationRequest)
Updates configuration options for Security Hub.
|
default CompletableFuture<UpdateSecurityHubConfigurationResponse> |
updateSecurityHubConfiguration(UpdateSecurityHubConfigurationRequest updateSecurityHubConfigurationRequest)
Updates configuration options for Security Hub.
|
default CompletableFuture<UpdateStandardsControlResponse> |
updateStandardsControl(Consumer<UpdateStandardsControlRequest.Builder> updateStandardsControlRequest)
Used to control whether an individual security standard control is enabled or disabled.
|
default CompletableFuture<UpdateStandardsControlResponse> |
updateStandardsControl(UpdateStandardsControlRequest updateStandardsControlRequest)
Used to control whether an individual security standard control is enabled or disabled.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CompletableFuture<AcceptAdministratorInvitationResponse> acceptAdministratorInvitation(AcceptAdministratorInvitationRequest acceptAdministratorInvitationRequest)
Accepts the invitation to be a member account and be monitored by the Security Hub administrator account that the invitation was sent from.
This operation is only used by member accounts that are not added through Organizations.
When the member account accepts the invitation, permission is granted to the administrator account to view findings generated in the member account.
acceptAdministratorInvitationRequest - default CompletableFuture<AcceptAdministratorInvitationResponse> acceptAdministratorInvitation(Consumer<AcceptAdministratorInvitationRequest.Builder> acceptAdministratorInvitationRequest)
Accepts the invitation to be a member account and be monitored by the Security Hub administrator account that the invitation was sent from.
This operation is only used by member accounts that are not added through Organizations.
When the member account accepts the invitation, permission is granted to the administrator account to view findings generated in the member account.
This is a convenience which creates an instance of the AcceptAdministratorInvitationRequest.Builder
avoiding the need to create one manually via AcceptAdministratorInvitationRequest.builder()
acceptAdministratorInvitationRequest - A Consumer that will call methods on AcceptAdministratorInvitationRequest.Builder to
create a request.@Deprecated default CompletableFuture<AcceptInvitationResponse> acceptInvitation(AcceptInvitationRequest acceptInvitationRequest)
This method is deprecated. Instead, use AcceptAdministratorInvitation.
The Security Hub console continues to use AcceptInvitation. It will eventually change to use
AcceptAdministratorInvitation. Any IAM policies that specifically control access to this function
must continue to use AcceptInvitation. You should also add
AcceptAdministratorInvitation to your policies to ensure that the correct permissions are in place
after the console begins to use AcceptAdministratorInvitation.
Accepts the invitation to be a member account and be monitored by the Security Hub administrator account that the invitation was sent from.
This operation is only used by member accounts that are not added through Organizations.
When the member account accepts the invitation, permission is granted to the administrator account to view findings generated in the member account.
acceptInvitationRequest - @Deprecated default CompletableFuture<AcceptInvitationResponse> acceptInvitation(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest)
This method is deprecated. Instead, use AcceptAdministratorInvitation.
The Security Hub console continues to use AcceptInvitation. It will eventually change to use
AcceptAdministratorInvitation. Any IAM policies that specifically control access to this function
must continue to use AcceptInvitation. You should also add
AcceptAdministratorInvitation to your policies to ensure that the correct permissions are in place
after the console begins to use AcceptAdministratorInvitation.
Accepts the invitation to be a member account and be monitored by the Security Hub administrator account that the invitation was sent from.
This operation is only used by member accounts that are not added through Organizations.
When the member account accepts the invitation, permission is granted to the administrator account to view findings generated in the member account.
This is a convenience which creates an instance of the AcceptInvitationRequest.Builder avoiding the need
to create one manually via AcceptInvitationRequest.builder()
acceptInvitationRequest - A Consumer that will call methods on AcceptInvitationRequest.Builder to create a request.default CompletableFuture<BatchDeleteAutomationRulesResponse> batchDeleteAutomationRules(BatchDeleteAutomationRulesRequest batchDeleteAutomationRulesRequest)
Deletes one or more automation rules.
batchDeleteAutomationRulesRequest - default CompletableFuture<BatchDeleteAutomationRulesResponse> batchDeleteAutomationRules(Consumer<BatchDeleteAutomationRulesRequest.Builder> batchDeleteAutomationRulesRequest)
Deletes one or more automation rules.
This is a convenience which creates an instance of the BatchDeleteAutomationRulesRequest.Builder avoiding
the need to create one manually via BatchDeleteAutomationRulesRequest.builder()
batchDeleteAutomationRulesRequest - A Consumer that will call methods on BatchDeleteAutomationRulesRequest.Builder to create a
request.default CompletableFuture<BatchDisableStandardsResponse> batchDisableStandards(BatchDisableStandardsRequest batchDisableStandardsRequest)
Disables the standards specified by the provided StandardsSubscriptionArns.
For more information, see Security Standards section of the Security Hub User Guide.
batchDisableStandardsRequest - default CompletableFuture<BatchDisableStandardsResponse> batchDisableStandards(Consumer<BatchDisableStandardsRequest.Builder> batchDisableStandardsRequest)
Disables the standards specified by the provided StandardsSubscriptionArns.
For more information, see Security Standards section of the Security Hub User Guide.
This is a convenience which creates an instance of the BatchDisableStandardsRequest.Builder avoiding the
need to create one manually via BatchDisableStandardsRequest.builder()
batchDisableStandardsRequest - A Consumer that will call methods on BatchDisableStandardsRequest.Builder to create a
request.default CompletableFuture<BatchEnableStandardsResponse> batchEnableStandards(BatchEnableStandardsRequest batchEnableStandardsRequest)
Enables the standards specified by the provided StandardsArn. To obtain the ARN for a standard, use
the DescribeStandards operation.
For more information, see the Security Standards section of the Security Hub User Guide.
batchEnableStandardsRequest - default CompletableFuture<BatchEnableStandardsResponse> batchEnableStandards(Consumer<BatchEnableStandardsRequest.Builder> batchEnableStandardsRequest)
Enables the standards specified by the provided StandardsArn. To obtain the ARN for a standard, use
the DescribeStandards operation.
For more information, see the Security Standards section of the Security Hub User Guide.
This is a convenience which creates an instance of the BatchEnableStandardsRequest.Builder avoiding the
need to create one manually via BatchEnableStandardsRequest.builder()
batchEnableStandardsRequest - A Consumer that will call methods on BatchEnableStandardsRequest.Builder to create a
request.default CompletableFuture<BatchGetAutomationRulesResponse> batchGetAutomationRules(BatchGetAutomationRulesRequest batchGetAutomationRulesRequest)
Retrieves a list of details for automation rules based on rule Amazon Resource Names (ARNs).
batchGetAutomationRulesRequest - default CompletableFuture<BatchGetAutomationRulesResponse> batchGetAutomationRules(Consumer<BatchGetAutomationRulesRequest.Builder> batchGetAutomationRulesRequest)
Retrieves a list of details for automation rules based on rule Amazon Resource Names (ARNs).
This is a convenience which creates an instance of the BatchGetAutomationRulesRequest.Builder avoiding
the need to create one manually via BatchGetAutomationRulesRequest.builder()
batchGetAutomationRulesRequest - A Consumer that will call methods on BatchGetAutomationRulesRequest.Builder to create a
request.default CompletableFuture<BatchGetSecurityControlsResponse> batchGetSecurityControls(BatchGetSecurityControlsRequest batchGetSecurityControlsRequest)
Provides details about a batch of security controls for the current Amazon Web Services account and Amazon Web Services Region.
batchGetSecurityControlsRequest - default CompletableFuture<BatchGetSecurityControlsResponse> batchGetSecurityControls(Consumer<BatchGetSecurityControlsRequest.Builder> batchGetSecurityControlsRequest)
Provides details about a batch of security controls for the current Amazon Web Services account and Amazon Web Services Region.
This is a convenience which creates an instance of the BatchGetSecurityControlsRequest.Builder avoiding
the need to create one manually via BatchGetSecurityControlsRequest.builder()
batchGetSecurityControlsRequest - A Consumer that will call methods on BatchGetSecurityControlsRequest.Builder to create a
request.default CompletableFuture<BatchGetStandardsControlAssociationsResponse> batchGetStandardsControlAssociations(BatchGetStandardsControlAssociationsRequest batchGetStandardsControlAssociationsRequest)
For a batch of security controls and standards, identifies whether each control is currently enabled or disabled in a standard.
batchGetStandardsControlAssociationsRequest - default CompletableFuture<BatchGetStandardsControlAssociationsResponse> batchGetStandardsControlAssociations(Consumer<BatchGetStandardsControlAssociationsRequest.Builder> batchGetStandardsControlAssociationsRequest)
For a batch of security controls and standards, identifies whether each control is currently enabled or disabled in a standard.
This is a convenience which creates an instance of the
BatchGetStandardsControlAssociationsRequest.Builder avoiding the need to create one manually via
BatchGetStandardsControlAssociationsRequest.builder()
batchGetStandardsControlAssociationsRequest - A Consumer that will call methods on BatchGetStandardsControlAssociationsRequest.Builder
to create a request.default CompletableFuture<BatchImportFindingsResponse> batchImportFindings(BatchImportFindingsRequest batchImportFindingsRequest)
Imports security findings generated by a finding provider into Security Hub. This action is requested by the finding provider to import its findings into Security Hub.
BatchImportFindings must be called by one of the following:
The Amazon Web Services account that is associated with a finding if you are using the default product ARN or are a partner sending findings from within a customer's Amazon Web Services account.
In these cases, the identifier of the account that you are calling BatchImportFindings from needs to
be the same as the AwsAccountId attribute for the finding.
An Amazon Web Services account that Security Hub has allow-listed for an official partner integration. In this
case, you can call BatchImportFindings from the allow-listed account and send findings from
different customer accounts in the same batch.
The maximum allowed size for a finding is 240 Kb. An error is returned for any finding larger than 240 Kb.
After a finding is created, BatchImportFindings cannot be used to update the following finding
fields and objects, which Security Hub customers use to manage their investigation workflow.
Note
UserDefinedFields
VerificationState
Workflow
Finding providers also should not use BatchImportFindings to update the following attributes.
Confidence
Criticality
RelatedFindings
Severity
Types
Instead, finding providers use FindingProviderFields to provide values for these attributes.
batchImportFindingsRequest - default CompletableFuture<BatchImportFindingsResponse> batchImportFindings(Consumer<BatchImportFindingsRequest.Builder> batchImportFindingsRequest)
Imports security findings generated by a finding provider into Security Hub. This action is requested by the finding provider to import its findings into Security Hub.
BatchImportFindings must be called by one of the following:
The Amazon Web Services account that is associated with a finding if you are using the default product ARN or are a partner sending findings from within a customer's Amazon Web Services account.
In these cases, the identifier of the account that you are calling BatchImportFindings from needs to
be the same as the AwsAccountId attribute for the finding.
An Amazon Web Services account that Security Hub has allow-listed for an official partner integration. In this
case, you can call BatchImportFindings from the allow-listed account and send findings from
different customer accounts in the same batch.
The maximum allowed size for a finding is 240 Kb. An error is returned for any finding larger than 240 Kb.
After a finding is created, BatchImportFindings cannot be used to update the following finding
fields and objects, which Security Hub customers use to manage their investigation workflow.
Note
UserDefinedFields
VerificationState
Workflow
Finding providers also should not use BatchImportFindings to update the following attributes.
Confidence
Criticality
RelatedFindings
Severity
Types
Instead, finding providers use FindingProviderFields to provide values for these attributes.
This is a convenience which creates an instance of the BatchImportFindingsRequest.Builder avoiding the
need to create one manually via BatchImportFindingsRequest.builder()
batchImportFindingsRequest - A Consumer that will call methods on BatchImportFindingsRequest.Builder to create a
request.default CompletableFuture<BatchUpdateAutomationRulesResponse> batchUpdateAutomationRules(BatchUpdateAutomationRulesRequest batchUpdateAutomationRulesRequest)
Updates one or more automation rules based on rule Amazon Resource Names (ARNs) and input parameters.
batchUpdateAutomationRulesRequest - default CompletableFuture<BatchUpdateAutomationRulesResponse> batchUpdateAutomationRules(Consumer<BatchUpdateAutomationRulesRequest.Builder> batchUpdateAutomationRulesRequest)
Updates one or more automation rules based on rule Amazon Resource Names (ARNs) and input parameters.
This is a convenience which creates an instance of the BatchUpdateAutomationRulesRequest.Builder avoiding
the need to create one manually via BatchUpdateAutomationRulesRequest.builder()
batchUpdateAutomationRulesRequest - A Consumer that will call methods on BatchUpdateAutomationRulesRequest.Builder to create a
request.default CompletableFuture<BatchUpdateFindingsResponse> batchUpdateFindings(BatchUpdateFindingsRequest batchUpdateFindingsRequest)
Used by Security Hub customers to update information about their investigation into a finding. Requested by administrator accounts or member accounts. Administrator accounts can update findings for their account and their member accounts. Member accounts can update findings for their account.
Updates from BatchUpdateFindings do not affect the value of UpdatedAt for a finding.
Administrator and member accounts can use BatchUpdateFindings to update the following finding fields
and objects.
Confidence
Criticality
Note
RelatedFindings
Severity
Types
UserDefinedFields
VerificationState
Workflow
You can configure IAM policies to restrict access to fields and field values. For example, you might not want member accounts to be able to suppress findings or change the finding severity. See Configuring access to BatchUpdateFindings in the Security Hub User Guide.
batchUpdateFindingsRequest - default CompletableFuture<BatchUpdateFindingsResponse> batchUpdateFindings(Consumer<BatchUpdateFindingsRequest.Builder> batchUpdateFindingsRequest)
Used by Security Hub customers to update information about their investigation into a finding. Requested by administrator accounts or member accounts. Administrator accounts can update findings for their account and their member accounts. Member accounts can update findings for their account.
Updates from BatchUpdateFindings do not affect the value of UpdatedAt for a finding.
Administrator and member accounts can use BatchUpdateFindings to update the following finding fields
and objects.
Confidence
Criticality
Note
RelatedFindings
Severity
Types
UserDefinedFields
VerificationState
Workflow
You can configure IAM policies to restrict access to fields and field values. For example, you might not want member accounts to be able to suppress findings or change the finding severity. See Configuring access to BatchUpdateFindings in the Security Hub User Guide.
This is a convenience which creates an instance of the BatchUpdateFindingsRequest.Builder avoiding the
need to create one manually via BatchUpdateFindingsRequest.builder()
batchUpdateFindingsRequest - A Consumer that will call methods on BatchUpdateFindingsRequest.Builder to create a
request.default CompletableFuture<BatchUpdateStandardsControlAssociationsResponse> batchUpdateStandardsControlAssociations(BatchUpdateStandardsControlAssociationsRequest batchUpdateStandardsControlAssociationsRequest)
For a batch of security controls and standards, this operation updates the enablement status of a control in a standard.
batchUpdateStandardsControlAssociationsRequest - default CompletableFuture<BatchUpdateStandardsControlAssociationsResponse> batchUpdateStandardsControlAssociations(Consumer<BatchUpdateStandardsControlAssociationsRequest.Builder> batchUpdateStandardsControlAssociationsRequest)
For a batch of security controls and standards, this operation updates the enablement status of a control in a standard.
This is a convenience which creates an instance of the
BatchUpdateStandardsControlAssociationsRequest.Builder avoiding the need to create one manually via
BatchUpdateStandardsControlAssociationsRequest.builder()
batchUpdateStandardsControlAssociationsRequest - A Consumer that will call methods on
BatchUpdateStandardsControlAssociationsRequest.Builder to create a request.default CompletableFuture<CreateActionTargetResponse> createActionTarget(CreateActionTargetRequest createActionTargetRequest)
Creates a custom action target in Security Hub.
You can use custom actions on findings and insights in Security Hub to trigger target actions in Amazon CloudWatch Events.
createActionTargetRequest - default CompletableFuture<CreateActionTargetResponse> createActionTarget(Consumer<CreateActionTargetRequest.Builder> createActionTargetRequest)
Creates a custom action target in Security Hub.
You can use custom actions on findings and insights in Security Hub to trigger target actions in Amazon CloudWatch Events.
This is a convenience which creates an instance of the CreateActionTargetRequest.Builder avoiding the
need to create one manually via CreateActionTargetRequest.builder()
createActionTargetRequest - A Consumer that will call methods on CreateActionTargetRequest.Builder to create a
request.default CompletableFuture<CreateAutomationRuleResponse> createAutomationRule(CreateAutomationRuleRequest createAutomationRuleRequest)
Creates an automation rule based on input parameters.
createAutomationRuleRequest - default CompletableFuture<CreateAutomationRuleResponse> createAutomationRule(Consumer<CreateAutomationRuleRequest.Builder> createAutomationRuleRequest)
Creates an automation rule based on input parameters.
This is a convenience which creates an instance of the CreateAutomationRuleRequest.Builder avoiding the
need to create one manually via CreateAutomationRuleRequest.builder()
createAutomationRuleRequest - A Consumer that will call methods on CreateAutomationRuleRequest.Builder to create a
request.default CompletableFuture<CreateFindingAggregatorResponse> createFindingAggregator(CreateFindingAggregatorRequest createFindingAggregatorRequest)
Used to enable finding aggregation. Must be called from the aggregation Region.
For more details about cross-Region replication, see Configuring finding aggregation in the Security Hub User Guide.
createFindingAggregatorRequest - default CompletableFuture<CreateFindingAggregatorResponse> createFindingAggregator(Consumer<CreateFindingAggregatorRequest.Builder> createFindingAggregatorRequest)
Used to enable finding aggregation. Must be called from the aggregation Region.
For more details about cross-Region replication, see Configuring finding aggregation in the Security Hub User Guide.
This is a convenience which creates an instance of the CreateFindingAggregatorRequest.Builder avoiding
the need to create one manually via CreateFindingAggregatorRequest.builder()
createFindingAggregatorRequest - A Consumer that will call methods on CreateFindingAggregatorRequest.Builder to create a
request.default CompletableFuture<CreateInsightResponse> createInsight(CreateInsightRequest createInsightRequest)
Creates a custom insight in Security Hub. An insight is a consolidation of findings that relate to a security issue that requires attention or remediation.
To group the related findings in the insight, use the GroupByAttribute.
createInsightRequest - default CompletableFuture<CreateInsightResponse> createInsight(Consumer<CreateInsightRequest.Builder> createInsightRequest)
Creates a custom insight in Security Hub. An insight is a consolidation of findings that relate to a security issue that requires attention or remediation.
To group the related findings in the insight, use the GroupByAttribute.
This is a convenience which creates an instance of the CreateInsightRequest.Builder avoiding the need to
create one manually via CreateInsightRequest.builder()
createInsightRequest - A Consumer that will call methods on CreateInsightRequest.Builder to create a request.default CompletableFuture<CreateMembersResponse> createMembers(CreateMembersRequest createMembersRequest)
Creates a member association in Security Hub between the specified accounts and the account used to make the request, which is the administrator account. If you are integrated with Organizations, then the administrator account is designated by the organization management account.
CreateMembers is always used to add accounts that are not organization members.
For accounts that are managed using Organizations, CreateMembers is only used in the following
cases:
Security Hub is not configured to automatically add new organization accounts.
The account was disassociated or deleted in Security Hub.
This action can only be used by an account that has Security Hub enabled. To enable Security Hub, you can use the
EnableSecurityHub operation.
For accounts that are not organization members, you create the account association and then send an invitation to
the member account. To send the invitation, you use the InviteMembers operation. If the account
owner accepts the invitation, the account becomes a member account in Security Hub.
Accounts that are managed using Organizations do not receive an invitation. They automatically become a member account in Security Hub.
If the organization account does not have Security Hub enabled, then Security Hub and the default standards are automatically enabled. Note that Security Hub cannot be enabled automatically for the organization management account. The organization management account must enable Security Hub before the administrator account enables it as a member account.
For organization accounts that already have Security Hub enabled, Security Hub does not make any other changes to those accounts. It does not change their enabled standards or controls.
A permissions policy is added that permits the administrator account to view the findings generated in the member account.
To remove the association between the administrator and member accounts, use the
DisassociateFromMasterAccount or DisassociateMembers operation.
createMembersRequest - default CompletableFuture<CreateMembersResponse> createMembers(Consumer<CreateMembersRequest.Builder> createMembersRequest)
Creates a member association in Security Hub between the specified accounts and the account used to make the request, which is the administrator account. If you are integrated with Organizations, then the administrator account is designated by the organization management account.
CreateMembers is always used to add accounts that are not organization members.
For accounts that are managed using Organizations, CreateMembers is only used in the following
cases:
Security Hub is not configured to automatically add new organization accounts.
The account was disassociated or deleted in Security Hub.
This action can only be used by an account that has Security Hub enabled. To enable Security Hub, you can use the
EnableSecurityHub operation.
For accounts that are not organization members, you create the account association and then send an invitation to
the member account. To send the invitation, you use the InviteMembers operation. If the account
owner accepts the invitation, the account becomes a member account in Security Hub.
Accounts that are managed using Organizations do not receive an invitation. They automatically become a member account in Security Hub.
If the organization account does not have Security Hub enabled, then Security Hub and the default standards are automatically enabled. Note that Security Hub cannot be enabled automatically for the organization management account. The organization management account must enable Security Hub before the administrator account enables it as a member account.
For organization accounts that already have Security Hub enabled, Security Hub does not make any other changes to those accounts. It does not change their enabled standards or controls.
A permissions policy is added that permits the administrator account to view the findings generated in the member account.
To remove the association between the administrator and member accounts, use the
DisassociateFromMasterAccount or DisassociateMembers operation.
This is a convenience which creates an instance of the CreateMembersRequest.Builder avoiding the need to
create one manually via CreateMembersRequest.builder()
createMembersRequest - A Consumer that will call methods on CreateMembersRequest.Builder to create a request.default CompletableFuture<DeclineInvitationsResponse> declineInvitations(DeclineInvitationsRequest declineInvitationsRequest)
Declines invitations to become a member account.
A prospective member account uses this operation to decline an invitation to become a member.
This operation is only called by member accounts that aren't part of an organization. Organization accounts don't receive invitations.
declineInvitationsRequest - default CompletableFuture<DeclineInvitationsResponse> declineInvitations(Consumer<DeclineInvitationsRequest.Builder> declineInvitationsRequest)
Declines invitations to become a member account.
A prospective member account uses this operation to decline an invitation to become a member.
This operation is only called by member accounts that aren't part of an organization. Organization accounts don't receive invitations.
This is a convenience which creates an instance of the DeclineInvitationsRequest.Builder avoiding the
need to create one manually via DeclineInvitationsRequest.builder()
declineInvitationsRequest - A Consumer that will call methods on DeclineInvitationsRequest.Builder to create a
request.default CompletableFuture<DeleteActionTargetResponse> deleteActionTarget(DeleteActionTargetRequest deleteActionTargetRequest)
Deletes a custom action target from Security Hub.
Deleting a custom action target does not affect any findings or insights that were already sent to Amazon CloudWatch Events using the custom action.
deleteActionTargetRequest - default CompletableFuture<DeleteActionTargetResponse> deleteActionTarget(Consumer<DeleteActionTargetRequest.Builder> deleteActionTargetRequest)
Deletes a custom action target from Security Hub.
Deleting a custom action target does not affect any findings or insights that were already sent to Amazon CloudWatch Events using the custom action.
This is a convenience which creates an instance of the DeleteActionTargetRequest.Builder avoiding the
need to create one manually via DeleteActionTargetRequest.builder()
deleteActionTargetRequest - A Consumer that will call methods on DeleteActionTargetRequest.Builder to create a
request.default CompletableFuture<DeleteFindingAggregatorResponse> deleteFindingAggregator(DeleteFindingAggregatorRequest deleteFindingAggregatorRequest)
Deletes a finding aggregator. When you delete the finding aggregator, you stop finding aggregation.
When you stop finding aggregation, findings that were already aggregated to the aggregation Region are still visible from the aggregation Region. New findings and finding updates are not aggregated.
deleteFindingAggregatorRequest - default CompletableFuture<DeleteFindingAggregatorResponse> deleteFindingAggregator(Consumer<DeleteFindingAggregatorRequest.Builder> deleteFindingAggregatorRequest)
Deletes a finding aggregator. When you delete the finding aggregator, you stop finding aggregation.
When you stop finding aggregation, findings that were already aggregated to the aggregation Region are still visible from the aggregation Region. New findings and finding updates are not aggregated.
This is a convenience which creates an instance of the DeleteFindingAggregatorRequest.Builder avoiding
the need to create one manually via DeleteFindingAggregatorRequest.builder()
deleteFindingAggregatorRequest - A Consumer that will call methods on DeleteFindingAggregatorRequest.Builder to create a
request.default CompletableFuture<DeleteInsightResponse> deleteInsight(DeleteInsightRequest deleteInsightRequest)
Deletes the insight specified by the InsightArn.
deleteInsightRequest - default CompletableFuture<DeleteInsightResponse> deleteInsight(Consumer<DeleteInsightRequest.Builder> deleteInsightRequest)
Deletes the insight specified by the InsightArn.
This is a convenience which creates an instance of the DeleteInsightRequest.Builder avoiding the need to
create one manually via DeleteInsightRequest.builder()
deleteInsightRequest - A Consumer that will call methods on DeleteInsightRequest.Builder to create a request.default CompletableFuture<DeleteInvitationsResponse> deleteInvitations(DeleteInvitationsRequest deleteInvitationsRequest)
Deletes invitations received by the Amazon Web Services account to become a member account.
A Security Hub administrator account can use this operation to delete invitations sent to one or more member accounts.
This operation is only used to delete invitations that are sent to member accounts that aren't part of an organization. Organization accounts don't receive invitations.
deleteInvitationsRequest - default CompletableFuture<DeleteInvitationsResponse> deleteInvitations(Consumer<DeleteInvitationsRequest.Builder> deleteInvitationsRequest)
Deletes invitations received by the Amazon Web Services account to become a member account.
A Security Hub administrator account can use this operation to delete invitations sent to one or more member accounts.
This operation is only used to delete invitations that are sent to member accounts that aren't part of an organization. Organization accounts don't receive invitations.
This is a convenience which creates an instance of the DeleteInvitationsRequest.Builder avoiding the need
to create one manually via DeleteInvitationsRequest.builder()
deleteInvitationsRequest - A Consumer that will call methods on DeleteInvitationsRequest.Builder to create a request.default CompletableFuture<DeleteMembersResponse> deleteMembers(DeleteMembersRequest deleteMembersRequest)
Deletes the specified member accounts from Security Hub.
Can be used to delete member accounts that belong to an organization as well as member accounts that were invited manually.
deleteMembersRequest - default CompletableFuture<DeleteMembersResponse> deleteMembers(Consumer<DeleteMembersRequest.Builder> deleteMembersRequest)
Deletes the specified member accounts from Security Hub.
Can be used to delete member accounts that belong to an organization as well as member accounts that were invited manually.
This is a convenience which creates an instance of the DeleteMembersRequest.Builder avoiding the need to
create one manually via DeleteMembersRequest.builder()
deleteMembersRequest - A Consumer that will call methods on DeleteMembersRequest.Builder to create a request.default CompletableFuture<DescribeActionTargetsResponse> describeActionTargets(DescribeActionTargetsRequest describeActionTargetsRequest)
Returns a list of the custom action targets in Security Hub in your account.
describeActionTargetsRequest - default CompletableFuture<DescribeActionTargetsResponse> describeActionTargets(Consumer<DescribeActionTargetsRequest.Builder> describeActionTargetsRequest)
Returns a list of the custom action targets in Security Hub in your account.
This is a convenience which creates an instance of the DescribeActionTargetsRequest.Builder avoiding the
need to create one manually via DescribeActionTargetsRequest.builder()
describeActionTargetsRequest - A Consumer that will call methods on DescribeActionTargetsRequest.Builder to create a
request.default DescribeActionTargetsPublisher describeActionTargetsPaginator(DescribeActionTargetsRequest describeActionTargetsRequest)
Returns a list of the custom action targets in Security Hub in your account.
This is a variant of
describeActionTargets(software.amazon.awssdk.services.securityhub.model.DescribeActionTargetsRequest)
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.securityhub.paginators.DescribeActionTargetsPublisher publisher = client.describeActionTargetsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.DescribeActionTargetsPublisher publisher = client.describeActionTargetsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.DescribeActionTargetsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.DescribeActionTargetsResponse 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
describeActionTargets(software.amazon.awssdk.services.securityhub.model.DescribeActionTargetsRequest)
operation.
describeActionTargetsRequest - default DescribeActionTargetsPublisher describeActionTargetsPaginator(Consumer<DescribeActionTargetsRequest.Builder> describeActionTargetsRequest)
Returns a list of the custom action targets in Security Hub in your account.
This is a variant of
describeActionTargets(software.amazon.awssdk.services.securityhub.model.DescribeActionTargetsRequest)
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.securityhub.paginators.DescribeActionTargetsPublisher publisher = client.describeActionTargetsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.DescribeActionTargetsPublisher publisher = client.describeActionTargetsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.DescribeActionTargetsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.DescribeActionTargetsResponse 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
describeActionTargets(software.amazon.awssdk.services.securityhub.model.DescribeActionTargetsRequest)
operation.
This is a convenience which creates an instance of the DescribeActionTargetsRequest.Builder avoiding the
need to create one manually via DescribeActionTargetsRequest.builder()
describeActionTargetsRequest - A Consumer that will call methods on DescribeActionTargetsRequest.Builder to create a
request.default CompletableFuture<DescribeHubResponse> describeHub(DescribeHubRequest describeHubRequest)
Returns details about the Hub resource in your account, including the HubArn and the time when you
enabled Security Hub.
describeHubRequest - default CompletableFuture<DescribeHubResponse> describeHub(Consumer<DescribeHubRequest.Builder> describeHubRequest)
Returns details about the Hub resource in your account, including the HubArn and the time when you
enabled Security Hub.
This is a convenience which creates an instance of the DescribeHubRequest.Builder avoiding the need to
create one manually via DescribeHubRequest.builder()
describeHubRequest - A Consumer that will call methods on DescribeHubRequest.Builder to create a request.default CompletableFuture<DescribeOrganizationConfigurationResponse> describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest)
Returns information about the Organizations configuration for Security Hub. Can only be called from a Security Hub administrator account.
describeOrganizationConfigurationRequest - default CompletableFuture<DescribeOrganizationConfigurationResponse> describeOrganizationConfiguration(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest)
Returns information about the Organizations configuration for Security Hub. Can only be called from a Security Hub administrator account.
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<DescribeProductsResponse> describeProducts(DescribeProductsRequest describeProductsRequest)
Returns information about product integrations in Security Hub.
You can optionally provide an integration ARN. If you provide an integration ARN, then the results only include that integration.
If you do not provide an integration ARN, then the results include all of the available product integrations.
describeProductsRequest - default CompletableFuture<DescribeProductsResponse> describeProducts(Consumer<DescribeProductsRequest.Builder> describeProductsRequest)
Returns information about product integrations in Security Hub.
You can optionally provide an integration ARN. If you provide an integration ARN, then the results only include that integration.
If you do not provide an integration ARN, then the results include all of the available product integrations.
This is a convenience which creates an instance of the DescribeProductsRequest.Builder avoiding the need
to create one manually via DescribeProductsRequest.builder()
describeProductsRequest - A Consumer that will call methods on DescribeProductsRequest.Builder to create a request.default DescribeProductsPublisher describeProductsPaginator(DescribeProductsRequest describeProductsRequest)
Returns information about product integrations in Security Hub.
You can optionally provide an integration ARN. If you provide an integration ARN, then the results only include that integration.
If you do not provide an integration ARN, then the results include all of the available product integrations.
This is a variant of
describeProducts(software.amazon.awssdk.services.securityhub.model.DescribeProductsRequest) 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.securityhub.paginators.DescribeProductsPublisher publisher = client.describeProductsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.DescribeProductsPublisher publisher = client.describeProductsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.DescribeProductsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.DescribeProductsResponse 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
describeProducts(software.amazon.awssdk.services.securityhub.model.DescribeProductsRequest)
operation.
describeProductsRequest - default DescribeProductsPublisher describeProductsPaginator(Consumer<DescribeProductsRequest.Builder> describeProductsRequest)
Returns information about product integrations in Security Hub.
You can optionally provide an integration ARN. If you provide an integration ARN, then the results only include that integration.
If you do not provide an integration ARN, then the results include all of the available product integrations.
This is a variant of
describeProducts(software.amazon.awssdk.services.securityhub.model.DescribeProductsRequest) 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.securityhub.paginators.DescribeProductsPublisher publisher = client.describeProductsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.DescribeProductsPublisher publisher = client.describeProductsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.DescribeProductsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.DescribeProductsResponse 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
describeProducts(software.amazon.awssdk.services.securityhub.model.DescribeProductsRequest)
operation.
This is a convenience which creates an instance of the DescribeProductsRequest.Builder avoiding the need
to create one manually via DescribeProductsRequest.builder()
describeProductsRequest - A Consumer that will call methods on DescribeProductsRequest.Builder to create a request.default CompletableFuture<DescribeStandardsResponse> describeStandards(DescribeStandardsRequest describeStandardsRequest)
Returns a list of the available standards in Security Hub.
For each standard, the results include the standard ARN, the name, and a description.
describeStandardsRequest - default CompletableFuture<DescribeStandardsResponse> describeStandards(Consumer<DescribeStandardsRequest.Builder> describeStandardsRequest)
Returns a list of the available standards in Security Hub.
For each standard, the results include the standard ARN, the name, and a description.
This is a convenience which creates an instance of the DescribeStandardsRequest.Builder avoiding the need
to create one manually via DescribeStandardsRequest.builder()
describeStandardsRequest - A Consumer that will call methods on DescribeStandardsRequest.Builder to create a request.default CompletableFuture<DescribeStandardsControlsResponse> describeStandardsControls(DescribeStandardsControlsRequest describeStandardsControlsRequest)
Returns a list of security standards controls.
For each control, the results include information about whether it is currently enabled, the severity, and a link to remediation information.
describeStandardsControlsRequest - default CompletableFuture<DescribeStandardsControlsResponse> describeStandardsControls(Consumer<DescribeStandardsControlsRequest.Builder> describeStandardsControlsRequest)
Returns a list of security standards controls.
For each control, the results include information about whether it is currently enabled, the severity, and a link to remediation information.
This is a convenience which creates an instance of the DescribeStandardsControlsRequest.Builder avoiding
the need to create one manually via DescribeStandardsControlsRequest.builder()
describeStandardsControlsRequest - A Consumer that will call methods on DescribeStandardsControlsRequest.Builder to create a
request.default DescribeStandardsControlsPublisher describeStandardsControlsPaginator(DescribeStandardsControlsRequest describeStandardsControlsRequest)
Returns a list of security standards controls.
For each control, the results include information about whether it is currently enabled, the severity, and a link to remediation information.
This is a variant of
describeStandardsControls(software.amazon.awssdk.services.securityhub.model.DescribeStandardsControlsRequest)
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.securityhub.paginators.DescribeStandardsControlsPublisher publisher = client.describeStandardsControlsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.DescribeStandardsControlsPublisher publisher = client.describeStandardsControlsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.DescribeStandardsControlsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.DescribeStandardsControlsResponse 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
describeStandardsControls(software.amazon.awssdk.services.securityhub.model.DescribeStandardsControlsRequest)
operation.
describeStandardsControlsRequest - default DescribeStandardsControlsPublisher describeStandardsControlsPaginator(Consumer<DescribeStandardsControlsRequest.Builder> describeStandardsControlsRequest)
Returns a list of security standards controls.
For each control, the results include information about whether it is currently enabled, the severity, and a link to remediation information.
This is a variant of
describeStandardsControls(software.amazon.awssdk.services.securityhub.model.DescribeStandardsControlsRequest)
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.securityhub.paginators.DescribeStandardsControlsPublisher publisher = client.describeStandardsControlsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.DescribeStandardsControlsPublisher publisher = client.describeStandardsControlsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.DescribeStandardsControlsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.DescribeStandardsControlsResponse 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
describeStandardsControls(software.amazon.awssdk.services.securityhub.model.DescribeStandardsControlsRequest)
operation.
This is a convenience which creates an instance of the DescribeStandardsControlsRequest.Builder avoiding
the need to create one manually via DescribeStandardsControlsRequest.builder()
describeStandardsControlsRequest - A Consumer that will call methods on DescribeStandardsControlsRequest.Builder to create a
request.default DescribeStandardsPublisher describeStandardsPaginator(DescribeStandardsRequest describeStandardsRequest)
Returns a list of the available standards in Security Hub.
For each standard, the results include the standard ARN, the name, and a description.
This is a variant of
describeStandards(software.amazon.awssdk.services.securityhub.model.DescribeStandardsRequest) 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.securityhub.paginators.DescribeStandardsPublisher publisher = client.describeStandardsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.DescribeStandardsPublisher publisher = client.describeStandardsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.DescribeStandardsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.DescribeStandardsResponse 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
describeStandards(software.amazon.awssdk.services.securityhub.model.DescribeStandardsRequest)
operation.
describeStandardsRequest - default DescribeStandardsPublisher describeStandardsPaginator(Consumer<DescribeStandardsRequest.Builder> describeStandardsRequest)
Returns a list of the available standards in Security Hub.
For each standard, the results include the standard ARN, the name, and a description.
This is a variant of
describeStandards(software.amazon.awssdk.services.securityhub.model.DescribeStandardsRequest) 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.securityhub.paginators.DescribeStandardsPublisher publisher = client.describeStandardsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.DescribeStandardsPublisher publisher = client.describeStandardsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.DescribeStandardsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.DescribeStandardsResponse 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
describeStandards(software.amazon.awssdk.services.securityhub.model.DescribeStandardsRequest)
operation.
This is a convenience which creates an instance of the DescribeStandardsRequest.Builder avoiding the need
to create one manually via DescribeStandardsRequest.builder()
describeStandardsRequest - A Consumer that will call methods on DescribeStandardsRequest.Builder to create a request.default CompletableFuture<DisableImportFindingsForProductResponse> disableImportFindingsForProduct(DisableImportFindingsForProductRequest disableImportFindingsForProductRequest)
Disables the integration of the specified product with Security Hub. After the integration is disabled, findings from that product are no longer sent to Security Hub.
disableImportFindingsForProductRequest - default CompletableFuture<DisableImportFindingsForProductResponse> disableImportFindingsForProduct(Consumer<DisableImportFindingsForProductRequest.Builder> disableImportFindingsForProductRequest)
Disables the integration of the specified product with Security Hub. After the integration is disabled, findings from that product are no longer sent to Security Hub.
This is a convenience which creates an instance of the DisableImportFindingsForProductRequest.Builder
avoiding the need to create one manually via DisableImportFindingsForProductRequest.builder()
disableImportFindingsForProductRequest - A Consumer that will call methods on DisableImportFindingsForProductRequest.Builder to
create a request.default CompletableFuture<DisableOrganizationAdminAccountResponse> disableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest disableOrganizationAdminAccountRequest)
Disables a Security Hub administrator account. Can only be called by the organization management account.
disableOrganizationAdminAccountRequest - default CompletableFuture<DisableOrganizationAdminAccountResponse> disableOrganizationAdminAccount(Consumer<DisableOrganizationAdminAccountRequest.Builder> disableOrganizationAdminAccountRequest)
Disables a Security Hub administrator account. Can only be called by the organization management account.
This is a convenience which creates an instance of the DisableOrganizationAdminAccountRequest.Builder
avoiding the need to create one manually via DisableOrganizationAdminAccountRequest.builder()
disableOrganizationAdminAccountRequest - A Consumer that will call methods on DisableOrganizationAdminAccountRequest.Builder to
create a request.default CompletableFuture<DisableSecurityHubResponse> disableSecurityHub(DisableSecurityHubRequest disableSecurityHubRequest)
Disables Security Hub in your account only in the current Region. To disable Security Hub in all Regions, you must submit one request per Region where you have enabled Security Hub.
When you disable Security Hub for an administrator account, it doesn't disable Security Hub for any associated member accounts.
When you disable Security Hub, your existing findings and insights and any Security Hub configuration settings are deleted after 90 days and cannot be recovered. Any standards that were enabled are disabled, and your administrator and member account associations are removed.
If you want to save your existing findings, you must export them before you disable Security Hub.
disableSecurityHubRequest - default CompletableFuture<DisableSecurityHubResponse> disableSecurityHub(Consumer<DisableSecurityHubRequest.Builder> disableSecurityHubRequest)
Disables Security Hub in your account only in the current Region. To disable Security Hub in all Regions, you must submit one request per Region where you have enabled Security Hub.
When you disable Security Hub for an administrator account, it doesn't disable Security Hub for any associated member accounts.
When you disable Security Hub, your existing findings and insights and any Security Hub configuration settings are deleted after 90 days and cannot be recovered. Any standards that were enabled are disabled, and your administrator and member account associations are removed.
If you want to save your existing findings, you must export them before you disable Security Hub.
This is a convenience which creates an instance of the DisableSecurityHubRequest.Builder avoiding the
need to create one manually via DisableSecurityHubRequest.builder()
disableSecurityHubRequest - A Consumer that will call methods on DisableSecurityHubRequest.Builder to create a
request.default CompletableFuture<DisableSecurityHubResponse> disableSecurityHub()
Disables Security Hub in your account only in the current Region. To disable Security Hub in all Regions, you must submit one request per Region where you have enabled Security Hub.
When you disable Security Hub for an administrator account, it doesn't disable Security Hub for any associated member accounts.
When you disable Security Hub, your existing findings and insights and any Security Hub configuration settings are deleted after 90 days and cannot be recovered. Any standards that were enabled are disabled, and your administrator and member account associations are removed.
If you want to save your existing findings, you must export them before you disable Security Hub.
default CompletableFuture<DisassociateFromAdministratorAccountResponse> disassociateFromAdministratorAccount(DisassociateFromAdministratorAccountRequest disassociateFromAdministratorAccountRequest)
Disassociates the current Security Hub member account from the associated administrator account.
This operation is only used by accounts that are not part of an organization. For organization accounts, only the administrator account can disassociate a member account.
disassociateFromAdministratorAccountRequest - default CompletableFuture<DisassociateFromAdministratorAccountResponse> disassociateFromAdministratorAccount(Consumer<DisassociateFromAdministratorAccountRequest.Builder> disassociateFromAdministratorAccountRequest)
Disassociates the current Security Hub member account from the associated administrator account.
This operation is only used by accounts that are not part of an organization. For organization accounts, only the administrator account can disassociate a member account.
This is a convenience which creates an instance of the
DisassociateFromAdministratorAccountRequest.Builder avoiding the need to create one manually via
DisassociateFromAdministratorAccountRequest.builder()
disassociateFromAdministratorAccountRequest - A Consumer that will call methods on DisassociateFromAdministratorAccountRequest.Builder
to create a request.@Deprecated default CompletableFuture<DisassociateFromMasterAccountResponse> disassociateFromMasterAccount(DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest)
This method is deprecated. Instead, use DisassociateFromAdministratorAccount.
The Security Hub console continues to use DisassociateFromMasterAccount. It will eventually change
to use DisassociateFromAdministratorAccount. Any IAM policies that specifically control access to
this function must continue to use DisassociateFromMasterAccount. You should also add
DisassociateFromAdministratorAccount to your policies to ensure that the correct permissions are in
place after the console begins to use DisassociateFromAdministratorAccount.
Disassociates the current Security Hub member account from the associated administrator account.
This operation is only used by accounts that are not part of an organization. For organization accounts, only the administrator account can disassociate a member account.
disassociateFromMasterAccountRequest - @Deprecated default CompletableFuture<DisassociateFromMasterAccountResponse> disassociateFromMasterAccount(Consumer<DisassociateFromMasterAccountRequest.Builder> disassociateFromMasterAccountRequest)
This method is deprecated. Instead, use DisassociateFromAdministratorAccount.
The Security Hub console continues to use DisassociateFromMasterAccount. It will eventually change
to use DisassociateFromAdministratorAccount. Any IAM policies that specifically control access to
this function must continue to use DisassociateFromMasterAccount. You should also add
DisassociateFromAdministratorAccount to your policies to ensure that the correct permissions are in
place after the console begins to use DisassociateFromAdministratorAccount.
Disassociates the current Security Hub member account from the associated administrator account.
This operation is only used by accounts that are not part of an organization. For organization accounts, only the administrator account can disassociate a member account.
This is a convenience which creates an instance of the DisassociateFromMasterAccountRequest.Builder
avoiding the need to create one manually via DisassociateFromMasterAccountRequest.builder()
disassociateFromMasterAccountRequest - A Consumer that will call methods on DisassociateFromMasterAccountRequest.Builder to
create a request.default CompletableFuture<DisassociateMembersResponse> disassociateMembers(DisassociateMembersRequest disassociateMembersRequest)
Disassociates the specified member accounts from the associated administrator account.
Can be used to disassociate both accounts that are managed using Organizations and accounts that were invited manually.
disassociateMembersRequest - default CompletableFuture<DisassociateMembersResponse> disassociateMembers(Consumer<DisassociateMembersRequest.Builder> disassociateMembersRequest)
Disassociates the specified member accounts from the associated administrator account.
Can be used to disassociate both accounts that are managed using Organizations and accounts that were invited manually.
This is a convenience which creates an instance of the DisassociateMembersRequest.Builder avoiding the
need to create one manually via DisassociateMembersRequest.builder()
disassociateMembersRequest - A Consumer that will call methods on DisassociateMembersRequest.Builder to create a
request.default CompletableFuture<EnableImportFindingsForProductResponse> enableImportFindingsForProduct(EnableImportFindingsForProductRequest enableImportFindingsForProductRequest)
Enables the integration of a partner product with Security Hub. Integrated products send findings to Security Hub.
When you enable a product integration, a permissions policy that grants permission for the product to send findings to Security Hub is applied.
enableImportFindingsForProductRequest - default CompletableFuture<EnableImportFindingsForProductResponse> enableImportFindingsForProduct(Consumer<EnableImportFindingsForProductRequest.Builder> enableImportFindingsForProductRequest)
Enables the integration of a partner product with Security Hub. Integrated products send findings to Security Hub.
When you enable a product integration, a permissions policy that grants permission for the product to send findings to Security Hub is applied.
This is a convenience which creates an instance of the EnableImportFindingsForProductRequest.Builder
avoiding the need to create one manually via EnableImportFindingsForProductRequest.builder()
enableImportFindingsForProductRequest - A Consumer that will call methods on EnableImportFindingsForProductRequest.Builder to
create a request.default CompletableFuture<EnableOrganizationAdminAccountResponse> enableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest enableOrganizationAdminAccountRequest)
Designates the Security Hub administrator account for an organization. Can only be called by the organization management account.
enableOrganizationAdminAccountRequest - default CompletableFuture<EnableOrganizationAdminAccountResponse> enableOrganizationAdminAccount(Consumer<EnableOrganizationAdminAccountRequest.Builder> enableOrganizationAdminAccountRequest)
Designates the Security Hub administrator account for an organization. Can only be called by the organization management account.
This is a convenience which creates an instance of the EnableOrganizationAdminAccountRequest.Builder
avoiding the need to create one manually via EnableOrganizationAdminAccountRequest.builder()
enableOrganizationAdminAccountRequest - A Consumer that will call methods on EnableOrganizationAdminAccountRequest.Builder to
create a request.default CompletableFuture<EnableSecurityHubResponse> enableSecurityHub(EnableSecurityHubRequest enableSecurityHubRequest)
Enables Security Hub for your account in the current Region or the Region you specify in the request.
When you enable Security Hub, you grant to Security Hub the permissions necessary to gather findings from other services that are integrated with Security Hub.
When you use the EnableSecurityHub operation to enable Security Hub, you also automatically enable
the following standards:
Center for Internet Security (CIS) Amazon Web Services Foundations Benchmark v1.2.0
Amazon Web Services Foundational Security Best Practices
Other standards are not automatically enabled.
To opt out of automatically enabled standards, set EnableDefaultStandards to false.
After you enable Security Hub, to enable a standard, use the BatchEnableStandards operation. To
disable a standard, use the BatchDisableStandards operation.
To learn more, see the setup information in the Security Hub User Guide.
enableSecurityHubRequest - default CompletableFuture<EnableSecurityHubResponse> enableSecurityHub(Consumer<EnableSecurityHubRequest.Builder> enableSecurityHubRequest)
Enables Security Hub for your account in the current Region or the Region you specify in the request.
When you enable Security Hub, you grant to Security Hub the permissions necessary to gather findings from other services that are integrated with Security Hub.
When you use the EnableSecurityHub operation to enable Security Hub, you also automatically enable
the following standards:
Center for Internet Security (CIS) Amazon Web Services Foundations Benchmark v1.2.0
Amazon Web Services Foundational Security Best Practices
Other standards are not automatically enabled.
To opt out of automatically enabled standards, set EnableDefaultStandards to false.
After you enable Security Hub, to enable a standard, use the BatchEnableStandards operation. To
disable a standard, use the BatchDisableStandards operation.
To learn more, see the setup information in the Security Hub User Guide.
This is a convenience which creates an instance of the EnableSecurityHubRequest.Builder avoiding the need
to create one manually via EnableSecurityHubRequest.builder()
enableSecurityHubRequest - A Consumer that will call methods on EnableSecurityHubRequest.Builder to create a request.default CompletableFuture<EnableSecurityHubResponse> enableSecurityHub()
Enables Security Hub for your account in the current Region or the Region you specify in the request.
When you enable Security Hub, you grant to Security Hub the permissions necessary to gather findings from other services that are integrated with Security Hub.
When you use the EnableSecurityHub operation to enable Security Hub, you also automatically enable
the following standards:
Center for Internet Security (CIS) Amazon Web Services Foundations Benchmark v1.2.0
Amazon Web Services Foundational Security Best Practices
Other standards are not automatically enabled.
To opt out of automatically enabled standards, set EnableDefaultStandards to false.
After you enable Security Hub, to enable a standard, use the BatchEnableStandards operation. To
disable a standard, use the BatchDisableStandards operation.
To learn more, see the setup information in the Security Hub User Guide.
default CompletableFuture<GetAdministratorAccountResponse> getAdministratorAccount(GetAdministratorAccountRequest getAdministratorAccountRequest)
Provides the details for the Security Hub administrator account for the current member account.
Can be used by both member accounts that are managed using Organizations and accounts that were invited manually.
getAdministratorAccountRequest - default CompletableFuture<GetAdministratorAccountResponse> getAdministratorAccount(Consumer<GetAdministratorAccountRequest.Builder> getAdministratorAccountRequest)
Provides the details for the Security Hub administrator account for the current member account.
Can be used by both member accounts that are managed using Organizations and accounts that were invited manually.
This is a convenience which creates an instance of the GetAdministratorAccountRequest.Builder avoiding
the need to create one manually via GetAdministratorAccountRequest.builder()
getAdministratorAccountRequest - A Consumer that will call methods on GetAdministratorAccountRequest.Builder to create a
request.default CompletableFuture<GetEnabledStandardsResponse> getEnabledStandards(GetEnabledStandardsRequest getEnabledStandardsRequest)
Returns a list of the standards that are currently enabled.
getEnabledStandardsRequest - default CompletableFuture<GetEnabledStandardsResponse> getEnabledStandards(Consumer<GetEnabledStandardsRequest.Builder> getEnabledStandardsRequest)
Returns a list of the standards that are currently enabled.
This is a convenience which creates an instance of the GetEnabledStandardsRequest.Builder avoiding the
need to create one manually via GetEnabledStandardsRequest.builder()
getEnabledStandardsRequest - A Consumer that will call methods on GetEnabledStandardsRequest.Builder to create a
request.default GetEnabledStandardsPublisher getEnabledStandardsPaginator(GetEnabledStandardsRequest getEnabledStandardsRequest)
Returns a list of the standards that are currently enabled.
This is a variant of
getEnabledStandards(software.amazon.awssdk.services.securityhub.model.GetEnabledStandardsRequest)
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.securityhub.paginators.GetEnabledStandardsPublisher publisher = client.getEnabledStandardsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.GetEnabledStandardsPublisher publisher = client.getEnabledStandardsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.GetEnabledStandardsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.GetEnabledStandardsResponse 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
getEnabledStandards(software.amazon.awssdk.services.securityhub.model.GetEnabledStandardsRequest)
operation.
getEnabledStandardsRequest - default GetEnabledStandardsPublisher getEnabledStandardsPaginator(Consumer<GetEnabledStandardsRequest.Builder> getEnabledStandardsRequest)
Returns a list of the standards that are currently enabled.
This is a variant of
getEnabledStandards(software.amazon.awssdk.services.securityhub.model.GetEnabledStandardsRequest)
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.securityhub.paginators.GetEnabledStandardsPublisher publisher = client.getEnabledStandardsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.GetEnabledStandardsPublisher publisher = client.getEnabledStandardsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.GetEnabledStandardsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.GetEnabledStandardsResponse 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
getEnabledStandards(software.amazon.awssdk.services.securityhub.model.GetEnabledStandardsRequest)
operation.
This is a convenience which creates an instance of the GetEnabledStandardsRequest.Builder avoiding the
need to create one manually via GetEnabledStandardsRequest.builder()
getEnabledStandardsRequest - A Consumer that will call methods on GetEnabledStandardsRequest.Builder to create a
request.default CompletableFuture<GetFindingAggregatorResponse> getFindingAggregator(GetFindingAggregatorRequest getFindingAggregatorRequest)
Returns the current finding aggregation configuration.
getFindingAggregatorRequest - default CompletableFuture<GetFindingAggregatorResponse> getFindingAggregator(Consumer<GetFindingAggregatorRequest.Builder> getFindingAggregatorRequest)
Returns the current finding aggregation configuration.
This is a convenience which creates an instance of the GetFindingAggregatorRequest.Builder avoiding the
need to create one manually via GetFindingAggregatorRequest.builder()
getFindingAggregatorRequest - A Consumer that will call methods on GetFindingAggregatorRequest.Builder to create a
request.default CompletableFuture<GetFindingHistoryResponse> getFindingHistory(GetFindingHistoryRequest getFindingHistoryRequest)
Returns history for a Security Hub finding in the last 90 days. The history includes changes made to any fields in the Amazon Web Services Security Finding Format (ASFF).
getFindingHistoryRequest - default CompletableFuture<GetFindingHistoryResponse> getFindingHistory(Consumer<GetFindingHistoryRequest.Builder> getFindingHistoryRequest)
Returns history for a Security Hub finding in the last 90 days. The history includes changes made to any fields in the Amazon Web Services Security Finding Format (ASFF).
This is a convenience which creates an instance of the GetFindingHistoryRequest.Builder avoiding the need
to create one manually via GetFindingHistoryRequest.builder()
getFindingHistoryRequest - A Consumer that will call methods on GetFindingHistoryRequest.Builder to create a request.default GetFindingHistoryPublisher getFindingHistoryPaginator(GetFindingHistoryRequest getFindingHistoryRequest)
Returns history for a Security Hub finding in the last 90 days. The history includes changes made to any fields in the Amazon Web Services Security Finding Format (ASFF).
This is a variant of
getFindingHistory(software.amazon.awssdk.services.securityhub.model.GetFindingHistoryRequest) 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.securityhub.paginators.GetFindingHistoryPublisher publisher = client.getFindingHistoryPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.GetFindingHistoryPublisher publisher = client.getFindingHistoryPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.GetFindingHistoryResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.GetFindingHistoryResponse 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
getFindingHistory(software.amazon.awssdk.services.securityhub.model.GetFindingHistoryRequest)
operation.
getFindingHistoryRequest - default GetFindingHistoryPublisher getFindingHistoryPaginator(Consumer<GetFindingHistoryRequest.Builder> getFindingHistoryRequest)
Returns history for a Security Hub finding in the last 90 days. The history includes changes made to any fields in the Amazon Web Services Security Finding Format (ASFF).
This is a variant of
getFindingHistory(software.amazon.awssdk.services.securityhub.model.GetFindingHistoryRequest) 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.securityhub.paginators.GetFindingHistoryPublisher publisher = client.getFindingHistoryPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.GetFindingHistoryPublisher publisher = client.getFindingHistoryPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.GetFindingHistoryResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.GetFindingHistoryResponse 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
getFindingHistory(software.amazon.awssdk.services.securityhub.model.GetFindingHistoryRequest)
operation.
This is a convenience which creates an instance of the GetFindingHistoryRequest.Builder avoiding the need
to create one manually via GetFindingHistoryRequest.builder()
getFindingHistoryRequest - A Consumer that will call methods on GetFindingHistoryRequest.Builder to create a request.default CompletableFuture<GetFindingsResponse> getFindings(GetFindingsRequest getFindingsRequest)
Returns a list of findings that match the specified criteria.
If finding aggregation is enabled, then when you call GetFindings from the aggregation Region, the
results include all of the matching findings from both the aggregation Region and the linked Regions.
getFindingsRequest - default CompletableFuture<GetFindingsResponse> getFindings(Consumer<GetFindingsRequest.Builder> getFindingsRequest)
Returns a list of findings that match the specified criteria.
If finding aggregation is enabled, then when you call GetFindings from the aggregation Region, the
results include all of the matching findings from both the aggregation Region and the linked Regions.
This is a convenience which creates an instance of the GetFindingsRequest.Builder avoiding the need to
create one manually via GetFindingsRequest.builder()
getFindingsRequest - A Consumer that will call methods on GetFindingsRequest.Builder to create a request.default CompletableFuture<GetFindingsResponse> getFindings()
Returns a list of findings that match the specified criteria.
If finding aggregation is enabled, then when you call GetFindings from the aggregation Region, the
results include all of the matching findings from both the aggregation Region and the linked Regions.
default GetFindingsPublisher getFindingsPaginator()
Returns a list of findings that match the specified criteria.
If finding aggregation is enabled, then when you call GetFindings from the aggregation Region, the
results include all of the matching findings from both the aggregation Region and the linked Regions.
This is a variant of getFindings(software.amazon.awssdk.services.securityhub.model.GetFindingsRequest)
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.securityhub.paginators.GetFindingsPublisher publisher = client.getFindingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.GetFindingsPublisher publisher = client.getFindingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.GetFindingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.GetFindingsResponse 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
getFindings(software.amazon.awssdk.services.securityhub.model.GetFindingsRequest) operation.
default GetFindingsPublisher getFindingsPaginator(GetFindingsRequest getFindingsRequest)
Returns a list of findings that match the specified criteria.
If finding aggregation is enabled, then when you call GetFindings from the aggregation Region, the
results include all of the matching findings from both the aggregation Region and the linked Regions.
This is a variant of getFindings(software.amazon.awssdk.services.securityhub.model.GetFindingsRequest)
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.securityhub.paginators.GetFindingsPublisher publisher = client.getFindingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.GetFindingsPublisher publisher = client.getFindingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.GetFindingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.GetFindingsResponse 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
getFindings(software.amazon.awssdk.services.securityhub.model.GetFindingsRequest) operation.
getFindingsRequest - default GetFindingsPublisher getFindingsPaginator(Consumer<GetFindingsRequest.Builder> getFindingsRequest)
Returns a list of findings that match the specified criteria.
If finding aggregation is enabled, then when you call GetFindings from the aggregation Region, the
results include all of the matching findings from both the aggregation Region and the linked Regions.
This is a variant of getFindings(software.amazon.awssdk.services.securityhub.model.GetFindingsRequest)
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.securityhub.paginators.GetFindingsPublisher publisher = client.getFindingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.GetFindingsPublisher publisher = client.getFindingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.GetFindingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.GetFindingsResponse 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
getFindings(software.amazon.awssdk.services.securityhub.model.GetFindingsRequest) operation.
This is a convenience which creates an instance of the GetFindingsRequest.Builder avoiding the need to
create one manually via GetFindingsRequest.builder()
getFindingsRequest - A Consumer that will call methods on GetFindingsRequest.Builder to create a request.default CompletableFuture<GetInsightResultsResponse> getInsightResults(GetInsightResultsRequest getInsightResultsRequest)
Lists the results of the Security Hub insight specified by the insight ARN.
getInsightResultsRequest - default CompletableFuture<GetInsightResultsResponse> getInsightResults(Consumer<GetInsightResultsRequest.Builder> getInsightResultsRequest)
Lists the results of the Security Hub insight specified by the insight ARN.
This is a convenience which creates an instance of the GetInsightResultsRequest.Builder avoiding the need
to create one manually via GetInsightResultsRequest.builder()
getInsightResultsRequest - A Consumer that will call methods on GetInsightResultsRequest.Builder to create a request.default CompletableFuture<GetInsightsResponse> getInsights(GetInsightsRequest getInsightsRequest)
Lists and describes insights for the specified insight ARNs.
getInsightsRequest - default CompletableFuture<GetInsightsResponse> getInsights(Consumer<GetInsightsRequest.Builder> getInsightsRequest)
Lists and describes insights for the specified insight ARNs.
This is a convenience which creates an instance of the GetInsightsRequest.Builder avoiding the need to
create one manually via GetInsightsRequest.builder()
getInsightsRequest - A Consumer that will call methods on GetInsightsRequest.Builder to create a request.default GetInsightsPublisher getInsightsPaginator(GetInsightsRequest getInsightsRequest)
Lists and describes insights for the specified insight ARNs.
This is a variant of getInsights(software.amazon.awssdk.services.securityhub.model.GetInsightsRequest)
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.securityhub.paginators.GetInsightsPublisher publisher = client.getInsightsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.GetInsightsPublisher publisher = client.getInsightsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.GetInsightsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.GetInsightsResponse 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
getInsights(software.amazon.awssdk.services.securityhub.model.GetInsightsRequest) operation.
getInsightsRequest - default GetInsightsPublisher getInsightsPaginator(Consumer<GetInsightsRequest.Builder> getInsightsRequest)
Lists and describes insights for the specified insight ARNs.
This is a variant of getInsights(software.amazon.awssdk.services.securityhub.model.GetInsightsRequest)
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.securityhub.paginators.GetInsightsPublisher publisher = client.getInsightsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.GetInsightsPublisher publisher = client.getInsightsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.GetInsightsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.GetInsightsResponse 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
getInsights(software.amazon.awssdk.services.securityhub.model.GetInsightsRequest) operation.
This is a convenience which creates an instance of the GetInsightsRequest.Builder avoiding the need to
create one manually via GetInsightsRequest.builder()
getInsightsRequest - A Consumer that will call methods on GetInsightsRequest.Builder to create a request.default CompletableFuture<GetInvitationsCountResponse> getInvitationsCount(GetInvitationsCountRequest getInvitationsCountRequest)
Returns the count of all Security Hub membership invitations that were sent to the current member account, not including the currently accepted invitation.
getInvitationsCountRequest - default CompletableFuture<GetInvitationsCountResponse> getInvitationsCount(Consumer<GetInvitationsCountRequest.Builder> getInvitationsCountRequest)
Returns the count of all Security Hub membership invitations that were sent to the current member account, not including the currently accepted invitation.
This is a convenience which creates an instance of the GetInvitationsCountRequest.Builder avoiding the
need to create one manually via GetInvitationsCountRequest.builder()
getInvitationsCountRequest - A Consumer that will call methods on GetInvitationsCountRequest.Builder to create a
request.default CompletableFuture<GetInvitationsCountResponse> getInvitationsCount()
Returns the count of all Security Hub membership invitations that were sent to the current member account, not including the currently accepted invitation.
@Deprecated default CompletableFuture<GetMasterAccountResponse> getMasterAccount(GetMasterAccountRequest getMasterAccountRequest)
This method is deprecated. Instead, use GetAdministratorAccount.
The Security Hub console continues to use GetMasterAccount. It will eventually change to use
GetAdministratorAccount. Any IAM policies that specifically control access to this function must
continue to use GetMasterAccount. You should also add GetAdministratorAccount to your
policies to ensure that the correct permissions are in place after the console begins to use
GetAdministratorAccount.
Provides the details for the Security Hub administrator account for the current member account.
Can be used by both member accounts that are managed using Organizations and accounts that were invited manually.
getMasterAccountRequest - @Deprecated default CompletableFuture<GetMasterAccountResponse> getMasterAccount(Consumer<GetMasterAccountRequest.Builder> getMasterAccountRequest)
This method is deprecated. Instead, use GetAdministratorAccount.
The Security Hub console continues to use GetMasterAccount. It will eventually change to use
GetAdministratorAccount. Any IAM policies that specifically control access to this function must
continue to use GetMasterAccount. You should also add GetAdministratorAccount to your
policies to ensure that the correct permissions are in place after the console begins to use
GetAdministratorAccount.
Provides the details for the Security Hub administrator account for the current member account.
Can be used by both member accounts that are managed using Organizations and accounts that were invited manually.
This is a convenience which creates an instance of the GetMasterAccountRequest.Builder avoiding the need
to create one manually via GetMasterAccountRequest.builder()
getMasterAccountRequest - A Consumer that will call methods on GetMasterAccountRequest.Builder to create a request.@Deprecated default CompletableFuture<GetMasterAccountResponse> getMasterAccount()
This method is deprecated. Instead, use GetAdministratorAccount.
The Security Hub console continues to use GetMasterAccount. It will eventually change to use
GetAdministratorAccount. Any IAM policies that specifically control access to this function must
continue to use GetMasterAccount. You should also add GetAdministratorAccount to your
policies to ensure that the correct permissions are in place after the console begins to use
GetAdministratorAccount.
Provides the details for the Security Hub administrator account for the current member account.
Can be used by both member accounts that are managed using Organizations and accounts that were invited manually.
default CompletableFuture<GetMembersResponse> getMembers(GetMembersRequest getMembersRequest)
Returns the details for the Security Hub member accounts for the specified account IDs.
An administrator account can be either the delegated Security Hub administrator account for an organization or an administrator account that enabled Security Hub manually.
The results include both member accounts that are managed using Organizations and accounts that were invited manually.
getMembersRequest - default CompletableFuture<GetMembersResponse> getMembers(Consumer<GetMembersRequest.Builder> getMembersRequest)
Returns the details for the Security Hub member accounts for the specified account IDs.
An administrator account can be either the delegated Security Hub administrator account for an organization or an administrator account that enabled Security Hub manually.
The results include both member accounts that are managed using Organizations and accounts that were invited manually.
This is a convenience which creates an instance of the GetMembersRequest.Builder avoiding the need to
create one manually via GetMembersRequest.builder()
getMembersRequest - A Consumer that will call methods on GetMembersRequest.Builder to create a request.default CompletableFuture<InviteMembersResponse> inviteMembers(InviteMembersRequest inviteMembersRequest)
Invites other Amazon Web Services accounts to become member accounts for the Security Hub administrator account that the invitation is sent from.
This operation is only used to invite accounts that do not belong to an organization. Organization accounts do not receive invitations.
Before you can use this action to invite a member, you must first use the CreateMembers action to
create the member account in Security Hub.
When the account owner enables Security Hub and accepts the invitation to become a member account, the administrator account can view the findings generated from the member account.
inviteMembersRequest - default CompletableFuture<InviteMembersResponse> inviteMembers(Consumer<InviteMembersRequest.Builder> inviteMembersRequest)
Invites other Amazon Web Services accounts to become member accounts for the Security Hub administrator account that the invitation is sent from.
This operation is only used to invite accounts that do not belong to an organization. Organization accounts do not receive invitations.
Before you can use this action to invite a member, you must first use the CreateMembers action to
create the member account in Security Hub.
When the account owner enables Security Hub and accepts the invitation to become a member account, the administrator account can view the findings generated from the member account.
This is a convenience which creates an instance of the InviteMembersRequest.Builder avoiding the need to
create one manually via InviteMembersRequest.builder()
inviteMembersRequest - A Consumer that will call methods on InviteMembersRequest.Builder to create a request.default CompletableFuture<ListAutomationRulesResponse> listAutomationRules(ListAutomationRulesRequest listAutomationRulesRequest)
A list of automation rules and their metadata for the calling account.
listAutomationRulesRequest - default CompletableFuture<ListAutomationRulesResponse> listAutomationRules(Consumer<ListAutomationRulesRequest.Builder> listAutomationRulesRequest)
A list of automation rules and their metadata for the calling account.
This is a convenience which creates an instance of the ListAutomationRulesRequest.Builder avoiding the
need to create one manually via ListAutomationRulesRequest.builder()
listAutomationRulesRequest - A Consumer that will call methods on ListAutomationRulesRequest.Builder to create a
request.default CompletableFuture<ListEnabledProductsForImportResponse> listEnabledProductsForImport(ListEnabledProductsForImportRequest listEnabledProductsForImportRequest)
Lists all findings-generating solutions (products) that you are subscribed to receive findings from in Security Hub.
listEnabledProductsForImportRequest - default CompletableFuture<ListEnabledProductsForImportResponse> listEnabledProductsForImport(Consumer<ListEnabledProductsForImportRequest.Builder> listEnabledProductsForImportRequest)
Lists all findings-generating solutions (products) that you are subscribed to receive findings from in Security Hub.
This is a convenience which creates an instance of the ListEnabledProductsForImportRequest.Builder
avoiding the need to create one manually via ListEnabledProductsForImportRequest.builder()
listEnabledProductsForImportRequest - A Consumer that will call methods on ListEnabledProductsForImportRequest.Builder to create
a request.default CompletableFuture<ListEnabledProductsForImportResponse> listEnabledProductsForImport()
Lists all findings-generating solutions (products) that you are subscribed to receive findings from in Security Hub.
default ListEnabledProductsForImportPublisher listEnabledProductsForImportPaginator()
Lists all findings-generating solutions (products) that you are subscribed to receive findings from in Security Hub.
This is a variant of
listEnabledProductsForImport(software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportRequest)
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.securityhub.paginators.ListEnabledProductsForImportPublisher publisher = client.listEnabledProductsForImportPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.ListEnabledProductsForImportPublisher publisher = client.listEnabledProductsForImportPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportResponse 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
listEnabledProductsForImport(software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportRequest)
operation.
default ListEnabledProductsForImportPublisher listEnabledProductsForImportPaginator(ListEnabledProductsForImportRequest listEnabledProductsForImportRequest)
Lists all findings-generating solutions (products) that you are subscribed to receive findings from in Security Hub.
This is a variant of
listEnabledProductsForImport(software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportRequest)
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.securityhub.paginators.ListEnabledProductsForImportPublisher publisher = client.listEnabledProductsForImportPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.ListEnabledProductsForImportPublisher publisher = client.listEnabledProductsForImportPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportResponse 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
listEnabledProductsForImport(software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportRequest)
operation.
listEnabledProductsForImportRequest - default ListEnabledProductsForImportPublisher listEnabledProductsForImportPaginator(Consumer<ListEnabledProductsForImportRequest.Builder> listEnabledProductsForImportRequest)
Lists all findings-generating solutions (products) that you are subscribed to receive findings from in Security Hub.
This is a variant of
listEnabledProductsForImport(software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportRequest)
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.securityhub.paginators.ListEnabledProductsForImportPublisher publisher = client.listEnabledProductsForImportPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.ListEnabledProductsForImportPublisher publisher = client.listEnabledProductsForImportPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportResponse 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
listEnabledProductsForImport(software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportRequest)
operation.
This is a convenience which creates an instance of the ListEnabledProductsForImportRequest.Builder
avoiding the need to create one manually via ListEnabledProductsForImportRequest.builder()
listEnabledProductsForImportRequest - A Consumer that will call methods on ListEnabledProductsForImportRequest.Builder to create
a request.default CompletableFuture<ListFindingAggregatorsResponse> listFindingAggregators(ListFindingAggregatorsRequest listFindingAggregatorsRequest)
If finding aggregation is enabled, then ListFindingAggregators returns the ARN of the finding
aggregator. You can run this operation from any Region.
listFindingAggregatorsRequest - default CompletableFuture<ListFindingAggregatorsResponse> listFindingAggregators(Consumer<ListFindingAggregatorsRequest.Builder> listFindingAggregatorsRequest)
If finding aggregation is enabled, then ListFindingAggregators returns the ARN of the finding
aggregator. You can run this operation from any Region.
This is a convenience which creates an instance of the ListFindingAggregatorsRequest.Builder avoiding the
need to create one manually via ListFindingAggregatorsRequest.builder()
listFindingAggregatorsRequest - A Consumer that will call methods on ListFindingAggregatorsRequest.Builder to create a
request.default ListFindingAggregatorsPublisher listFindingAggregatorsPaginator(ListFindingAggregatorsRequest listFindingAggregatorsRequest)
If finding aggregation is enabled, then ListFindingAggregators returns the ARN of the finding
aggregator. You can run this operation from any Region.
This is a variant of
listFindingAggregators(software.amazon.awssdk.services.securityhub.model.ListFindingAggregatorsRequest)
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.securityhub.paginators.ListFindingAggregatorsPublisher publisher = client.listFindingAggregatorsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.ListFindingAggregatorsPublisher publisher = client.listFindingAggregatorsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.ListFindingAggregatorsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.ListFindingAggregatorsResponse 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
listFindingAggregators(software.amazon.awssdk.services.securityhub.model.ListFindingAggregatorsRequest)
operation.
listFindingAggregatorsRequest - default ListFindingAggregatorsPublisher listFindingAggregatorsPaginator(Consumer<ListFindingAggregatorsRequest.Builder> listFindingAggregatorsRequest)
If finding aggregation is enabled, then ListFindingAggregators returns the ARN of the finding
aggregator. You can run this operation from any Region.
This is a variant of
listFindingAggregators(software.amazon.awssdk.services.securityhub.model.ListFindingAggregatorsRequest)
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.securityhub.paginators.ListFindingAggregatorsPublisher publisher = client.listFindingAggregatorsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.ListFindingAggregatorsPublisher publisher = client.listFindingAggregatorsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.ListFindingAggregatorsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.ListFindingAggregatorsResponse 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
listFindingAggregators(software.amazon.awssdk.services.securityhub.model.ListFindingAggregatorsRequest)
operation.
This is a convenience which creates an instance of the ListFindingAggregatorsRequest.Builder avoiding the
need to create one manually via ListFindingAggregatorsRequest.builder()
listFindingAggregatorsRequest - A Consumer that will call methods on ListFindingAggregatorsRequest.Builder to create a
request.default CompletableFuture<ListInvitationsResponse> listInvitations(ListInvitationsRequest listInvitationsRequest)
Lists all Security Hub membership invitations that were sent to the current Amazon Web Services account.
This operation is only used by accounts that are managed by invitation. Accounts that are managed using the integration with Organizations do not receive invitations.
listInvitationsRequest - default CompletableFuture<ListInvitationsResponse> listInvitations(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)
Lists all Security Hub membership invitations that were sent to the current Amazon Web Services account.
This operation is only used by accounts that are managed by invitation. Accounts that are managed using the integration with Organizations do not receive invitations.
This is a convenience which creates an instance of the ListInvitationsRequest.Builder avoiding the need
to create one manually via ListInvitationsRequest.builder()
listInvitationsRequest - A Consumer that will call methods on ListInvitationsRequest.Builder to create a request.default CompletableFuture<ListInvitationsResponse> listInvitations()
Lists all Security Hub membership invitations that were sent to the current Amazon Web Services account.
This operation is only used by accounts that are managed by invitation. Accounts that are managed using the integration with Organizations do not receive invitations.
default ListInvitationsPublisher listInvitationsPaginator()
Lists all Security Hub membership invitations that were sent to the current Amazon Web Services account.
This operation is only used by accounts that are managed by invitation. Accounts that are managed using the integration with Organizations do not receive invitations.
This is a variant of
listInvitations(software.amazon.awssdk.services.securityhub.model.ListInvitationsRequest) 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.securityhub.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.ListInvitationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.ListInvitationsResponse 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
listInvitations(software.amazon.awssdk.services.securityhub.model.ListInvitationsRequest) operation.
default ListInvitationsPublisher listInvitationsPaginator(ListInvitationsRequest listInvitationsRequest)
Lists all Security Hub membership invitations that were sent to the current Amazon Web Services account.
This operation is only used by accounts that are managed by invitation. Accounts that are managed using the integration with Organizations do not receive invitations.
This is a variant of
listInvitations(software.amazon.awssdk.services.securityhub.model.ListInvitationsRequest) 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.securityhub.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.ListInvitationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.ListInvitationsResponse 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
listInvitations(software.amazon.awssdk.services.securityhub.model.ListInvitationsRequest) operation.
listInvitationsRequest - default ListInvitationsPublisher listInvitationsPaginator(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)
Lists all Security Hub membership invitations that were sent to the current Amazon Web Services account.
This operation is only used by accounts that are managed by invitation. Accounts that are managed using the integration with Organizations do not receive invitations.
This is a variant of
listInvitations(software.amazon.awssdk.services.securityhub.model.ListInvitationsRequest) 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.securityhub.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.ListInvitationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.ListInvitationsResponse 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
listInvitations(software.amazon.awssdk.services.securityhub.model.ListInvitationsRequest) operation.
This is a convenience which creates an instance of the ListInvitationsRequest.Builder avoiding the need
to create one manually via ListInvitationsRequest.builder()
listInvitationsRequest - A Consumer that will call methods on ListInvitationsRequest.Builder to create a request.default CompletableFuture<ListMembersResponse> listMembers(ListMembersRequest listMembersRequest)
Lists details about all member accounts for the current Security Hub administrator account.
The results include both member accounts that belong to an organization and member accounts that were invited manually.
listMembersRequest - default CompletableFuture<ListMembersResponse> listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest)
Lists details about all member accounts for the current Security Hub administrator account.
The results include both member accounts that belong to an organization and member accounts that were invited manually.
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<ListMembersResponse> listMembers()
Lists details about all member accounts for the current Security Hub administrator account.
The results include both member accounts that belong to an organization and member accounts that were invited manually.
default ListMembersPublisher listMembersPaginator()
Lists details about all member accounts for the current Security Hub administrator account.
The results include both member accounts that belong to an organization and member accounts that were invited manually.
This is a variant of listMembers(software.amazon.awssdk.services.securityhub.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.securityhub.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.securityhub.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.ListMembersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.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.securityhub.model.ListMembersRequest) operation.
default ListMembersPublisher listMembersPaginator(ListMembersRequest listMembersRequest)
Lists details about all member accounts for the current Security Hub administrator account.
The results include both member accounts that belong to an organization and member accounts that were invited manually.
This is a variant of listMembers(software.amazon.awssdk.services.securityhub.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.securityhub.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.securityhub.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.ListMembersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.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.securityhub.model.ListMembersRequest) operation.
listMembersRequest - default ListMembersPublisher listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest)
Lists details about all member accounts for the current Security Hub administrator account.
The results include both member accounts that belong to an organization and member accounts that were invited manually.
This is a variant of listMembers(software.amazon.awssdk.services.securityhub.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.securityhub.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.securityhub.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.ListMembersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.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.securityhub.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<ListOrganizationAdminAccountsResponse> listOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest)
Lists the Security Hub administrator accounts. Can only be called by the organization management account.
listOrganizationAdminAccountsRequest - default CompletableFuture<ListOrganizationAdminAccountsResponse> listOrganizationAdminAccounts(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest)
Lists the Security Hub administrator accounts. Can only be called by the organization management account.
This is a convenience which creates an instance of the ListOrganizationAdminAccountsRequest.Builder
avoiding the need to create one manually via ListOrganizationAdminAccountsRequest.builder()
listOrganizationAdminAccountsRequest - A Consumer that will call methods on ListOrganizationAdminAccountsRequest.Builder to
create a request.default ListOrganizationAdminAccountsPublisher listOrganizationAdminAccountsPaginator(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest)
Lists the Security Hub administrator accounts. Can only be called by the organization management account.
This is a variant of
listOrganizationAdminAccounts(software.amazon.awssdk.services.securityhub.model.ListOrganizationAdminAccountsRequest)
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.securityhub.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.ListOrganizationAdminAccountsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.ListOrganizationAdminAccountsResponse 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
listOrganizationAdminAccounts(software.amazon.awssdk.services.securityhub.model.ListOrganizationAdminAccountsRequest)
operation.
listOrganizationAdminAccountsRequest - default ListOrganizationAdminAccountsPublisher listOrganizationAdminAccountsPaginator(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest)
Lists the Security Hub administrator accounts. Can only be called by the organization management account.
This is a variant of
listOrganizationAdminAccounts(software.amazon.awssdk.services.securityhub.model.ListOrganizationAdminAccountsRequest)
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.securityhub.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.ListOrganizationAdminAccountsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.ListOrganizationAdminAccountsResponse 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
listOrganizationAdminAccounts(software.amazon.awssdk.services.securityhub.model.ListOrganizationAdminAccountsRequest)
operation.
This is a convenience which creates an instance of the ListOrganizationAdminAccountsRequest.Builder
avoiding the need to create one manually via ListOrganizationAdminAccountsRequest.builder()
listOrganizationAdminAccountsRequest - A Consumer that will call methods on ListOrganizationAdminAccountsRequest.Builder to
create a request.default CompletableFuture<ListSecurityControlDefinitionsResponse> listSecurityControlDefinitions(ListSecurityControlDefinitionsRequest listSecurityControlDefinitionsRequest)
Lists all of the security controls that apply to a specified standard.
listSecurityControlDefinitionsRequest - default CompletableFuture<ListSecurityControlDefinitionsResponse> listSecurityControlDefinitions(Consumer<ListSecurityControlDefinitionsRequest.Builder> listSecurityControlDefinitionsRequest)
Lists all of the security controls that apply to a specified standard.
This is a convenience which creates an instance of the ListSecurityControlDefinitionsRequest.Builder
avoiding the need to create one manually via ListSecurityControlDefinitionsRequest.builder()
listSecurityControlDefinitionsRequest - A Consumer that will call methods on ListSecurityControlDefinitionsRequest.Builder to
create a request.default ListSecurityControlDefinitionsPublisher listSecurityControlDefinitionsPaginator(ListSecurityControlDefinitionsRequest listSecurityControlDefinitionsRequest)
Lists all of the security controls that apply to a specified standard.
This is a variant of
listSecurityControlDefinitions(software.amazon.awssdk.services.securityhub.model.ListSecurityControlDefinitionsRequest)
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.securityhub.paginators.ListSecurityControlDefinitionsPublisher publisher = client.listSecurityControlDefinitionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.ListSecurityControlDefinitionsPublisher publisher = client.listSecurityControlDefinitionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.ListSecurityControlDefinitionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.ListSecurityControlDefinitionsResponse 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
listSecurityControlDefinitions(software.amazon.awssdk.services.securityhub.model.ListSecurityControlDefinitionsRequest)
operation.
listSecurityControlDefinitionsRequest - default ListSecurityControlDefinitionsPublisher listSecurityControlDefinitionsPaginator(Consumer<ListSecurityControlDefinitionsRequest.Builder> listSecurityControlDefinitionsRequest)
Lists all of the security controls that apply to a specified standard.
This is a variant of
listSecurityControlDefinitions(software.amazon.awssdk.services.securityhub.model.ListSecurityControlDefinitionsRequest)
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.securityhub.paginators.ListSecurityControlDefinitionsPublisher publisher = client.listSecurityControlDefinitionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.ListSecurityControlDefinitionsPublisher publisher = client.listSecurityControlDefinitionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.ListSecurityControlDefinitionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.ListSecurityControlDefinitionsResponse 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
listSecurityControlDefinitions(software.amazon.awssdk.services.securityhub.model.ListSecurityControlDefinitionsRequest)
operation.
This is a convenience which creates an instance of the ListSecurityControlDefinitionsRequest.Builder
avoiding the need to create one manually via ListSecurityControlDefinitionsRequest.builder()
listSecurityControlDefinitionsRequest - A Consumer that will call methods on ListSecurityControlDefinitionsRequest.Builder to
create a request.default CompletableFuture<ListStandardsControlAssociationsResponse> listStandardsControlAssociations(ListStandardsControlAssociationsRequest listStandardsControlAssociationsRequest)
Specifies whether a control is currently enabled or disabled in each enabled standard in the calling account.
listStandardsControlAssociationsRequest - default CompletableFuture<ListStandardsControlAssociationsResponse> listStandardsControlAssociations(Consumer<ListStandardsControlAssociationsRequest.Builder> listStandardsControlAssociationsRequest)
Specifies whether a control is currently enabled or disabled in each enabled standard in the calling account.
This is a convenience which creates an instance of the ListStandardsControlAssociationsRequest.Builder
avoiding the need to create one manually via ListStandardsControlAssociationsRequest.builder()
listStandardsControlAssociationsRequest - A Consumer that will call methods on ListStandardsControlAssociationsRequest.Builder to
create a request.default ListStandardsControlAssociationsPublisher listStandardsControlAssociationsPaginator(ListStandardsControlAssociationsRequest listStandardsControlAssociationsRequest)
Specifies whether a control is currently enabled or disabled in each enabled standard in the calling account.
This is a variant of
listStandardsControlAssociations(software.amazon.awssdk.services.securityhub.model.ListStandardsControlAssociationsRequest)
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.securityhub.paginators.ListStandardsControlAssociationsPublisher publisher = client.listStandardsControlAssociationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.ListStandardsControlAssociationsPublisher publisher = client.listStandardsControlAssociationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.ListStandardsControlAssociationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.ListStandardsControlAssociationsResponse 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
listStandardsControlAssociations(software.amazon.awssdk.services.securityhub.model.ListStandardsControlAssociationsRequest)
operation.
listStandardsControlAssociationsRequest - default ListStandardsControlAssociationsPublisher listStandardsControlAssociationsPaginator(Consumer<ListStandardsControlAssociationsRequest.Builder> listStandardsControlAssociationsRequest)
Specifies whether a control is currently enabled or disabled in each enabled standard in the calling account.
This is a variant of
listStandardsControlAssociations(software.amazon.awssdk.services.securityhub.model.ListStandardsControlAssociationsRequest)
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.securityhub.paginators.ListStandardsControlAssociationsPublisher publisher = client.listStandardsControlAssociationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.ListStandardsControlAssociationsPublisher publisher = client.listStandardsControlAssociationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.ListStandardsControlAssociationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.ListStandardsControlAssociationsResponse 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
listStandardsControlAssociations(software.amazon.awssdk.services.securityhub.model.ListStandardsControlAssociationsRequest)
operation.
This is a convenience which creates an instance of the ListStandardsControlAssociationsRequest.Builder
avoiding the need to create one manually via ListStandardsControlAssociationsRequest.builder()
listStandardsControlAssociationsRequest - A Consumer that will call methods on ListStandardsControlAssociationsRequest.Builder to
create a request.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of tags associated with a resource.
listTagsForResourceRequest - default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Returns a list of tags associated with a 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<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Adds one or more tags to a resource.
tagResourceRequest - default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds one or more 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 one or more tags from a resource.
untagResourceRequest - default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes one or more 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<UpdateActionTargetResponse> updateActionTarget(UpdateActionTargetRequest updateActionTargetRequest)
Updates the name and description of a custom action target in Security Hub.
updateActionTargetRequest - default CompletableFuture<UpdateActionTargetResponse> updateActionTarget(Consumer<UpdateActionTargetRequest.Builder> updateActionTargetRequest)
Updates the name and description of a custom action target in Security Hub.
This is a convenience which creates an instance of the UpdateActionTargetRequest.Builder avoiding the
need to create one manually via UpdateActionTargetRequest.builder()
updateActionTargetRequest - A Consumer that will call methods on UpdateActionTargetRequest.Builder to create a
request.default CompletableFuture<UpdateFindingAggregatorResponse> updateFindingAggregator(UpdateFindingAggregatorRequest updateFindingAggregatorRequest)
Updates the finding aggregation configuration. Used to update the Region linking mode and the list of included or
excluded Regions. You cannot use UpdateFindingAggregator to change the aggregation Region.
You must run UpdateFindingAggregator from the current aggregation Region.
updateFindingAggregatorRequest - default CompletableFuture<UpdateFindingAggregatorResponse> updateFindingAggregator(Consumer<UpdateFindingAggregatorRequest.Builder> updateFindingAggregatorRequest)
Updates the finding aggregation configuration. Used to update the Region linking mode and the list of included or
excluded Regions. You cannot use UpdateFindingAggregator to change the aggregation Region.
You must run UpdateFindingAggregator from the current aggregation Region.
This is a convenience which creates an instance of the UpdateFindingAggregatorRequest.Builder avoiding
the need to create one manually via UpdateFindingAggregatorRequest.builder()
updateFindingAggregatorRequest - A Consumer that will call methods on UpdateFindingAggregatorRequest.Builder to create a
request.default CompletableFuture<UpdateFindingsResponse> updateFindings(UpdateFindingsRequest updateFindingsRequest)
UpdateFindings is deprecated. Instead of UpdateFindings, use
BatchUpdateFindings.
Updates the Note and RecordState of the Security Hub-aggregated findings that the
filter attributes specify. Any member account that can view the finding also sees the update to the finding.
updateFindingsRequest - default CompletableFuture<UpdateFindingsResponse> updateFindings(Consumer<UpdateFindingsRequest.Builder> updateFindingsRequest)
UpdateFindings is deprecated. Instead of UpdateFindings, use
BatchUpdateFindings.
Updates the Note and RecordState of the Security Hub-aggregated findings that the
filter attributes specify. Any member account that can view the finding also sees the update to the finding.
This is a convenience which creates an instance of the UpdateFindingsRequest.Builder avoiding the need to
create one manually via UpdateFindingsRequest.builder()
updateFindingsRequest - A Consumer that will call methods on UpdateFindingsRequest.Builder to create a request.default CompletableFuture<UpdateInsightResponse> updateInsight(UpdateInsightRequest updateInsightRequest)
Updates the Security Hub insight identified by the specified insight ARN.
updateInsightRequest - default CompletableFuture<UpdateInsightResponse> updateInsight(Consumer<UpdateInsightRequest.Builder> updateInsightRequest)
Updates the Security Hub insight identified by the specified insight ARN.
This is a convenience which creates an instance of the UpdateInsightRequest.Builder avoiding the need to
create one manually via UpdateInsightRequest.builder()
updateInsightRequest - A Consumer that will call methods on UpdateInsightRequest.Builder to create a request.default CompletableFuture<UpdateOrganizationConfigurationResponse> updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest)
Used to update the configuration related to Organizations. Can only be called from a Security Hub administrator account.
updateOrganizationConfigurationRequest - default CompletableFuture<UpdateOrganizationConfigurationResponse> updateOrganizationConfiguration(Consumer<UpdateOrganizationConfigurationRequest.Builder> updateOrganizationConfigurationRequest)
Used to update the configuration related to Organizations. Can only be called from a Security Hub administrator account.
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.default CompletableFuture<UpdateSecurityHubConfigurationResponse> updateSecurityHubConfiguration(UpdateSecurityHubConfigurationRequest updateSecurityHubConfigurationRequest)
Updates configuration options for Security Hub.
updateSecurityHubConfigurationRequest - default CompletableFuture<UpdateSecurityHubConfigurationResponse> updateSecurityHubConfiguration(Consumer<UpdateSecurityHubConfigurationRequest.Builder> updateSecurityHubConfigurationRequest)
Updates configuration options for Security Hub.
This is a convenience which creates an instance of the UpdateSecurityHubConfigurationRequest.Builder
avoiding the need to create one manually via UpdateSecurityHubConfigurationRequest.builder()
updateSecurityHubConfigurationRequest - A Consumer that will call methods on UpdateSecurityHubConfigurationRequest.Builder to
create a request.default CompletableFuture<UpdateStandardsControlResponse> updateStandardsControl(UpdateStandardsControlRequest updateStandardsControlRequest)
Used to control whether an individual security standard control is enabled or disabled.
updateStandardsControlRequest - default CompletableFuture<UpdateStandardsControlResponse> updateStandardsControl(Consumer<UpdateStandardsControlRequest.Builder> updateStandardsControlRequest)
Used to control whether an individual security standard control is enabled or disabled.
This is a convenience which creates an instance of the UpdateStandardsControlRequest.Builder avoiding the
need to create one manually via UpdateStandardsControlRequest.builder()
updateStandardsControlRequest - A Consumer that will call methods on UpdateStandardsControlRequest.Builder to create a
request.default SecurityHubServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientstatic SecurityHubAsyncClient create()
SecurityHubAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static SecurityHubAsyncClientBuilder builder()
SecurityHubAsyncClient.Copyright © 2023. All rights reserved.