All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.securityhub.SecurityHubAsyncClient Maven / Gradle / Ivy

/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.securityhub;

import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.services.securityhub.model.AcceptAdministratorInvitationRequest;
import software.amazon.awssdk.services.securityhub.model.AcceptAdministratorInvitationResponse;
import software.amazon.awssdk.services.securityhub.model.AcceptInvitationRequest;
import software.amazon.awssdk.services.securityhub.model.AcceptInvitationResponse;
import software.amazon.awssdk.services.securityhub.model.BatchDeleteAutomationRulesRequest;
import software.amazon.awssdk.services.securityhub.model.BatchDeleteAutomationRulesResponse;
import software.amazon.awssdk.services.securityhub.model.BatchDisableStandardsRequest;
import software.amazon.awssdk.services.securityhub.model.BatchDisableStandardsResponse;
import software.amazon.awssdk.services.securityhub.model.BatchEnableStandardsRequest;
import software.amazon.awssdk.services.securityhub.model.BatchEnableStandardsResponse;
import software.amazon.awssdk.services.securityhub.model.BatchGetAutomationRulesRequest;
import software.amazon.awssdk.services.securityhub.model.BatchGetAutomationRulesResponse;
import software.amazon.awssdk.services.securityhub.model.BatchGetConfigurationPolicyAssociationsRequest;
import software.amazon.awssdk.services.securityhub.model.BatchGetConfigurationPolicyAssociationsResponse;
import software.amazon.awssdk.services.securityhub.model.BatchGetSecurityControlsRequest;
import software.amazon.awssdk.services.securityhub.model.BatchGetSecurityControlsResponse;
import software.amazon.awssdk.services.securityhub.model.BatchGetStandardsControlAssociationsRequest;
import software.amazon.awssdk.services.securityhub.model.BatchGetStandardsControlAssociationsResponse;
import software.amazon.awssdk.services.securityhub.model.BatchImportFindingsRequest;
import software.amazon.awssdk.services.securityhub.model.BatchImportFindingsResponse;
import software.amazon.awssdk.services.securityhub.model.BatchUpdateAutomationRulesRequest;
import software.amazon.awssdk.services.securityhub.model.BatchUpdateAutomationRulesResponse;
import software.amazon.awssdk.services.securityhub.model.BatchUpdateFindingsRequest;
import software.amazon.awssdk.services.securityhub.model.BatchUpdateFindingsResponse;
import software.amazon.awssdk.services.securityhub.model.BatchUpdateStandardsControlAssociationsRequest;
import software.amazon.awssdk.services.securityhub.model.BatchUpdateStandardsControlAssociationsResponse;
import software.amazon.awssdk.services.securityhub.model.CreateActionTargetRequest;
import software.amazon.awssdk.services.securityhub.model.CreateActionTargetResponse;
import software.amazon.awssdk.services.securityhub.model.CreateAutomationRuleRequest;
import software.amazon.awssdk.services.securityhub.model.CreateAutomationRuleResponse;
import software.amazon.awssdk.services.securityhub.model.CreateConfigurationPolicyRequest;
import software.amazon.awssdk.services.securityhub.model.CreateConfigurationPolicyResponse;
import software.amazon.awssdk.services.securityhub.model.CreateFindingAggregatorRequest;
import software.amazon.awssdk.services.securityhub.model.CreateFindingAggregatorResponse;
import software.amazon.awssdk.services.securityhub.model.CreateInsightRequest;
import software.amazon.awssdk.services.securityhub.model.CreateInsightResponse;
import software.amazon.awssdk.services.securityhub.model.CreateMembersRequest;
import software.amazon.awssdk.services.securityhub.model.CreateMembersResponse;
import software.amazon.awssdk.services.securityhub.model.DeclineInvitationsRequest;
import software.amazon.awssdk.services.securityhub.model.DeclineInvitationsResponse;
import software.amazon.awssdk.services.securityhub.model.DeleteActionTargetRequest;
import software.amazon.awssdk.services.securityhub.model.DeleteActionTargetResponse;
import software.amazon.awssdk.services.securityhub.model.DeleteConfigurationPolicyRequest;
import software.amazon.awssdk.services.securityhub.model.DeleteConfigurationPolicyResponse;
import software.amazon.awssdk.services.securityhub.model.DeleteFindingAggregatorRequest;
import software.amazon.awssdk.services.securityhub.model.DeleteFindingAggregatorResponse;
import software.amazon.awssdk.services.securityhub.model.DeleteInsightRequest;
import software.amazon.awssdk.services.securityhub.model.DeleteInsightResponse;
import software.amazon.awssdk.services.securityhub.model.DeleteInvitationsRequest;
import software.amazon.awssdk.services.securityhub.model.DeleteInvitationsResponse;
import software.amazon.awssdk.services.securityhub.model.DeleteMembersRequest;
import software.amazon.awssdk.services.securityhub.model.DeleteMembersResponse;
import software.amazon.awssdk.services.securityhub.model.DescribeActionTargetsRequest;
import software.amazon.awssdk.services.securityhub.model.DescribeActionTargetsResponse;
import software.amazon.awssdk.services.securityhub.model.DescribeHubRequest;
import software.amazon.awssdk.services.securityhub.model.DescribeHubResponse;
import software.amazon.awssdk.services.securityhub.model.DescribeOrganizationConfigurationRequest;
import software.amazon.awssdk.services.securityhub.model.DescribeOrganizationConfigurationResponse;
import software.amazon.awssdk.services.securityhub.model.DescribeProductsRequest;
import software.amazon.awssdk.services.securityhub.model.DescribeProductsResponse;
import software.amazon.awssdk.services.securityhub.model.DescribeStandardsControlsRequest;
import software.amazon.awssdk.services.securityhub.model.DescribeStandardsControlsResponse;
import software.amazon.awssdk.services.securityhub.model.DescribeStandardsRequest;
import software.amazon.awssdk.services.securityhub.model.DescribeStandardsResponse;
import software.amazon.awssdk.services.securityhub.model.DisableImportFindingsForProductRequest;
import software.amazon.awssdk.services.securityhub.model.DisableImportFindingsForProductResponse;
import software.amazon.awssdk.services.securityhub.model.DisableOrganizationAdminAccountRequest;
import software.amazon.awssdk.services.securityhub.model.DisableOrganizationAdminAccountResponse;
import software.amazon.awssdk.services.securityhub.model.DisableSecurityHubRequest;
import software.amazon.awssdk.services.securityhub.model.DisableSecurityHubResponse;
import software.amazon.awssdk.services.securityhub.model.DisassociateFromAdministratorAccountRequest;
import software.amazon.awssdk.services.securityhub.model.DisassociateFromAdministratorAccountResponse;
import software.amazon.awssdk.services.securityhub.model.DisassociateFromMasterAccountRequest;
import software.amazon.awssdk.services.securityhub.model.DisassociateFromMasterAccountResponse;
import software.amazon.awssdk.services.securityhub.model.DisassociateMembersRequest;
import software.amazon.awssdk.services.securityhub.model.DisassociateMembersResponse;
import software.amazon.awssdk.services.securityhub.model.EnableImportFindingsForProductRequest;
import software.amazon.awssdk.services.securityhub.model.EnableImportFindingsForProductResponse;
import software.amazon.awssdk.services.securityhub.model.EnableOrganizationAdminAccountRequest;
import software.amazon.awssdk.services.securityhub.model.EnableOrganizationAdminAccountResponse;
import software.amazon.awssdk.services.securityhub.model.EnableSecurityHubRequest;
import software.amazon.awssdk.services.securityhub.model.EnableSecurityHubResponse;
import software.amazon.awssdk.services.securityhub.model.GetAdministratorAccountRequest;
import software.amazon.awssdk.services.securityhub.model.GetAdministratorAccountResponse;
import software.amazon.awssdk.services.securityhub.model.GetConfigurationPolicyAssociationRequest;
import software.amazon.awssdk.services.securityhub.model.GetConfigurationPolicyAssociationResponse;
import software.amazon.awssdk.services.securityhub.model.GetConfigurationPolicyRequest;
import software.amazon.awssdk.services.securityhub.model.GetConfigurationPolicyResponse;
import software.amazon.awssdk.services.securityhub.model.GetEnabledStandardsRequest;
import software.amazon.awssdk.services.securityhub.model.GetEnabledStandardsResponse;
import software.amazon.awssdk.services.securityhub.model.GetFindingAggregatorRequest;
import software.amazon.awssdk.services.securityhub.model.GetFindingAggregatorResponse;
import software.amazon.awssdk.services.securityhub.model.GetFindingHistoryRequest;
import software.amazon.awssdk.services.securityhub.model.GetFindingHistoryResponse;
import software.amazon.awssdk.services.securityhub.model.GetFindingsRequest;
import software.amazon.awssdk.services.securityhub.model.GetFindingsResponse;
import software.amazon.awssdk.services.securityhub.model.GetInsightResultsRequest;
import software.amazon.awssdk.services.securityhub.model.GetInsightResultsResponse;
import software.amazon.awssdk.services.securityhub.model.GetInsightsRequest;
import software.amazon.awssdk.services.securityhub.model.GetInsightsResponse;
import software.amazon.awssdk.services.securityhub.model.GetInvitationsCountRequest;
import software.amazon.awssdk.services.securityhub.model.GetInvitationsCountResponse;
import software.amazon.awssdk.services.securityhub.model.GetMasterAccountRequest;
import software.amazon.awssdk.services.securityhub.model.GetMasterAccountResponse;
import software.amazon.awssdk.services.securityhub.model.GetMembersRequest;
import software.amazon.awssdk.services.securityhub.model.GetMembersResponse;
import software.amazon.awssdk.services.securityhub.model.GetSecurityControlDefinitionRequest;
import software.amazon.awssdk.services.securityhub.model.GetSecurityControlDefinitionResponse;
import software.amazon.awssdk.services.securityhub.model.InviteMembersRequest;
import software.amazon.awssdk.services.securityhub.model.InviteMembersResponse;
import software.amazon.awssdk.services.securityhub.model.ListAutomationRulesRequest;
import software.amazon.awssdk.services.securityhub.model.ListAutomationRulesResponse;
import software.amazon.awssdk.services.securityhub.model.ListConfigurationPoliciesRequest;
import software.amazon.awssdk.services.securityhub.model.ListConfigurationPoliciesResponse;
import software.amazon.awssdk.services.securityhub.model.ListConfigurationPolicyAssociationsRequest;
import software.amazon.awssdk.services.securityhub.model.ListConfigurationPolicyAssociationsResponse;
import software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportRequest;
import software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportResponse;
import software.amazon.awssdk.services.securityhub.model.ListFindingAggregatorsRequest;
import software.amazon.awssdk.services.securityhub.model.ListFindingAggregatorsResponse;
import software.amazon.awssdk.services.securityhub.model.ListInvitationsRequest;
import software.amazon.awssdk.services.securityhub.model.ListInvitationsResponse;
import software.amazon.awssdk.services.securityhub.model.ListMembersRequest;
import software.amazon.awssdk.services.securityhub.model.ListMembersResponse;
import software.amazon.awssdk.services.securityhub.model.ListOrganizationAdminAccountsRequest;
import software.amazon.awssdk.services.securityhub.model.ListOrganizationAdminAccountsResponse;
import software.amazon.awssdk.services.securityhub.model.ListSecurityControlDefinitionsRequest;
import software.amazon.awssdk.services.securityhub.model.ListSecurityControlDefinitionsResponse;
import software.amazon.awssdk.services.securityhub.model.ListStandardsControlAssociationsRequest;
import software.amazon.awssdk.services.securityhub.model.ListStandardsControlAssociationsResponse;
import software.amazon.awssdk.services.securityhub.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.securityhub.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.securityhub.model.StartConfigurationPolicyAssociationRequest;
import software.amazon.awssdk.services.securityhub.model.StartConfigurationPolicyAssociationResponse;
import software.amazon.awssdk.services.securityhub.model.StartConfigurationPolicyDisassociationRequest;
import software.amazon.awssdk.services.securityhub.model.StartConfigurationPolicyDisassociationResponse;
import software.amazon.awssdk.services.securityhub.model.TagResourceRequest;
import software.amazon.awssdk.services.securityhub.model.TagResourceResponse;
import software.amazon.awssdk.services.securityhub.model.UntagResourceRequest;
import software.amazon.awssdk.services.securityhub.model.UntagResourceResponse;
import software.amazon.awssdk.services.securityhub.model.UpdateActionTargetRequest;
import software.amazon.awssdk.services.securityhub.model.UpdateActionTargetResponse;
import software.amazon.awssdk.services.securityhub.model.UpdateConfigurationPolicyRequest;
import software.amazon.awssdk.services.securityhub.model.UpdateConfigurationPolicyResponse;
import software.amazon.awssdk.services.securityhub.model.UpdateFindingAggregatorRequest;
import software.amazon.awssdk.services.securityhub.model.UpdateFindingAggregatorResponse;
import software.amazon.awssdk.services.securityhub.model.UpdateFindingsRequest;
import software.amazon.awssdk.services.securityhub.model.UpdateFindingsResponse;
import software.amazon.awssdk.services.securityhub.model.UpdateInsightRequest;
import software.amazon.awssdk.services.securityhub.model.UpdateInsightResponse;
import software.amazon.awssdk.services.securityhub.model.UpdateOrganizationConfigurationRequest;
import software.amazon.awssdk.services.securityhub.model.UpdateOrganizationConfigurationResponse;
import software.amazon.awssdk.services.securityhub.model.UpdateSecurityControlRequest;
import software.amazon.awssdk.services.securityhub.model.UpdateSecurityControlResponse;
import software.amazon.awssdk.services.securityhub.model.UpdateSecurityHubConfigurationRequest;
import software.amazon.awssdk.services.securityhub.model.UpdateSecurityHubConfigurationResponse;
import software.amazon.awssdk.services.securityhub.model.UpdateStandardsControlRequest;
import software.amazon.awssdk.services.securityhub.model.UpdateStandardsControlResponse;
import software.amazon.awssdk.services.securityhub.paginators.DescribeActionTargetsPublisher;
import software.amazon.awssdk.services.securityhub.paginators.DescribeProductsPublisher;
import software.amazon.awssdk.services.securityhub.paginators.DescribeStandardsControlsPublisher;
import software.amazon.awssdk.services.securityhub.paginators.DescribeStandardsPublisher;
import software.amazon.awssdk.services.securityhub.paginators.GetEnabledStandardsPublisher;
import software.amazon.awssdk.services.securityhub.paginators.GetFindingHistoryPublisher;
import software.amazon.awssdk.services.securityhub.paginators.GetFindingsPublisher;
import software.amazon.awssdk.services.securityhub.paginators.GetInsightsPublisher;
import software.amazon.awssdk.services.securityhub.paginators.ListConfigurationPoliciesPublisher;
import software.amazon.awssdk.services.securityhub.paginators.ListConfigurationPolicyAssociationsPublisher;
import software.amazon.awssdk.services.securityhub.paginators.ListEnabledProductsForImportPublisher;
import software.amazon.awssdk.services.securityhub.paginators.ListFindingAggregatorsPublisher;
import software.amazon.awssdk.services.securityhub.paginators.ListInvitationsPublisher;
import software.amazon.awssdk.services.securityhub.paginators.ListMembersPublisher;
import software.amazon.awssdk.services.securityhub.paginators.ListOrganizationAdminAccountsPublisher;
import software.amazon.awssdk.services.securityhub.paginators.ListSecurityControlDefinitionsPublisher;
import software.amazon.awssdk.services.securityhub.paginators.ListStandardsControlAssociationsPublisher;

/**
 * Service client for accessing AWS SecurityHub asynchronously. This can be created using the static {@link #builder()}
 * method.The asynchronous client performs non-blocking I/O when configured with any {@code SdkAsyncHttpClient}
 * supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
 * some cases such as credentials retrieval and endpoint discovery as part of the async API call.
 *
 * 

* Security Hub provides you with a comprehensive view of your security state in Amazon Web Services and helps you * assess your Amazon Web Services environment against security industry standards and best practices. *

*

* Security Hub collects security data across Amazon Web Services accounts, Amazon Web Services services, and supported * third-party products and helps you analyze your security trends and identify the highest priority security issues. *

*

* To help you manage the security state of your organization, Security Hub supports multiple security standards. These * include the Amazon Web Services Foundational Security Best Practices (FSBP) standard developed by Amazon Web * Services, and external compliance frameworks such as the Center for Internet Security (CIS), the Payment Card * Industry Data Security Standard (PCI DSS), and the National Institute of Standards and Technology (NIST). Each * standard includes several security controls, each of which represents a security best practice. Security Hub runs * checks against security controls and generates control findings to help you assess your compliance against security * best practices. *

*

* In addition to generating control findings, Security Hub also receives findings from other Amazon Web Services * services, such as Amazon GuardDuty and Amazon Inspector, and supported third-party products. This gives you a single * pane of glass into a variety of security-related issues. You can also send Security Hub findings to other Amazon Web * Services services and supported third-party products. *

*

* Security Hub offers automation features that help you triage and remediate security issues. For example, you can use * automation rules to automatically update critical findings when a security check fails. You can also leverage the * integration with Amazon EventBridge to trigger automatic responses to specific findings. *

*

* This guide, the Security Hub API Reference, provides information about the Security Hub API. This includes * supported resources, HTTP methods, parameters, and schemas. If you're new to Security Hub, you might find it helpful * to also review the * Security Hub User Guide . The user guide explains key concepts and provides procedures that demonstrate * how to use Security Hub features. It also provides information about topics such as integrating Security Hub with * other Amazon Web Services services. *

*

* In addition to interacting with Security Hub by making calls to the Security Hub API, you can use a current version * of an Amazon Web Services command line tool or SDK. Amazon Web Services provides tools and SDKs that consist of * libraries and sample code for various languages and platforms, such as PowerShell, Java, Go, Python, C++, and .NET. * These tools and SDKs provide convenient, programmatic access to Security Hub and other Amazon Web Services services . * They also handle tasks such as signing requests, managing errors, and retrying requests automatically. For * information about installing and using the Amazon Web Services tools and SDKs, see Tools to Build on Amazon Web Services. *

*

* With the exception of operations that are related to central configuration, Security Hub API 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, call the same API operation in each Region in which you want * to apply the change. When you use central configuration, API requests for enabling Security Hub, standards, and * controls are executed in the home Region and all linked Regions. For a list of central configuration operations, see * the Central configuration terms and concepts section of the Security Hub User Guide. *

*

* The following throttling limits apply to 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. *

    *
  • *
*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface SecurityHubAsyncClient extends AwsClient { String SERVICE_NAME = "securityhub"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "securityhub"; /** * *

* We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For * information, see Managing Security * Hub administrator and member accounts with Organizations in the Security Hub User Guide. *

*
*

* 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. *

* * @param acceptAdministratorInvitationRequest * @return A Java Future containing the result of the AcceptAdministratorInvitation operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.AcceptAdministratorInvitation * @see AWS API Documentation */ default CompletableFuture acceptAdministratorInvitation( AcceptAdministratorInvitationRequest acceptAdministratorInvitationRequest) { throw new UnsupportedOperationException(); } /** * *

* We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For * information, see Managing Security * Hub administrator and member accounts with Organizations in the Security Hub User Guide. *

*
*

* 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 {@link AcceptAdministratorInvitationRequest.Builder} * avoiding the need to create one manually via {@link AcceptAdministratorInvitationRequest#builder()} *

* * @param acceptAdministratorInvitationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.AcceptAdministratorInvitationRequest.Builder} to * create a request. * @return A Java Future containing the result of the AcceptAdministratorInvitation operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.AcceptAdministratorInvitation * @see AWS API Documentation */ default CompletableFuture acceptAdministratorInvitation( Consumer acceptAdministratorInvitationRequest) { return acceptAdministratorInvitation(AcceptAdministratorInvitationRequest.builder() .applyMutation(acceptAdministratorInvitationRequest).build()); } /** *

* 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. *

* * @param acceptInvitationRequest * @return A Java Future containing the result of the AcceptInvitation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.AcceptInvitation * @see AWS * API Documentation * * @deprecated This API has been deprecated, use AcceptAdministratorInvitation API instead. */ @Deprecated default CompletableFuture acceptInvitation(AcceptInvitationRequest acceptInvitationRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link AcceptInvitationRequest.Builder} avoiding the need * to create one manually via {@link AcceptInvitationRequest#builder()} *

* * @param acceptInvitationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.AcceptInvitationRequest.Builder} to create a * request. * @return A Java Future containing the result of the AcceptInvitation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.AcceptInvitation * @see AWS * API Documentation * * @deprecated This API has been deprecated, use AcceptAdministratorInvitation API instead. */ @Deprecated default CompletableFuture acceptInvitation( Consumer acceptInvitationRequest) { return acceptInvitation(AcceptInvitationRequest.builder().applyMutation(acceptInvitationRequest).build()); } /** *

* Deletes one or more automation rules. *

* * @param batchDeleteAutomationRulesRequest * @return A Java Future containing the result of the BatchDeleteAutomationRules operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchDeleteAutomationRules * @see AWS API Documentation */ default CompletableFuture batchDeleteAutomationRules( BatchDeleteAutomationRulesRequest batchDeleteAutomationRulesRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes one or more automation rules. *

*
*

* This is a convenience which creates an instance of the {@link BatchDeleteAutomationRulesRequest.Builder} avoiding * the need to create one manually via {@link BatchDeleteAutomationRulesRequest#builder()} *

* * @param batchDeleteAutomationRulesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.BatchDeleteAutomationRulesRequest.Builder} to * create a request. * @return A Java Future containing the result of the BatchDeleteAutomationRules operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchDeleteAutomationRules * @see AWS API Documentation */ default CompletableFuture batchDeleteAutomationRules( Consumer batchDeleteAutomationRulesRequest) { return batchDeleteAutomationRules(BatchDeleteAutomationRulesRequest.builder() .applyMutation(batchDeleteAutomationRulesRequest).build()); } /** *

* Disables the standards specified by the provided StandardsSubscriptionArns. *

*

* For more information, see Security Standards * section of the Security Hub User Guide. *

* * @param batchDisableStandardsRequest * @return A Java Future containing the result of the BatchDisableStandards operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchDisableStandards * @see AWS API Documentation */ default CompletableFuture batchDisableStandards( BatchDisableStandardsRequest batchDisableStandardsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link BatchDisableStandardsRequest.Builder} avoiding the * need to create one manually via {@link BatchDisableStandardsRequest#builder()} *

* * @param batchDisableStandardsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.BatchDisableStandardsRequest.Builder} to create a * request. * @return A Java Future containing the result of the BatchDisableStandards operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchDisableStandards * @see AWS API Documentation */ default CompletableFuture batchDisableStandards( Consumer batchDisableStandardsRequest) { return batchDisableStandards(BatchDisableStandardsRequest.builder().applyMutation(batchDisableStandardsRequest).build()); } /** *

* 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. *

* * @param batchEnableStandardsRequest * @return A Java Future containing the result of the BatchEnableStandards operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchEnableStandards * @see AWS API Documentation */ default CompletableFuture batchEnableStandards( BatchEnableStandardsRequest batchEnableStandardsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link BatchEnableStandardsRequest.Builder} avoiding the * need to create one manually via {@link BatchEnableStandardsRequest#builder()} *

* * @param batchEnableStandardsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.BatchEnableStandardsRequest.Builder} to create a * request. * @return A Java Future containing the result of the BatchEnableStandards operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchEnableStandards * @see AWS API Documentation */ default CompletableFuture batchEnableStandards( Consumer batchEnableStandardsRequest) { return batchEnableStandards(BatchEnableStandardsRequest.builder().applyMutation(batchEnableStandardsRequest).build()); } /** *

* Retrieves a list of details for automation rules based on rule Amazon Resource Names (ARNs). *

* * @param batchGetAutomationRulesRequest * @return A Java Future containing the result of the BatchGetAutomationRules operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchGetAutomationRules * @see AWS API Documentation */ default CompletableFuture batchGetAutomationRules( BatchGetAutomationRulesRequest batchGetAutomationRulesRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link BatchGetAutomationRulesRequest.Builder} avoiding * the need to create one manually via {@link BatchGetAutomationRulesRequest#builder()} *

* * @param batchGetAutomationRulesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.BatchGetAutomationRulesRequest.Builder} to create * a request. * @return A Java Future containing the result of the BatchGetAutomationRules operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchGetAutomationRules * @see AWS API Documentation */ default CompletableFuture batchGetAutomationRules( Consumer batchGetAutomationRulesRequest) { return batchGetAutomationRules(BatchGetAutomationRulesRequest.builder().applyMutation(batchGetAutomationRulesRequest) .build()); } /** *

* Returns associations between an Security Hub configuration and a batch of target accounts, organizational units, * or the root. Only the Security Hub delegated administrator can invoke this operation from the home Region. A * configuration can refer to a configuration policy or to a self-managed configuration. *

* * @param batchGetConfigurationPolicyAssociationsRequest * @return A Java Future containing the result of the BatchGetConfigurationPolicyAssociations operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchGetConfigurationPolicyAssociations * @see AWS API Documentation */ default CompletableFuture batchGetConfigurationPolicyAssociations( BatchGetConfigurationPolicyAssociationsRequest batchGetConfigurationPolicyAssociationsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns associations between an Security Hub configuration and a batch of target accounts, organizational units, * or the root. Only the Security Hub delegated administrator can invoke this operation from the home Region. A * configuration can refer to a configuration policy or to a self-managed configuration. *

*
*

* This is a convenience which creates an instance of the * {@link BatchGetConfigurationPolicyAssociationsRequest.Builder} avoiding the need to create one manually via * {@link BatchGetConfigurationPolicyAssociationsRequest#builder()} *

* * @param batchGetConfigurationPolicyAssociationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.BatchGetConfigurationPolicyAssociationsRequest.Builder} * to create a request. * @return A Java Future containing the result of the BatchGetConfigurationPolicyAssociations operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchGetConfigurationPolicyAssociations * @see AWS API Documentation */ default CompletableFuture batchGetConfigurationPolicyAssociations( Consumer batchGetConfigurationPolicyAssociationsRequest) { return batchGetConfigurationPolicyAssociations(BatchGetConfigurationPolicyAssociationsRequest.builder() .applyMutation(batchGetConfigurationPolicyAssociationsRequest).build()); } /** *

* Provides details about a batch of security controls for the current Amazon Web Services account and Amazon Web * Services Region. *

* * @param batchGetSecurityControlsRequest * @return A Java Future containing the result of the BatchGetSecurityControls operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchGetSecurityControls * @see AWS API Documentation */ default CompletableFuture batchGetSecurityControls( BatchGetSecurityControlsRequest batchGetSecurityControlsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link BatchGetSecurityControlsRequest.Builder} avoiding * the need to create one manually via {@link BatchGetSecurityControlsRequest#builder()} *

* * @param batchGetSecurityControlsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.BatchGetSecurityControlsRequest.Builder} to * create a request. * @return A Java Future containing the result of the BatchGetSecurityControls operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchGetSecurityControls * @see AWS API Documentation */ default CompletableFuture batchGetSecurityControls( Consumer batchGetSecurityControlsRequest) { return batchGetSecurityControls(BatchGetSecurityControlsRequest.builder().applyMutation(batchGetSecurityControlsRequest) .build()); } /** *

* For a batch of security controls and standards, identifies whether each control is currently enabled or disabled * in a standard. *

* * @param batchGetStandardsControlAssociationsRequest * @return A Java Future containing the result of the BatchGetStandardsControlAssociations operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchGetStandardsControlAssociations * @see AWS API Documentation */ default CompletableFuture batchGetStandardsControlAssociations( BatchGetStandardsControlAssociationsRequest batchGetStandardsControlAssociationsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 * {@link BatchGetStandardsControlAssociationsRequest.Builder} avoiding the need to create one manually via * {@link BatchGetStandardsControlAssociationsRequest#builder()} *

* * @param batchGetStandardsControlAssociationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.BatchGetStandardsControlAssociationsRequest.Builder} * to create a request. * @return A Java Future containing the result of the BatchGetStandardsControlAssociations operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchGetStandardsControlAssociations * @see AWS API Documentation */ default CompletableFuture batchGetStandardsControlAssociations( Consumer batchGetStandardsControlAssociationsRequest) { return batchGetStandardsControlAssociations(BatchGetStandardsControlAssociationsRequest.builder() .applyMutation(batchGetStandardsControlAssociationsRequest).build()); } /** *

* 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. *

* * @param batchImportFindingsRequest * @return A Java Future containing the result of the BatchImportFindings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchImportFindings * @see AWS API Documentation */ default CompletableFuture batchImportFindings( BatchImportFindingsRequest batchImportFindingsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link BatchImportFindingsRequest.Builder} avoiding the * need to create one manually via {@link BatchImportFindingsRequest#builder()} *

* * @param batchImportFindingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.BatchImportFindingsRequest.Builder} to create a * request. * @return A Java Future containing the result of the BatchImportFindings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchImportFindings * @see AWS API Documentation */ default CompletableFuture batchImportFindings( Consumer batchImportFindingsRequest) { return batchImportFindings(BatchImportFindingsRequest.builder().applyMutation(batchImportFindingsRequest).build()); } /** *

* Updates one or more automation rules based on rule Amazon Resource Names (ARNs) and input parameters. *

* * @param batchUpdateAutomationRulesRequest * @return A Java Future containing the result of the BatchUpdateAutomationRules operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchUpdateAutomationRules * @see AWS API Documentation */ default CompletableFuture batchUpdateAutomationRules( BatchUpdateAutomationRulesRequest batchUpdateAutomationRulesRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link BatchUpdateAutomationRulesRequest.Builder} avoiding * the need to create one manually via {@link BatchUpdateAutomationRulesRequest#builder()} *

* * @param batchUpdateAutomationRulesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.BatchUpdateAutomationRulesRequest.Builder} to * create a request. * @return A Java Future containing the result of the BatchUpdateAutomationRules operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchUpdateAutomationRules * @see AWS API Documentation */ default CompletableFuture batchUpdateAutomationRules( Consumer batchUpdateAutomationRulesRequest) { return batchUpdateAutomationRules(BatchUpdateAutomationRulesRequest.builder() .applyMutation(batchUpdateAutomationRulesRequest).build()); } /** *

* 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 don't 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. *

* * @param batchUpdateFindingsRequest * @return A Java Future containing the result of the BatchUpdateFindings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchUpdateFindings * @see AWS API Documentation */ default CompletableFuture batchUpdateFindings( BatchUpdateFindingsRequest batchUpdateFindingsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 don't 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 {@link BatchUpdateFindingsRequest.Builder} avoiding the * need to create one manually via {@link BatchUpdateFindingsRequest#builder()} *

* * @param batchUpdateFindingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.BatchUpdateFindingsRequest.Builder} to create a * request. * @return A Java Future containing the result of the BatchUpdateFindings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchUpdateFindings * @see AWS API Documentation */ default CompletableFuture batchUpdateFindings( Consumer batchUpdateFindingsRequest) { return batchUpdateFindings(BatchUpdateFindingsRequest.builder().applyMutation(batchUpdateFindingsRequest).build()); } /** *

* For a batch of security controls and standards, this operation updates the enablement status of a control in a * standard. *

* * @param batchUpdateStandardsControlAssociationsRequest * @return A Java Future containing the result of the BatchUpdateStandardsControlAssociations operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchUpdateStandardsControlAssociations * @see AWS API Documentation */ default CompletableFuture batchUpdateStandardsControlAssociations( BatchUpdateStandardsControlAssociationsRequest batchUpdateStandardsControlAssociationsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 * {@link BatchUpdateStandardsControlAssociationsRequest.Builder} avoiding the need to create one manually via * {@link BatchUpdateStandardsControlAssociationsRequest#builder()} *

* * @param batchUpdateStandardsControlAssociationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.BatchUpdateStandardsControlAssociationsRequest.Builder} * to create a request. * @return A Java Future containing the result of the BatchUpdateStandardsControlAssociations operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.BatchUpdateStandardsControlAssociations * @see AWS API Documentation */ default CompletableFuture batchUpdateStandardsControlAssociations( Consumer batchUpdateStandardsControlAssociationsRequest) { return batchUpdateStandardsControlAssociations(BatchUpdateStandardsControlAssociationsRequest.builder() .applyMutation(batchUpdateStandardsControlAssociationsRequest).build()); } /** *

* 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. *

* * @param createActionTargetRequest * @return A Java Future containing the result of the CreateActionTarget operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceConflictException The resource specified in the request conflicts with an existing resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.CreateActionTarget * @see AWS API Documentation */ default CompletableFuture createActionTarget(CreateActionTargetRequest createActionTargetRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link CreateActionTargetRequest.Builder} avoiding the * need to create one manually via {@link CreateActionTargetRequest#builder()} *

* * @param createActionTargetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.CreateActionTargetRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateActionTarget operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceConflictException The resource specified in the request conflicts with an existing resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.CreateActionTarget * @see AWS API Documentation */ default CompletableFuture createActionTarget( Consumer createActionTargetRequest) { return createActionTarget(CreateActionTargetRequest.builder().applyMutation(createActionTargetRequest).build()); } /** *

* Creates an automation rule based on input parameters. *

* * @param createAutomationRuleRequest * @return A Java Future containing the result of the CreateAutomationRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.CreateAutomationRule * @see AWS API Documentation */ default CompletableFuture createAutomationRule( CreateAutomationRuleRequest createAutomationRuleRequest) { throw new UnsupportedOperationException(); } /** *

* Creates an automation rule based on input parameters. *

*
*

* This is a convenience which creates an instance of the {@link CreateAutomationRuleRequest.Builder} avoiding the * need to create one manually via {@link CreateAutomationRuleRequest#builder()} *

* * @param createAutomationRuleRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.CreateAutomationRuleRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateAutomationRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.CreateAutomationRule * @see AWS API Documentation */ default CompletableFuture createAutomationRule( Consumer createAutomationRuleRequest) { return createAutomationRule(CreateAutomationRuleRequest.builder().applyMutation(createAutomationRuleRequest).build()); } /** *

* Creates a configuration policy with the defined configuration. Only the Security Hub delegated administrator can * invoke this operation from the home Region. *

* * @param createConfigurationPolicyRequest * @return A Java Future containing the result of the CreateConfigurationPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • ResourceConflictException The resource specified in the request conflicts with an existing resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.CreateConfigurationPolicy * @see AWS API Documentation */ default CompletableFuture createConfigurationPolicy( CreateConfigurationPolicyRequest createConfigurationPolicyRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a configuration policy with the defined configuration. Only the Security Hub delegated administrator can * invoke this operation from the home Region. *

*
*

* This is a convenience which creates an instance of the {@link CreateConfigurationPolicyRequest.Builder} avoiding * the need to create one manually via {@link CreateConfigurationPolicyRequest#builder()} *

* * @param createConfigurationPolicyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.CreateConfigurationPolicyRequest.Builder} to * create a request. * @return A Java Future containing the result of the CreateConfigurationPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • ResourceConflictException The resource specified in the request conflicts with an existing resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.CreateConfigurationPolicy * @see AWS API Documentation */ default CompletableFuture createConfigurationPolicy( Consumer createConfigurationPolicyRequest) { return createConfigurationPolicy(CreateConfigurationPolicyRequest.builder() .applyMutation(createConfigurationPolicyRequest).build()); } /** * *

* The aggregation Region is now called the home Region. *

*
*

* Used to enable cross-Region aggregation. This operation can be invoked from the home Region only. *

*

* For information about how cross-Region aggregation works, see Understanding * cross-Region aggregation in Security Hub in the Security Hub User Guide. *

* * @param createFindingAggregatorRequest * @return A Java Future containing the result of the CreateFindingAggregator operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.CreateFindingAggregator * @see AWS API Documentation */ default CompletableFuture createFindingAggregator( CreateFindingAggregatorRequest createFindingAggregatorRequest) { throw new UnsupportedOperationException(); } /** * *

* The aggregation Region is now called the home Region. *

*
*

* Used to enable cross-Region aggregation. This operation can be invoked from the home Region only. *

*

* For information about how cross-Region aggregation works, see Understanding * cross-Region aggregation in Security Hub in the Security Hub User Guide. *

*
*

* This is a convenience which creates an instance of the {@link CreateFindingAggregatorRequest.Builder} avoiding * the need to create one manually via {@link CreateFindingAggregatorRequest#builder()} *

* * @param createFindingAggregatorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.CreateFindingAggregatorRequest.Builder} to create * a request. * @return A Java Future containing the result of the CreateFindingAggregator operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.CreateFindingAggregator * @see AWS API Documentation */ default CompletableFuture createFindingAggregator( Consumer createFindingAggregatorRequest) { return createFindingAggregator(CreateFindingAggregatorRequest.builder().applyMutation(createFindingAggregatorRequest) .build()); } /** *

* 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. *

* * @param createInsightRequest * @return A Java Future containing the result of the CreateInsight operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceConflictException The resource specified in the request conflicts with an existing resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.CreateInsight * @see AWS API * Documentation */ default CompletableFuture createInsight(CreateInsightRequest createInsightRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link CreateInsightRequest.Builder} avoiding the need to * create one manually via {@link CreateInsightRequest#builder()} *

* * @param createInsightRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.CreateInsightRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateInsight operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceConflictException The resource specified in the request conflicts with an existing resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.CreateInsight * @see AWS API * Documentation */ default CompletableFuture createInsight(Consumer createInsightRequest) { return createInsight(CreateInsightRequest.builder().applyMutation(createInsightRequest).build()); } /** *

* 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 don't 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. *

* * @param createMembersRequest * @return A Java Future containing the result of the CreateMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceConflictException The resource specified in the request conflicts with an existing resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.CreateMembers * @see AWS API * Documentation */ default CompletableFuture createMembers(CreateMembersRequest createMembersRequest) { throw new UnsupportedOperationException(); } /** *

* 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 don't 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 {@link CreateMembersRequest.Builder} avoiding the need to * create one manually via {@link CreateMembersRequest#builder()} *

* * @param createMembersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.CreateMembersRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceConflictException The resource specified in the request conflicts with an existing resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.CreateMembers * @see AWS API * Documentation */ default CompletableFuture createMembers(Consumer createMembersRequest) { return createMembers(CreateMembersRequest.builder().applyMutation(createMembersRequest).build()); } /** * *

* We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For * information, see Managing Security * Hub administrator and member accounts with Organizations in the Security Hub User Guide. *

*
*

* Declines invitations to become a Security Hub member account. *

*

* A prospective member account uses this operation to decline an invitation to become a member. *

*

* Only member accounts that aren't part of an Amazon Web Services organization should use this operation. * Organization accounts don't receive invitations. *

* * @param declineInvitationsRequest * @return A Java Future containing the result of the DeclineInvitations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DeclineInvitations * @see AWS API Documentation */ default CompletableFuture declineInvitations(DeclineInvitationsRequest declineInvitationsRequest) { throw new UnsupportedOperationException(); } /** * *

* We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For * information, see Managing Security * Hub administrator and member accounts with Organizations in the Security Hub User Guide. *

*
*

* Declines invitations to become a Security Hub member account. *

*

* A prospective member account uses this operation to decline an invitation to become a member. *

*

* Only member accounts that aren't part of an Amazon Web Services organization should use this operation. * Organization accounts don't receive invitations. *

*
*

* This is a convenience which creates an instance of the {@link DeclineInvitationsRequest.Builder} avoiding the * need to create one manually via {@link DeclineInvitationsRequest#builder()} *

* * @param declineInvitationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DeclineInvitationsRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeclineInvitations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DeclineInvitations * @see AWS API Documentation */ default CompletableFuture declineInvitations( Consumer declineInvitationsRequest) { return declineInvitations(DeclineInvitationsRequest.builder().applyMutation(declineInvitationsRequest).build()); } /** *

* 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. *

* * @param deleteActionTargetRequest * @return A Java Future containing the result of the DeleteActionTarget operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DeleteActionTarget * @see AWS API Documentation */ default CompletableFuture deleteActionTarget(DeleteActionTargetRequest deleteActionTargetRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link DeleteActionTargetRequest.Builder} avoiding the * need to create one manually via {@link DeleteActionTargetRequest#builder()} *

* * @param deleteActionTargetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DeleteActionTargetRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteActionTarget operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DeleteActionTarget * @see AWS API Documentation */ default CompletableFuture deleteActionTarget( Consumer deleteActionTargetRequest) { return deleteActionTarget(DeleteActionTargetRequest.builder().applyMutation(deleteActionTargetRequest).build()); } /** *

* Deletes a configuration policy. Only the Security Hub delegated administrator can invoke this operation from the * home Region. For the deletion to succeed, you must first disassociate a configuration policy from target * accounts, organizational units, or the root by invoking the StartConfigurationPolicyDisassociation * operation. *

* * @param deleteConfigurationPolicyRequest * @return A Java Future containing the result of the DeleteConfigurationPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • ResourceConflictException The resource specified in the request conflicts with an existing resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DeleteConfigurationPolicy * @see AWS API Documentation */ default CompletableFuture deleteConfigurationPolicy( DeleteConfigurationPolicyRequest deleteConfigurationPolicyRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a configuration policy. Only the Security Hub delegated administrator can invoke this operation from the * home Region. For the deletion to succeed, you must first disassociate a configuration policy from target * accounts, organizational units, or the root by invoking the StartConfigurationPolicyDisassociation * operation. *

*
*

* This is a convenience which creates an instance of the {@link DeleteConfigurationPolicyRequest.Builder} avoiding * the need to create one manually via {@link DeleteConfigurationPolicyRequest#builder()} *

* * @param deleteConfigurationPolicyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DeleteConfigurationPolicyRequest.Builder} to * create a request. * @return A Java Future containing the result of the DeleteConfigurationPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • ResourceConflictException The resource specified in the request conflicts with an existing resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DeleteConfigurationPolicy * @see AWS API Documentation */ default CompletableFuture deleteConfigurationPolicy( Consumer deleteConfigurationPolicyRequest) { return deleteConfigurationPolicy(DeleteConfigurationPolicyRequest.builder() .applyMutation(deleteConfigurationPolicyRequest).build()); } /** * *

* The aggregation Region is now called the home Region. *

*
*

* Deletes a finding aggregator. When you delete the finding aggregator, you stop cross-Region aggregation. Finding * replication stops occurring from the linked Regions to the home Region. *

*

* When you stop cross-Region aggregation, findings that were already replicated and sent to the home Region are * still visible from the home Region. However, new findings and finding updates are no longer replicated and sent * to the home Region. *

* * @param deleteFindingAggregatorRequest * @return A Java Future containing the result of the DeleteFindingAggregator operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DeleteFindingAggregator * @see AWS API Documentation */ default CompletableFuture deleteFindingAggregator( DeleteFindingAggregatorRequest deleteFindingAggregatorRequest) { throw new UnsupportedOperationException(); } /** * *

* The aggregation Region is now called the home Region. *

*
*

* Deletes a finding aggregator. When you delete the finding aggregator, you stop cross-Region aggregation. Finding * replication stops occurring from the linked Regions to the home Region. *

*

* When you stop cross-Region aggregation, findings that were already replicated and sent to the home Region are * still visible from the home Region. However, new findings and finding updates are no longer replicated and sent * to the home Region. *

*
*

* This is a convenience which creates an instance of the {@link DeleteFindingAggregatorRequest.Builder} avoiding * the need to create one manually via {@link DeleteFindingAggregatorRequest#builder()} *

* * @param deleteFindingAggregatorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DeleteFindingAggregatorRequest.Builder} to create * a request. * @return A Java Future containing the result of the DeleteFindingAggregator operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DeleteFindingAggregator * @see AWS API Documentation */ default CompletableFuture deleteFindingAggregator( Consumer deleteFindingAggregatorRequest) { return deleteFindingAggregator(DeleteFindingAggregatorRequest.builder().applyMutation(deleteFindingAggregatorRequest) .build()); } /** *

* Deletes the insight specified by the InsightArn. *

* * @param deleteInsightRequest * @return A Java Future containing the result of the DeleteInsight operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DeleteInsight * @see AWS API * Documentation */ default CompletableFuture deleteInsight(DeleteInsightRequest deleteInsightRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the insight specified by the InsightArn. *

*
*

* This is a convenience which creates an instance of the {@link DeleteInsightRequest.Builder} avoiding the need to * create one manually via {@link DeleteInsightRequest#builder()} *

* * @param deleteInsightRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DeleteInsightRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteInsight operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DeleteInsight * @see AWS API * Documentation */ default CompletableFuture deleteInsight(Consumer deleteInsightRequest) { return deleteInsight(DeleteInsightRequest.builder().applyMutation(deleteInsightRequest).build()); } /** * *

* We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For * information, see Managing Security * Hub administrator and member accounts with Organizations in the Security Hub User Guide. *

*
*

* Deletes invitations to become a Security Hub member account. *

*

* A Security Hub administrator account can use this operation to delete invitations sent to one or more prospective * member accounts. *

*

* This operation is only used to delete invitations that are sent to prospective member accounts that aren't part * of an Amazon Web Services organization. Organization accounts don't receive invitations. *

* * @param deleteInvitationsRequest * @return A Java Future containing the result of the DeleteInvitations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DeleteInvitations * @see AWS * API Documentation */ default CompletableFuture deleteInvitations(DeleteInvitationsRequest deleteInvitationsRequest) { throw new UnsupportedOperationException(); } /** * *

* We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For * information, see Managing Security * Hub administrator and member accounts with Organizations in the Security Hub User Guide. *

*
*

* Deletes invitations to become a Security Hub member account. *

*

* A Security Hub administrator account can use this operation to delete invitations sent to one or more prospective * member accounts. *

*

* This operation is only used to delete invitations that are sent to prospective member accounts that aren't part * of an Amazon Web Services organization. Organization accounts don't receive invitations. *

*
*

* This is a convenience which creates an instance of the {@link DeleteInvitationsRequest.Builder} avoiding the need * to create one manually via {@link DeleteInvitationsRequest#builder()} *

* * @param deleteInvitationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DeleteInvitationsRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteInvitations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DeleteInvitations * @see AWS * API Documentation */ default CompletableFuture deleteInvitations( Consumer deleteInvitationsRequest) { return deleteInvitations(DeleteInvitationsRequest.builder().applyMutation(deleteInvitationsRequest).build()); } /** *

* Deletes the specified member accounts from Security Hub. *

*

* You can invoke this API only to delete accounts that became members through invitation. You can't invoke this API * to delete accounts that belong to an Organizations organization. *

* * @param deleteMembersRequest * @return A Java Future containing the result of the DeleteMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DeleteMembers * @see AWS API * Documentation */ default CompletableFuture deleteMembers(DeleteMembersRequest deleteMembersRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the specified member accounts from Security Hub. *

*

* You can invoke this API only to delete accounts that became members through invitation. You can't invoke this API * to delete accounts that belong to an Organizations organization. *

*
*

* This is a convenience which creates an instance of the {@link DeleteMembersRequest.Builder} avoiding the need to * create one manually via {@link DeleteMembersRequest#builder()} *

* * @param deleteMembersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DeleteMembersRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DeleteMembers * @see AWS API * Documentation */ default CompletableFuture deleteMembers(Consumer deleteMembersRequest) { return deleteMembers(DeleteMembersRequest.builder().applyMutation(deleteMembersRequest).build()); } /** *

* Returns a list of the custom action targets in Security Hub in your account. *

* * @param describeActionTargetsRequest * @return A Java Future containing the result of the DescribeActionTargets operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DescribeActionTargets * @see AWS API Documentation */ default CompletableFuture describeActionTargets( DescribeActionTargetsRequest describeActionTargetsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of the custom action targets in Security Hub in your account. *

*
*

* This is a convenience which creates an instance of the {@link DescribeActionTargetsRequest.Builder} avoiding the * need to create one manually via {@link DescribeActionTargetsRequest#builder()} *

* * @param describeActionTargetsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DescribeActionTargetsRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeActionTargets operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DescribeActionTargets * @see AWS API Documentation */ default CompletableFuture describeActionTargets( Consumer describeActionTargetsRequest) { return describeActionTargets(DescribeActionTargetsRequest.builder().applyMutation(describeActionTargetsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.DescribeActionTargetsPublisher publisher = client.describeActionTargetsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.DescribeActionTargetsPublisher publisher = client.describeActionTargetsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #describeActionTargets(software.amazon.awssdk.services.securityhub.model.DescribeActionTargetsRequest)} * operation. *

* * @param describeActionTargetsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DescribeActionTargets * @see AWS API Documentation */ default DescribeActionTargetsPublisher describeActionTargetsPaginator( DescribeActionTargetsRequest describeActionTargetsRequest) { return new DescribeActionTargetsPublisher(this, describeActionTargetsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.DescribeActionTargetsPublisher publisher = client.describeActionTargetsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.DescribeActionTargetsPublisher publisher = client.describeActionTargetsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #describeActionTargets(software.amazon.awssdk.services.securityhub.model.DescribeActionTargetsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link DescribeActionTargetsRequest.Builder} avoiding the * need to create one manually via {@link DescribeActionTargetsRequest#builder()} *

* * @param describeActionTargetsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DescribeActionTargetsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DescribeActionTargets * @see AWS API Documentation */ default DescribeActionTargetsPublisher describeActionTargetsPaginator( Consumer describeActionTargetsRequest) { return describeActionTargetsPaginator(DescribeActionTargetsRequest.builder().applyMutation(describeActionTargetsRequest) .build()); } /** *

* Returns details about the Hub resource in your account, including the HubArn and the time when you * enabled Security Hub. *

* * @param describeHubRequest * @return A Java Future containing the result of the DescribeHub operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DescribeHub * @see AWS API * Documentation */ default CompletableFuture describeHub(DescribeHubRequest describeHubRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link DescribeHubRequest.Builder} avoiding the need to * create one manually via {@link DescribeHubRequest#builder()} *

* * @param describeHubRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DescribeHubRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeHub operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DescribeHub * @see AWS API * Documentation */ default CompletableFuture describeHub(Consumer describeHubRequest) { return describeHub(DescribeHubRequest.builder().applyMutation(describeHubRequest).build()); } /** *

* Returns information about the way your organization is configured in Security Hub. Only the Security Hub * administrator account can invoke this operation. *

* * @param describeOrganizationConfigurationRequest * @return A Java Future containing the result of the DescribeOrganizationConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DescribeOrganizationConfiguration * @see AWS API Documentation */ default CompletableFuture describeOrganizationConfiguration( DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Returns information about the way your organization is configured in Security Hub. Only the Security Hub * administrator account can invoke this operation. *

*
*

* This is a convenience which creates an instance of the {@link DescribeOrganizationConfigurationRequest.Builder} * avoiding the need to create one manually via {@link DescribeOrganizationConfigurationRequest#builder()} *

* * @param describeOrganizationConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DescribeOrganizationConfigurationRequest.Builder} * to create a request. * @return A Java Future containing the result of the DescribeOrganizationConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DescribeOrganizationConfiguration * @see AWS API Documentation */ default CompletableFuture describeOrganizationConfiguration( Consumer describeOrganizationConfigurationRequest) { return describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest.builder() .applyMutation(describeOrganizationConfigurationRequest).build()); } /** *

* 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 don't provide an integration ARN, then the results include all of the available product integrations. *

* * @param describeProductsRequest * @return A Java Future containing the result of the DescribeProducts operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DescribeProducts * @see AWS * API Documentation */ default CompletableFuture describeProducts(DescribeProductsRequest describeProductsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 don't provide an integration ARN, then the results include all of the available product integrations. *

*
*

* This is a convenience which creates an instance of the {@link DescribeProductsRequest.Builder} avoiding the need * to create one manually via {@link DescribeProductsRequest#builder()} *

* * @param describeProductsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DescribeProductsRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeProducts operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DescribeProducts * @see AWS * API Documentation */ default CompletableFuture describeProducts( Consumer describeProductsRequest) { return describeProducts(DescribeProductsRequest.builder().applyMutation(describeProductsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.DescribeProductsPublisher publisher = client.describeProductsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.DescribeProductsPublisher publisher = client.describeProductsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #describeProducts(software.amazon.awssdk.services.securityhub.model.DescribeProductsRequest)} * operation. *

* * @param describeProductsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DescribeProducts * @see AWS * API Documentation */ default DescribeProductsPublisher describeProductsPaginator(DescribeProductsRequest describeProductsRequest) { return new DescribeProductsPublisher(this, describeProductsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.DescribeProductsPublisher publisher = client.describeProductsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.DescribeProductsPublisher publisher = client.describeProductsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #describeProducts(software.amazon.awssdk.services.securityhub.model.DescribeProductsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link DescribeProductsRequest.Builder} avoiding the need * to create one manually via {@link DescribeProductsRequest#builder()} *

* * @param describeProductsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DescribeProductsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DescribeProducts * @see AWS * API Documentation */ default DescribeProductsPublisher describeProductsPaginator(Consumer describeProductsRequest) { return describeProductsPaginator(DescribeProductsRequest.builder().applyMutation(describeProductsRequest).build()); } /** *

* Returns a list of the available standards in Security Hub. *

*

* For each standard, the results include the standard ARN, the name, and a description. *

* * @param describeStandardsRequest * @return A Java Future containing the result of the DescribeStandards operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DescribeStandards * @see AWS * API Documentation */ default CompletableFuture describeStandards(DescribeStandardsRequest describeStandardsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link DescribeStandardsRequest.Builder} avoiding the need * to create one manually via {@link DescribeStandardsRequest#builder()} *

* * @param describeStandardsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DescribeStandardsRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeStandards operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DescribeStandards * @see AWS * API Documentation */ default CompletableFuture describeStandards( Consumer describeStandardsRequest) { return describeStandards(DescribeStandardsRequest.builder().applyMutation(describeStandardsRequest).build()); } /** *

* 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. *

* * @param describeStandardsControlsRequest * @return A Java Future containing the result of the DescribeStandardsControls operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DescribeStandardsControls * @see AWS API Documentation */ default CompletableFuture describeStandardsControls( DescribeStandardsControlsRequest describeStandardsControlsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link DescribeStandardsControlsRequest.Builder} avoiding * the need to create one manually via {@link DescribeStandardsControlsRequest#builder()} *

* * @param describeStandardsControlsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DescribeStandardsControlsRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeStandardsControls operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DescribeStandardsControls * @see AWS API Documentation */ default CompletableFuture describeStandardsControls( Consumer describeStandardsControlsRequest) { return describeStandardsControls(DescribeStandardsControlsRequest.builder() .applyMutation(describeStandardsControlsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.DescribeStandardsControlsPublisher publisher = client.describeStandardsControlsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.DescribeStandardsControlsPublisher publisher = client.describeStandardsControlsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #describeStandardsControls(software.amazon.awssdk.services.securityhub.model.DescribeStandardsControlsRequest)} * operation. *

* * @param describeStandardsControlsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DescribeStandardsControls * @see AWS API Documentation */ default DescribeStandardsControlsPublisher describeStandardsControlsPaginator( DescribeStandardsControlsRequest describeStandardsControlsRequest) { return new DescribeStandardsControlsPublisher(this, describeStandardsControlsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.DescribeStandardsControlsPublisher publisher = client.describeStandardsControlsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.DescribeStandardsControlsPublisher publisher = client.describeStandardsControlsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #describeStandardsControls(software.amazon.awssdk.services.securityhub.model.DescribeStandardsControlsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link DescribeStandardsControlsRequest.Builder} avoiding * the need to create one manually via {@link DescribeStandardsControlsRequest#builder()} *

* * @param describeStandardsControlsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DescribeStandardsControlsRequest.Builder} to * create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DescribeStandardsControls * @see AWS API Documentation */ default DescribeStandardsControlsPublisher describeStandardsControlsPaginator( Consumer describeStandardsControlsRequest) { return describeStandardsControlsPaginator(DescribeStandardsControlsRequest.builder() .applyMutation(describeStandardsControlsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.DescribeStandardsPublisher publisher = client.describeStandardsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.DescribeStandardsPublisher publisher = client.describeStandardsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #describeStandards(software.amazon.awssdk.services.securityhub.model.DescribeStandardsRequest)} * operation. *

* * @param describeStandardsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DescribeStandards * @see AWS * API Documentation */ default DescribeStandardsPublisher describeStandardsPaginator(DescribeStandardsRequest describeStandardsRequest) { return new DescribeStandardsPublisher(this, describeStandardsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.DescribeStandardsPublisher publisher = client.describeStandardsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.DescribeStandardsPublisher publisher = client.describeStandardsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #describeStandards(software.amazon.awssdk.services.securityhub.model.DescribeStandardsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link DescribeStandardsRequest.Builder} avoiding the need * to create one manually via {@link DescribeStandardsRequest#builder()} *

* * @param describeStandardsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DescribeStandardsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DescribeStandards * @see AWS * API Documentation */ default DescribeStandardsPublisher describeStandardsPaginator( Consumer describeStandardsRequest) { return describeStandardsPaginator(DescribeStandardsRequest.builder().applyMutation(describeStandardsRequest).build()); } /** *

* 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. *

* * @param disableImportFindingsForProductRequest * @return A Java Future containing the result of the DisableImportFindingsForProduct operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DisableImportFindingsForProduct * @see AWS API Documentation */ default CompletableFuture disableImportFindingsForProduct( DisableImportFindingsForProductRequest disableImportFindingsForProductRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link DisableImportFindingsForProductRequest.Builder} * avoiding the need to create one manually via {@link DisableImportFindingsForProductRequest#builder()} *

* * @param disableImportFindingsForProductRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DisableImportFindingsForProductRequest.Builder} * to create a request. * @return A Java Future containing the result of the DisableImportFindingsForProduct operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DisableImportFindingsForProduct * @see AWS API Documentation */ default CompletableFuture disableImportFindingsForProduct( Consumer disableImportFindingsForProductRequest) { return disableImportFindingsForProduct(DisableImportFindingsForProductRequest.builder() .applyMutation(disableImportFindingsForProductRequest).build()); } /** *

* Disables a Security Hub administrator account. Can only be called by the organization management account. *

* * @param disableOrganizationAdminAccountRequest * @return A Java Future containing the result of the DisableOrganizationAdminAccount operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DisableOrganizationAdminAccount * @see AWS API Documentation */ default CompletableFuture disableOrganizationAdminAccount( DisableOrganizationAdminAccountRequest disableOrganizationAdminAccountRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link DisableOrganizationAdminAccountRequest.Builder} * avoiding the need to create one manually via {@link DisableOrganizationAdminAccountRequest#builder()} *

* * @param disableOrganizationAdminAccountRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DisableOrganizationAdminAccountRequest.Builder} * to create a request. * @return A Java Future containing the result of the DisableOrganizationAdminAccount operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DisableOrganizationAdminAccount * @see AWS API Documentation */ default CompletableFuture disableOrganizationAdminAccount( Consumer disableOrganizationAdminAccountRequest) { return disableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest.builder() .applyMutation(disableOrganizationAdminAccountRequest).build()); } /** *

* Disables Security Hub in your account only in the current Amazon Web Services Region. To disable Security Hub in * all Regions, you must submit one request per Region where you have enabled Security Hub. *

*

* You can't disable Security Hub in an account that is currently the Security Hub administrator. *

*

* 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. *

* * @param disableSecurityHubRequest * @return A Java Future containing the result of the DisableSecurityHub operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DisableSecurityHub * @see AWS API Documentation */ default CompletableFuture disableSecurityHub(DisableSecurityHubRequest disableSecurityHubRequest) { throw new UnsupportedOperationException(); } /** *

* Disables Security Hub in your account only in the current Amazon Web Services Region. To disable Security Hub in * all Regions, you must submit one request per Region where you have enabled Security Hub. *

*

* You can't disable Security Hub in an account that is currently the Security Hub administrator. *

*

* 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 {@link DisableSecurityHubRequest.Builder} avoiding the * need to create one manually via {@link DisableSecurityHubRequest#builder()} *

* * @param disableSecurityHubRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DisableSecurityHubRequest.Builder} to create a * request. * @return A Java Future containing the result of the DisableSecurityHub operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DisableSecurityHub * @see AWS API Documentation */ default CompletableFuture disableSecurityHub( Consumer disableSecurityHubRequest) { return disableSecurityHub(DisableSecurityHubRequest.builder().applyMutation(disableSecurityHubRequest).build()); } /** *

* Disables Security Hub in your account only in the current Amazon Web Services Region. To disable Security Hub in * all Regions, you must submit one request per Region where you have enabled Security Hub. *

*

* You can't disable Security Hub in an account that is currently the Security Hub administrator. *

*

* 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. *

* * @return A Java Future containing the result of the DisableSecurityHub operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DisableSecurityHub * @see AWS API Documentation */ default CompletableFuture disableSecurityHub() { return disableSecurityHub(DisableSecurityHubRequest.builder().build()); } /** *

* 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. *

* * @param disassociateFromAdministratorAccountRequest * @return A Java Future containing the result of the DisassociateFromAdministratorAccount operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DisassociateFromAdministratorAccount * @see AWS API Documentation */ default CompletableFuture disassociateFromAdministratorAccount( DisassociateFromAdministratorAccountRequest disassociateFromAdministratorAccountRequest) { throw new UnsupportedOperationException(); } /** *

* 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 * {@link DisassociateFromAdministratorAccountRequest.Builder} avoiding the need to create one manually via * {@link DisassociateFromAdministratorAccountRequest#builder()} *

* * @param disassociateFromAdministratorAccountRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DisassociateFromAdministratorAccountRequest.Builder} * to create a request. * @return A Java Future containing the result of the DisassociateFromAdministratorAccount operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DisassociateFromAdministratorAccount * @see AWS API Documentation */ default CompletableFuture disassociateFromAdministratorAccount( Consumer disassociateFromAdministratorAccountRequest) { return disassociateFromAdministratorAccount(DisassociateFromAdministratorAccountRequest.builder() .applyMutation(disassociateFromAdministratorAccountRequest).build()); } /** *

* 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. *

* * @param disassociateFromMasterAccountRequest * @return A Java Future containing the result of the DisassociateFromMasterAccount operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DisassociateFromMasterAccount * @see AWS API Documentation * * @deprecated This API has been deprecated, use DisassociateFromAdministratorAccount API instead. */ @Deprecated default CompletableFuture disassociateFromMasterAccount( DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link DisassociateFromMasterAccountRequest.Builder} * avoiding the need to create one manually via {@link DisassociateFromMasterAccountRequest#builder()} *

* * @param disassociateFromMasterAccountRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DisassociateFromMasterAccountRequest.Builder} to * create a request. * @return A Java Future containing the result of the DisassociateFromMasterAccount operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DisassociateFromMasterAccount * @see AWS API Documentation * * @deprecated This API has been deprecated, use DisassociateFromAdministratorAccount API instead. */ @Deprecated default CompletableFuture disassociateFromMasterAccount( Consumer disassociateFromMasterAccountRequest) { return disassociateFromMasterAccount(DisassociateFromMasterAccountRequest.builder() .applyMutation(disassociateFromMasterAccountRequest).build()); } /** *

* 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. *

* * @param disassociateMembersRequest * @return A Java Future containing the result of the DisassociateMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DisassociateMembers * @see AWS API Documentation */ default CompletableFuture disassociateMembers( DisassociateMembersRequest disassociateMembersRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link DisassociateMembersRequest.Builder} avoiding the * need to create one manually via {@link DisassociateMembersRequest#builder()} *

* * @param disassociateMembersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.DisassociateMembersRequest.Builder} to create a * request. * @return A Java Future containing the result of the DisassociateMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.DisassociateMembers * @see AWS API Documentation */ default CompletableFuture disassociateMembers( Consumer disassociateMembersRequest) { return disassociateMembers(DisassociateMembersRequest.builder().applyMutation(disassociateMembersRequest).build()); } /** *

* 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. *

* * @param enableImportFindingsForProductRequest * @return A Java Future containing the result of the EnableImportFindingsForProduct operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceConflictException The resource specified in the request conflicts with an existing resource.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.EnableImportFindingsForProduct * @see AWS API Documentation */ default CompletableFuture enableImportFindingsForProduct( EnableImportFindingsForProductRequest enableImportFindingsForProductRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link EnableImportFindingsForProductRequest.Builder} * avoiding the need to create one manually via {@link EnableImportFindingsForProductRequest#builder()} *

* * @param enableImportFindingsForProductRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.EnableImportFindingsForProductRequest.Builder} to * create a request. * @return A Java Future containing the result of the EnableImportFindingsForProduct operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceConflictException The resource specified in the request conflicts with an existing resource.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.EnableImportFindingsForProduct * @see AWS API Documentation */ default CompletableFuture enableImportFindingsForProduct( Consumer enableImportFindingsForProductRequest) { return enableImportFindingsForProduct(EnableImportFindingsForProductRequest.builder() .applyMutation(enableImportFindingsForProductRequest).build()); } /** *

* Designates the Security Hub administrator account for an organization. Can only be called by the organization * management account. *

* * @param enableOrganizationAdminAccountRequest * @return A Java Future containing the result of the EnableOrganizationAdminAccount operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.EnableOrganizationAdminAccount * @see AWS API Documentation */ default CompletableFuture enableOrganizationAdminAccount( EnableOrganizationAdminAccountRequest enableOrganizationAdminAccountRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link EnableOrganizationAdminAccountRequest.Builder} * avoiding the need to create one manually via {@link EnableOrganizationAdminAccountRequest#builder()} *

* * @param enableOrganizationAdminAccountRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.EnableOrganizationAdminAccountRequest.Builder} to * create a request. * @return A Java Future containing the result of the EnableOrganizationAdminAccount operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.EnableOrganizationAdminAccount * @see AWS API Documentation */ default CompletableFuture enableOrganizationAdminAccount( Consumer enableOrganizationAdminAccountRequest) { return enableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest.builder() .applyMutation(enableOrganizationAdminAccountRequest).build()); } /** *

* 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. *

* * @param enableSecurityHubRequest * @return A Java Future containing the result of the EnableSecurityHub operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceConflictException The resource specified in the request conflicts with an existing resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.EnableSecurityHub * @see AWS * API Documentation */ default CompletableFuture enableSecurityHub(EnableSecurityHubRequest enableSecurityHubRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link EnableSecurityHubRequest.Builder} avoiding the need * to create one manually via {@link EnableSecurityHubRequest#builder()} *

* * @param enableSecurityHubRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.EnableSecurityHubRequest.Builder} to create a * request. * @return A Java Future containing the result of the EnableSecurityHub operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceConflictException The resource specified in the request conflicts with an existing resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.EnableSecurityHub * @see AWS * API Documentation */ default CompletableFuture enableSecurityHub( Consumer enableSecurityHubRequest) { return enableSecurityHub(EnableSecurityHubRequest.builder().applyMutation(enableSecurityHubRequest).build()); } /** *

* 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. *

* * @return A Java Future containing the result of the EnableSecurityHub operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceConflictException The resource specified in the request conflicts with an existing resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.EnableSecurityHub * @see AWS * API Documentation */ default CompletableFuture enableSecurityHub() { return enableSecurityHub(EnableSecurityHubRequest.builder().build()); } /** *

* 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. *

* * @param getAdministratorAccountRequest * @return A Java Future containing the result of the GetAdministratorAccount operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetAdministratorAccount * @see AWS API Documentation */ default CompletableFuture getAdministratorAccount( GetAdministratorAccountRequest getAdministratorAccountRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link GetAdministratorAccountRequest.Builder} avoiding * the need to create one manually via {@link GetAdministratorAccountRequest#builder()} *

* * @param getAdministratorAccountRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.GetAdministratorAccountRequest.Builder} to create * a request. * @return A Java Future containing the result of the GetAdministratorAccount operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetAdministratorAccount * @see AWS API Documentation */ default CompletableFuture getAdministratorAccount( Consumer getAdministratorAccountRequest) { return getAdministratorAccount(GetAdministratorAccountRequest.builder().applyMutation(getAdministratorAccountRequest) .build()); } /** *

* Provides information about a configuration policy. Only the Security Hub delegated administrator can invoke this * operation from the home Region. *

* * @param getConfigurationPolicyRequest * @return A Java Future containing the result of the GetConfigurationPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetConfigurationPolicy * @see AWS API Documentation */ default CompletableFuture getConfigurationPolicy( GetConfigurationPolicyRequest getConfigurationPolicyRequest) { throw new UnsupportedOperationException(); } /** *

* Provides information about a configuration policy. Only the Security Hub delegated administrator can invoke this * operation from the home Region. *

*
*

* This is a convenience which creates an instance of the {@link GetConfigurationPolicyRequest.Builder} avoiding the * need to create one manually via {@link GetConfigurationPolicyRequest#builder()} *

* * @param getConfigurationPolicyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.GetConfigurationPolicyRequest.Builder} to create * a request. * @return A Java Future containing the result of the GetConfigurationPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetConfigurationPolicy * @see AWS API Documentation */ default CompletableFuture getConfigurationPolicy( Consumer getConfigurationPolicyRequest) { return getConfigurationPolicy(GetConfigurationPolicyRequest.builder().applyMutation(getConfigurationPolicyRequest) .build()); } /** *

* Returns the association between a configuration and a target account, organizational unit, or the root. The * configuration can be a configuration policy or self-managed behavior. Only the Security Hub delegated * administrator can invoke this operation from the home Region. *

* * @param getConfigurationPolicyAssociationRequest * @return A Java Future containing the result of the GetConfigurationPolicyAssociation operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetConfigurationPolicyAssociation * @see AWS API Documentation */ default CompletableFuture getConfigurationPolicyAssociation( GetConfigurationPolicyAssociationRequest getConfigurationPolicyAssociationRequest) { throw new UnsupportedOperationException(); } /** *

* Returns the association between a configuration and a target account, organizational unit, or the root. The * configuration can be a configuration policy or self-managed behavior. Only the Security Hub delegated * administrator can invoke this operation from the home Region. *

*
*

* This is a convenience which creates an instance of the {@link GetConfigurationPolicyAssociationRequest.Builder} * avoiding the need to create one manually via {@link GetConfigurationPolicyAssociationRequest#builder()} *

* * @param getConfigurationPolicyAssociationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.GetConfigurationPolicyAssociationRequest.Builder} * to create a request. * @return A Java Future containing the result of the GetConfigurationPolicyAssociation operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetConfigurationPolicyAssociation * @see AWS API Documentation */ default CompletableFuture getConfigurationPolicyAssociation( Consumer getConfigurationPolicyAssociationRequest) { return getConfigurationPolicyAssociation(GetConfigurationPolicyAssociationRequest.builder() .applyMutation(getConfigurationPolicyAssociationRequest).build()); } /** *

* Returns a list of the standards that are currently enabled. *

* * @param getEnabledStandardsRequest * @return A Java Future containing the result of the GetEnabledStandards operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetEnabledStandards * @see AWS API Documentation */ default CompletableFuture getEnabledStandards( GetEnabledStandardsRequest getEnabledStandardsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of the standards that are currently enabled. *

*
*

* This is a convenience which creates an instance of the {@link GetEnabledStandardsRequest.Builder} avoiding the * need to create one manually via {@link GetEnabledStandardsRequest#builder()} *

* * @param getEnabledStandardsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.GetEnabledStandardsRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetEnabledStandards operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetEnabledStandards * @see AWS API Documentation */ default CompletableFuture getEnabledStandards( Consumer getEnabledStandardsRequest) { return getEnabledStandards(GetEnabledStandardsRequest.builder().applyMutation(getEnabledStandardsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.GetEnabledStandardsPublisher publisher = client.getEnabledStandardsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.GetEnabledStandardsPublisher publisher = client.getEnabledStandardsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #getEnabledStandards(software.amazon.awssdk.services.securityhub.model.GetEnabledStandardsRequest)} * operation. *

* * @param getEnabledStandardsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetEnabledStandards * @see AWS API Documentation */ default GetEnabledStandardsPublisher getEnabledStandardsPaginator(GetEnabledStandardsRequest getEnabledStandardsRequest) { return new GetEnabledStandardsPublisher(this, getEnabledStandardsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.GetEnabledStandardsPublisher publisher = client.getEnabledStandardsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.GetEnabledStandardsPublisher publisher = client.getEnabledStandardsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #getEnabledStandards(software.amazon.awssdk.services.securityhub.model.GetEnabledStandardsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link GetEnabledStandardsRequest.Builder} avoiding the * need to create one manually via {@link GetEnabledStandardsRequest#builder()} *

* * @param getEnabledStandardsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.GetEnabledStandardsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetEnabledStandards * @see AWS API Documentation */ default GetEnabledStandardsPublisher getEnabledStandardsPaginator( Consumer getEnabledStandardsRequest) { return getEnabledStandardsPaginator(GetEnabledStandardsRequest.builder().applyMutation(getEnabledStandardsRequest) .build()); } /** * *

* The aggregation Region is now called the home Region. *

*
*

* Returns the current configuration in the calling account for cross-Region aggregation. A finding aggregator is a * resource that establishes the home Region and any linked Regions. *

* * @param getFindingAggregatorRequest * @return A Java Future containing the result of the GetFindingAggregator operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetFindingAggregator * @see AWS API Documentation */ default CompletableFuture getFindingAggregator( GetFindingAggregatorRequest getFindingAggregatorRequest) { throw new UnsupportedOperationException(); } /** * *

* The aggregation Region is now called the home Region. *

*
*

* Returns the current configuration in the calling account for cross-Region aggregation. A finding aggregator is a * resource that establishes the home Region and any linked Regions. *

*
*

* This is a convenience which creates an instance of the {@link GetFindingAggregatorRequest.Builder} avoiding the * need to create one manually via {@link GetFindingAggregatorRequest#builder()} *

* * @param getFindingAggregatorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.GetFindingAggregatorRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetFindingAggregator operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetFindingAggregator * @see AWS API Documentation */ default CompletableFuture getFindingAggregator( Consumer getFindingAggregatorRequest) { return getFindingAggregator(GetFindingAggregatorRequest.builder().applyMutation(getFindingAggregatorRequest).build()); } /** *

* 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). *

* * @param getFindingHistoryRequest * @return A Java Future containing the result of the GetFindingHistory operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetFindingHistory * @see AWS * API Documentation */ default CompletableFuture getFindingHistory(GetFindingHistoryRequest getFindingHistoryRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link GetFindingHistoryRequest.Builder} avoiding the need * to create one manually via {@link GetFindingHistoryRequest#builder()} *

* * @param getFindingHistoryRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.GetFindingHistoryRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetFindingHistory operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetFindingHistory * @see AWS * API Documentation */ default CompletableFuture getFindingHistory( Consumer getFindingHistoryRequest) { return getFindingHistory(GetFindingHistoryRequest.builder().applyMutation(getFindingHistoryRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.GetFindingHistoryPublisher publisher = client.getFindingHistoryPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.GetFindingHistoryPublisher publisher = client.getFindingHistoryPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #getFindingHistory(software.amazon.awssdk.services.securityhub.model.GetFindingHistoryRequest)} * operation. *

* * @param getFindingHistoryRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetFindingHistory * @see AWS * API Documentation */ default GetFindingHistoryPublisher getFindingHistoryPaginator(GetFindingHistoryRequest getFindingHistoryRequest) { return new GetFindingHistoryPublisher(this, getFindingHistoryRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.GetFindingHistoryPublisher publisher = client.getFindingHistoryPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.GetFindingHistoryPublisher publisher = client.getFindingHistoryPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #getFindingHistory(software.amazon.awssdk.services.securityhub.model.GetFindingHistoryRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link GetFindingHistoryRequest.Builder} avoiding the need * to create one manually via {@link GetFindingHistoryRequest#builder()} *

* * @param getFindingHistoryRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.GetFindingHistoryRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetFindingHistory * @see AWS * API Documentation */ default GetFindingHistoryPublisher getFindingHistoryPaginator( Consumer getFindingHistoryRequest) { return getFindingHistoryPaginator(GetFindingHistoryRequest.builder().applyMutation(getFindingHistoryRequest).build()); } /** *

* Returns a list of findings that match the specified criteria. *

*

* If cross-Region aggregation is enabled, then when you call GetFindings from the home Region, the * results include all of the matching findings from both the home Region and linked Regions. *

* * @param getFindingsRequest * @return A Java Future containing the result of the GetFindings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetFindings * @see AWS API * Documentation */ default CompletableFuture getFindings(GetFindingsRequest getFindingsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of findings that match the specified criteria. *

*

* If cross-Region aggregation is enabled, then when you call GetFindings from the home Region, the * results include all of the matching findings from both the home Region and linked Regions. *

*
*

* This is a convenience which creates an instance of the {@link GetFindingsRequest.Builder} avoiding the need to * create one manually via {@link GetFindingsRequest#builder()} *

* * @param getFindingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.GetFindingsRequest.Builder} to create a request. * @return A Java Future containing the result of the GetFindings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetFindings * @see AWS API * Documentation */ default CompletableFuture getFindings(Consumer getFindingsRequest) { return getFindings(GetFindingsRequest.builder().applyMutation(getFindingsRequest).build()); } /** *

* Returns a list of findings that match the specified criteria. *

*

* If cross-Region aggregation is enabled, then when you call GetFindings from the home Region, the * results include all of the matching findings from both the home Region and linked Regions. *

* * @return A Java Future containing the result of the GetFindings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetFindings * @see AWS API * Documentation */ default CompletableFuture getFindings() { return getFindings(GetFindingsRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.GetFindingsPublisher publisher = client.getFindingsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.GetFindingsPublisher publisher = client.getFindingsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #getFindings(software.amazon.awssdk.services.securityhub.model.GetFindingsRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetFindings * @see AWS API * Documentation */ default GetFindingsPublisher getFindingsPaginator() { return getFindingsPaginator(GetFindingsRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.GetFindingsPublisher publisher = client.getFindingsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.GetFindingsPublisher publisher = client.getFindingsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #getFindings(software.amazon.awssdk.services.securityhub.model.GetFindingsRequest)} operation. *

* * @param getFindingsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetFindings * @see AWS API * Documentation */ default GetFindingsPublisher getFindingsPaginator(GetFindingsRequest getFindingsRequest) { return new GetFindingsPublisher(this, getFindingsRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.GetFindingsPublisher publisher = client.getFindingsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.GetFindingsPublisher publisher = client.getFindingsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #getFindings(software.amazon.awssdk.services.securityhub.model.GetFindingsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link GetFindingsRequest.Builder} avoiding the need to * create one manually via {@link GetFindingsRequest#builder()} *

* * @param getFindingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.GetFindingsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetFindings * @see AWS API * Documentation */ default GetFindingsPublisher getFindingsPaginator(Consumer getFindingsRequest) { return getFindingsPaginator(GetFindingsRequest.builder().applyMutation(getFindingsRequest).build()); } /** *

* Lists the results of the Security Hub insight specified by the insight ARN. *

* * @param getInsightResultsRequest * @return A Java Future containing the result of the GetInsightResults operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetInsightResults * @see AWS * API Documentation */ default CompletableFuture getInsightResults(GetInsightResultsRequest getInsightResultsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the results of the Security Hub insight specified by the insight ARN. *

*
*

* This is a convenience which creates an instance of the {@link GetInsightResultsRequest.Builder} avoiding the need * to create one manually via {@link GetInsightResultsRequest#builder()} *

* * @param getInsightResultsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.GetInsightResultsRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetInsightResults operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetInsightResults * @see AWS * API Documentation */ default CompletableFuture getInsightResults( Consumer getInsightResultsRequest) { return getInsightResults(GetInsightResultsRequest.builder().applyMutation(getInsightResultsRequest).build()); } /** *

* Lists and describes insights for the specified insight ARNs. *

* * @param getInsightsRequest * @return A Java Future containing the result of the GetInsights operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetInsights * @see AWS API * Documentation */ default CompletableFuture getInsights(GetInsightsRequest getInsightsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists and describes insights for the specified insight ARNs. *

*
*

* This is a convenience which creates an instance of the {@link GetInsightsRequest.Builder} avoiding the need to * create one manually via {@link GetInsightsRequest#builder()} *

* * @param getInsightsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.GetInsightsRequest.Builder} to create a request. * @return A Java Future containing the result of the GetInsights operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetInsights * @see AWS API * Documentation */ default CompletableFuture getInsights(Consumer getInsightsRequest) { return getInsights(GetInsightsRequest.builder().applyMutation(getInsightsRequest).build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.GetInsightsPublisher publisher = client.getInsightsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.GetInsightsPublisher publisher = client.getInsightsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #getInsights(software.amazon.awssdk.services.securityhub.model.GetInsightsRequest)} operation. *

* * @param getInsightsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetInsights * @see AWS API * Documentation */ default GetInsightsPublisher getInsightsPaginator(GetInsightsRequest getInsightsRequest) { return new GetInsightsPublisher(this, getInsightsRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.GetInsightsPublisher publisher = client.getInsightsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.GetInsightsPublisher publisher = client.getInsightsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #getInsights(software.amazon.awssdk.services.securityhub.model.GetInsightsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link GetInsightsRequest.Builder} avoiding the need to * create one manually via {@link GetInsightsRequest#builder()} *

* * @param getInsightsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.GetInsightsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetInsights * @see AWS API * Documentation */ default GetInsightsPublisher getInsightsPaginator(Consumer getInsightsRequest) { return getInsightsPaginator(GetInsightsRequest.builder().applyMutation(getInsightsRequest).build()); } /** * *

* We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For * information, see Managing Security * Hub administrator and member accounts with Organizations in the Security Hub User Guide. *

*
*

* Returns the count of all Security Hub membership invitations that were sent to the calling member account, not * including the currently accepted invitation. *

* * @param getInvitationsCountRequest * @return A Java Future containing the result of the GetInvitationsCount operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetInvitationsCount * @see AWS API Documentation */ default CompletableFuture getInvitationsCount( GetInvitationsCountRequest getInvitationsCountRequest) { throw new UnsupportedOperationException(); } /** * *

* We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For * information, see Managing Security * Hub administrator and member accounts with Organizations in the Security Hub User Guide. *

*
*

* Returns the count of all Security Hub membership invitations that were sent to the calling member account, not * including the currently accepted invitation. *

*
*

* This is a convenience which creates an instance of the {@link GetInvitationsCountRequest.Builder} avoiding the * need to create one manually via {@link GetInvitationsCountRequest#builder()} *

* * @param getInvitationsCountRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.GetInvitationsCountRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetInvitationsCount operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetInvitationsCount * @see AWS API Documentation */ default CompletableFuture getInvitationsCount( Consumer getInvitationsCountRequest) { return getInvitationsCount(GetInvitationsCountRequest.builder().applyMutation(getInvitationsCountRequest).build()); } /** * *

* We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For * information, see Managing Security * Hub administrator and member accounts with Organizations in the Security Hub User Guide. *

*
*

* Returns the count of all Security Hub membership invitations that were sent to the calling member account, not * including the currently accepted invitation. *

* * @return A Java Future containing the result of the GetInvitationsCount operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetInvitationsCount * @see AWS API Documentation */ default CompletableFuture getInvitationsCount() { return getInvitationsCount(GetInvitationsCountRequest.builder().build()); } /** *

* 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. *

* * @param getMasterAccountRequest * @return A Java Future containing the result of the GetMasterAccount operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetMasterAccount * @see AWS * API Documentation * * @deprecated This API has been deprecated, use GetAdministratorAccount API instead. */ @Deprecated default CompletableFuture getMasterAccount(GetMasterAccountRequest getMasterAccountRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link GetMasterAccountRequest.Builder} avoiding the need * to create one manually via {@link GetMasterAccountRequest#builder()} *

* * @param getMasterAccountRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.GetMasterAccountRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetMasterAccount operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetMasterAccount * @see AWS * API Documentation * * @deprecated This API has been deprecated, use GetAdministratorAccount API instead. */ @Deprecated default CompletableFuture getMasterAccount( Consumer getMasterAccountRequest) { return getMasterAccount(GetMasterAccountRequest.builder().applyMutation(getMasterAccountRequest).build()); } /** *

* 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. *

* * @return A Java Future containing the result of the GetMasterAccount operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetMasterAccount * @see AWS * API Documentation * * @deprecated This API has been deprecated, use GetAdministratorAccount API instead. */ @Deprecated default CompletableFuture getMasterAccount() { return getMasterAccount(GetMasterAccountRequest.builder().build()); } /** *

* 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. *

* * @param getMembersRequest * @return A Java Future containing the result of the GetMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetMembers * @see AWS API * Documentation */ default CompletableFuture getMembers(GetMembersRequest getMembersRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link GetMembersRequest.Builder} avoiding the need to * create one manually via {@link GetMembersRequest#builder()} *

* * @param getMembersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.GetMembersRequest.Builder} to create a request. * @return A Java Future containing the result of the GetMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetMembers * @see AWS API * Documentation */ default CompletableFuture getMembers(Consumer getMembersRequest) { return getMembers(GetMembersRequest.builder().applyMutation(getMembersRequest).build()); } /** *

* Retrieves the definition of a security control. The definition includes the control title, description, Region * availability, parameter definitions, and other details. *

* * @param getSecurityControlDefinitionRequest * @return A Java Future containing the result of the GetSecurityControlDefinition operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetSecurityControlDefinition * @see AWS API Documentation */ default CompletableFuture getSecurityControlDefinition( GetSecurityControlDefinitionRequest getSecurityControlDefinitionRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves the definition of a security control. The definition includes the control title, description, Region * availability, parameter definitions, and other details. *

*
*

* This is a convenience which creates an instance of the {@link GetSecurityControlDefinitionRequest.Builder} * avoiding the need to create one manually via {@link GetSecurityControlDefinitionRequest#builder()} *

* * @param getSecurityControlDefinitionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.GetSecurityControlDefinitionRequest.Builder} to * create a request. * @return A Java Future containing the result of the GetSecurityControlDefinition operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.GetSecurityControlDefinition * @see AWS API Documentation */ default CompletableFuture getSecurityControlDefinition( Consumer getSecurityControlDefinitionRequest) { return getSecurityControlDefinition(GetSecurityControlDefinitionRequest.builder() .applyMutation(getSecurityControlDefinitionRequest).build()); } /** * *

* We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For * information, see Managing Security * Hub administrator and member accounts with Organizations in the Security Hub User Guide. *

*
*

* 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 don't belong to an Amazon Web Services organization. * Organization accounts don't 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 in the member account. *

* * @param inviteMembersRequest * @return A Java Future containing the result of the InviteMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.InviteMembers * @see AWS API * Documentation */ default CompletableFuture inviteMembers(InviteMembersRequest inviteMembersRequest) { throw new UnsupportedOperationException(); } /** * *

* We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For * information, see Managing Security * Hub administrator and member accounts with Organizations in the Security Hub User Guide. *

*
*

* 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 don't belong to an Amazon Web Services organization. * Organization accounts don't 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 in the member account. *

*
*

* This is a convenience which creates an instance of the {@link InviteMembersRequest.Builder} avoiding the need to * create one manually via {@link InviteMembersRequest#builder()} *

* * @param inviteMembersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.InviteMembersRequest.Builder} to create a * request. * @return A Java Future containing the result of the InviteMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.InviteMembers * @see AWS API * Documentation */ default CompletableFuture inviteMembers(Consumer inviteMembersRequest) { return inviteMembers(InviteMembersRequest.builder().applyMutation(inviteMembersRequest).build()); } /** *

* A list of automation rules and their metadata for the calling account. *

* * @param listAutomationRulesRequest * @return A Java Future containing the result of the ListAutomationRules operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListAutomationRules * @see AWS API Documentation */ default CompletableFuture listAutomationRules( ListAutomationRulesRequest listAutomationRulesRequest) { throw new UnsupportedOperationException(); } /** *

* A list of automation rules and their metadata for the calling account. *

*
*

* This is a convenience which creates an instance of the {@link ListAutomationRulesRequest.Builder} avoiding the * need to create one manually via {@link ListAutomationRulesRequest#builder()} *

* * @param listAutomationRulesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.ListAutomationRulesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListAutomationRules operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListAutomationRules * @see AWS API Documentation */ default CompletableFuture listAutomationRules( Consumer listAutomationRulesRequest) { return listAutomationRules(ListAutomationRulesRequest.builder().applyMutation(listAutomationRulesRequest).build()); } /** *

* Lists the configuration policies that the Security Hub delegated administrator has created for your organization. * Only the delegated administrator can invoke this operation from the home Region. *

* * @param listConfigurationPoliciesRequest * @return A Java Future containing the result of the ListConfigurationPolicies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListConfigurationPolicies * @see AWS API Documentation */ default CompletableFuture listConfigurationPolicies( ListConfigurationPoliciesRequest listConfigurationPoliciesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the configuration policies that the Security Hub delegated administrator has created for your organization. * Only the delegated administrator can invoke this operation from the home Region. *

*
*

* This is a convenience which creates an instance of the {@link ListConfigurationPoliciesRequest.Builder} avoiding * the need to create one manually via {@link ListConfigurationPoliciesRequest#builder()} *

* * @param listConfigurationPoliciesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.ListConfigurationPoliciesRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListConfigurationPolicies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListConfigurationPolicies * @see AWS API Documentation */ default CompletableFuture listConfigurationPolicies( Consumer listConfigurationPoliciesRequest) { return listConfigurationPolicies(ListConfigurationPoliciesRequest.builder() .applyMutation(listConfigurationPoliciesRequest).build()); } /** *

* This is a variant of * {@link #listConfigurationPolicies(software.amazon.awssdk.services.securityhub.model.ListConfigurationPoliciesRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListConfigurationPoliciesPublisher publisher = client.listConfigurationPoliciesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListConfigurationPoliciesPublisher publisher = client.listConfigurationPoliciesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.securityhub.model.ListConfigurationPoliciesResponse 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 * {@link #listConfigurationPolicies(software.amazon.awssdk.services.securityhub.model.ListConfigurationPoliciesRequest)} * operation. *

* * @param listConfigurationPoliciesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListConfigurationPolicies * @see AWS API Documentation */ default ListConfigurationPoliciesPublisher listConfigurationPoliciesPaginator( ListConfigurationPoliciesRequest listConfigurationPoliciesRequest) { return new ListConfigurationPoliciesPublisher(this, listConfigurationPoliciesRequest); } /** *

* This is a variant of * {@link #listConfigurationPolicies(software.amazon.awssdk.services.securityhub.model.ListConfigurationPoliciesRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListConfigurationPoliciesPublisher publisher = client.listConfigurationPoliciesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListConfigurationPoliciesPublisher publisher = client.listConfigurationPoliciesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.securityhub.model.ListConfigurationPoliciesResponse 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 * {@link #listConfigurationPolicies(software.amazon.awssdk.services.securityhub.model.ListConfigurationPoliciesRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListConfigurationPoliciesRequest.Builder} avoiding * the need to create one manually via {@link ListConfigurationPoliciesRequest#builder()} *

* * @param listConfigurationPoliciesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.ListConfigurationPoliciesRequest.Builder} to * create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListConfigurationPolicies * @see AWS API Documentation */ default ListConfigurationPoliciesPublisher listConfigurationPoliciesPaginator( Consumer listConfigurationPoliciesRequest) { return listConfigurationPoliciesPaginator(ListConfigurationPoliciesRequest.builder() .applyMutation(listConfigurationPoliciesRequest).build()); } /** *

* Provides information about the associations for your configuration policies and self-managed behavior. Only the * Security Hub delegated administrator can invoke this operation from the home Region. *

* * @param listConfigurationPolicyAssociationsRequest * @return A Java Future containing the result of the ListConfigurationPolicyAssociations operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListConfigurationPolicyAssociations * @see AWS API Documentation */ default CompletableFuture listConfigurationPolicyAssociations( ListConfigurationPolicyAssociationsRequest listConfigurationPolicyAssociationsRequest) { throw new UnsupportedOperationException(); } /** *

* Provides information about the associations for your configuration policies and self-managed behavior. Only the * Security Hub delegated administrator can invoke this operation from the home Region. *

*
*

* This is a convenience which creates an instance of the {@link ListConfigurationPolicyAssociationsRequest.Builder} * avoiding the need to create one manually via {@link ListConfigurationPolicyAssociationsRequest#builder()} *

* * @param listConfigurationPolicyAssociationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.ListConfigurationPolicyAssociationsRequest.Builder} * to create a request. * @return A Java Future containing the result of the ListConfigurationPolicyAssociations operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListConfigurationPolicyAssociations * @see AWS API Documentation */ default CompletableFuture listConfigurationPolicyAssociations( Consumer listConfigurationPolicyAssociationsRequest) { return listConfigurationPolicyAssociations(ListConfigurationPolicyAssociationsRequest.builder() .applyMutation(listConfigurationPolicyAssociationsRequest).build()); } /** *

* This is a variant of * {@link #listConfigurationPolicyAssociations(software.amazon.awssdk.services.securityhub.model.ListConfigurationPolicyAssociationsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListConfigurationPolicyAssociationsPublisher publisher = client.listConfigurationPolicyAssociationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListConfigurationPolicyAssociationsPublisher publisher = client.listConfigurationPolicyAssociationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.securityhub.model.ListConfigurationPolicyAssociationsResponse 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 * {@link #listConfigurationPolicyAssociations(software.amazon.awssdk.services.securityhub.model.ListConfigurationPolicyAssociationsRequest)} * operation. *

* * @param listConfigurationPolicyAssociationsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListConfigurationPolicyAssociations * @see AWS API Documentation */ default ListConfigurationPolicyAssociationsPublisher listConfigurationPolicyAssociationsPaginator( ListConfigurationPolicyAssociationsRequest listConfigurationPolicyAssociationsRequest) { return new ListConfigurationPolicyAssociationsPublisher(this, listConfigurationPolicyAssociationsRequest); } /** *

* This is a variant of * {@link #listConfigurationPolicyAssociations(software.amazon.awssdk.services.securityhub.model.ListConfigurationPolicyAssociationsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListConfigurationPolicyAssociationsPublisher publisher = client.listConfigurationPolicyAssociationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListConfigurationPolicyAssociationsPublisher publisher = client.listConfigurationPolicyAssociationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.securityhub.model.ListConfigurationPolicyAssociationsResponse 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 * {@link #listConfigurationPolicyAssociations(software.amazon.awssdk.services.securityhub.model.ListConfigurationPolicyAssociationsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListConfigurationPolicyAssociationsRequest.Builder} * avoiding the need to create one manually via {@link ListConfigurationPolicyAssociationsRequest#builder()} *

* * @param listConfigurationPolicyAssociationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.ListConfigurationPolicyAssociationsRequest.Builder} * to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListConfigurationPolicyAssociations * @see AWS API Documentation */ default ListConfigurationPolicyAssociationsPublisher listConfigurationPolicyAssociationsPaginator( Consumer listConfigurationPolicyAssociationsRequest) { return listConfigurationPolicyAssociationsPaginator(ListConfigurationPolicyAssociationsRequest.builder() .applyMutation(listConfigurationPolicyAssociationsRequest).build()); } /** *

* Lists all findings-generating solutions (products) that you are subscribed to receive findings from in Security * Hub. *

* * @param listEnabledProductsForImportRequest * @return A Java Future containing the result of the ListEnabledProductsForImport operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListEnabledProductsForImport * @see AWS API Documentation */ default CompletableFuture listEnabledProductsForImport( ListEnabledProductsForImportRequest listEnabledProductsForImportRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link ListEnabledProductsForImportRequest.Builder} * avoiding the need to create one manually via {@link ListEnabledProductsForImportRequest#builder()} *

* * @param listEnabledProductsForImportRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListEnabledProductsForImport operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListEnabledProductsForImport * @see AWS API Documentation */ default CompletableFuture listEnabledProductsForImport( Consumer listEnabledProductsForImportRequest) { return listEnabledProductsForImport(ListEnabledProductsForImportRequest.builder() .applyMutation(listEnabledProductsForImportRequest).build()); } /** *

* Lists all findings-generating solutions (products) that you are subscribed to receive findings from in Security * Hub. *

* * @return A Java Future containing the result of the ListEnabledProductsForImport operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListEnabledProductsForImport * @see AWS API Documentation */ default CompletableFuture listEnabledProductsForImport() { return listEnabledProductsForImport(ListEnabledProductsForImportRequest.builder().build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListEnabledProductsForImportPublisher publisher = client.listEnabledProductsForImportPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListEnabledProductsForImportPublisher publisher = client.listEnabledProductsForImportPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listEnabledProductsForImport(software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportRequest)} * operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListEnabledProductsForImport * @see AWS API Documentation */ default ListEnabledProductsForImportPublisher listEnabledProductsForImportPaginator() { return listEnabledProductsForImportPaginator(ListEnabledProductsForImportRequest.builder().build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListEnabledProductsForImportPublisher publisher = client.listEnabledProductsForImportPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListEnabledProductsForImportPublisher publisher = client.listEnabledProductsForImportPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listEnabledProductsForImport(software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportRequest)} * operation. *

* * @param listEnabledProductsForImportRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListEnabledProductsForImport * @see AWS API Documentation */ default ListEnabledProductsForImportPublisher listEnabledProductsForImportPaginator( ListEnabledProductsForImportRequest listEnabledProductsForImportRequest) { return new ListEnabledProductsForImportPublisher(this, listEnabledProductsForImportRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListEnabledProductsForImportPublisher publisher = client.listEnabledProductsForImportPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListEnabledProductsForImportPublisher publisher = client.listEnabledProductsForImportPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listEnabledProductsForImport(software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListEnabledProductsForImportRequest.Builder} * avoiding the need to create one manually via {@link ListEnabledProductsForImportRequest#builder()} *

* * @param listEnabledProductsForImportRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportRequest.Builder} to * create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListEnabledProductsForImport * @see AWS API Documentation */ default ListEnabledProductsForImportPublisher listEnabledProductsForImportPaginator( Consumer listEnabledProductsForImportRequest) { return listEnabledProductsForImportPaginator(ListEnabledProductsForImportRequest.builder() .applyMutation(listEnabledProductsForImportRequest).build()); } /** *

* If cross-Region aggregation is enabled, then ListFindingAggregators returns the Amazon Resource Name * (ARN) of the finding aggregator. You can run this operation from any Amazon Web Services Region. *

* * @param listFindingAggregatorsRequest * @return A Java Future containing the result of the ListFindingAggregators operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListFindingAggregators * @see AWS API Documentation */ default CompletableFuture listFindingAggregators( ListFindingAggregatorsRequest listFindingAggregatorsRequest) { throw new UnsupportedOperationException(); } /** *

* If cross-Region aggregation is enabled, then ListFindingAggregators returns the Amazon Resource Name * (ARN) of the finding aggregator. You can run this operation from any Amazon Web Services Region. *

*
*

* This is a convenience which creates an instance of the {@link ListFindingAggregatorsRequest.Builder} avoiding the * need to create one manually via {@link ListFindingAggregatorsRequest#builder()} *

* * @param listFindingAggregatorsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.ListFindingAggregatorsRequest.Builder} to create * a request. * @return A Java Future containing the result of the ListFindingAggregators operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListFindingAggregators * @see AWS API Documentation */ default CompletableFuture listFindingAggregators( Consumer listFindingAggregatorsRequest) { return listFindingAggregators(ListFindingAggregatorsRequest.builder().applyMutation(listFindingAggregatorsRequest) .build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListFindingAggregatorsPublisher publisher = client.listFindingAggregatorsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListFindingAggregatorsPublisher publisher = client.listFindingAggregatorsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listFindingAggregators(software.amazon.awssdk.services.securityhub.model.ListFindingAggregatorsRequest)} * operation. *

* * @param listFindingAggregatorsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListFindingAggregators * @see AWS API Documentation */ default ListFindingAggregatorsPublisher listFindingAggregatorsPaginator( ListFindingAggregatorsRequest listFindingAggregatorsRequest) { return new ListFindingAggregatorsPublisher(this, listFindingAggregatorsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListFindingAggregatorsPublisher publisher = client.listFindingAggregatorsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListFindingAggregatorsPublisher publisher = client.listFindingAggregatorsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listFindingAggregators(software.amazon.awssdk.services.securityhub.model.ListFindingAggregatorsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListFindingAggregatorsRequest.Builder} avoiding the * need to create one manually via {@link ListFindingAggregatorsRequest#builder()} *

* * @param listFindingAggregatorsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.ListFindingAggregatorsRequest.Builder} to create * a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListFindingAggregators * @see AWS API Documentation */ default ListFindingAggregatorsPublisher listFindingAggregatorsPaginator( Consumer listFindingAggregatorsRequest) { return listFindingAggregatorsPaginator(ListFindingAggregatorsRequest.builder() .applyMutation(listFindingAggregatorsRequest).build()); } /** * *

* We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For * information, see Managing Security * Hub administrator and member accounts with Organizations in the Security Hub User Guide. *

*
*

* Lists all Security Hub membership invitations that were sent to the calling account. *

*

* Only accounts that are managed by invitation can use this operation. Accounts that are managed using the * integration with Organizations don't receive invitations. *

* * @param listInvitationsRequest * @return A Java Future containing the result of the ListInvitations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListInvitations * @see AWS * API Documentation */ default CompletableFuture listInvitations(ListInvitationsRequest listInvitationsRequest) { throw new UnsupportedOperationException(); } /** * *

* We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For * information, see Managing Security * Hub administrator and member accounts with Organizations in the Security Hub User Guide. *

*
*

* Lists all Security Hub membership invitations that were sent to the calling account. *

*

* Only accounts that are managed by invitation can use this operation. Accounts that are managed using the * integration with Organizations don't receive invitations. *

*
*

* This is a convenience which creates an instance of the {@link ListInvitationsRequest.Builder} avoiding the need * to create one manually via {@link ListInvitationsRequest#builder()} *

* * @param listInvitationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.ListInvitationsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListInvitations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListInvitations * @see AWS * API Documentation */ default CompletableFuture listInvitations( Consumer listInvitationsRequest) { return listInvitations(ListInvitationsRequest.builder().applyMutation(listInvitationsRequest).build()); } /** * *

* We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For * information, see Managing Security * Hub administrator and member accounts with Organizations in the Security Hub User Guide. *

*
*

* Lists all Security Hub membership invitations that were sent to the calling account. *

*

* Only accounts that are managed by invitation can use this operation. Accounts that are managed using the * integration with Organizations don't receive invitations. *

* * @return A Java Future containing the result of the ListInvitations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListInvitations * @see AWS * API Documentation */ default CompletableFuture listInvitations() { return listInvitations(ListInvitationsRequest.builder().build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listInvitations(software.amazon.awssdk.services.securityhub.model.ListInvitationsRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListInvitations * @see AWS * API Documentation */ default ListInvitationsPublisher listInvitationsPaginator() { return listInvitationsPaginator(ListInvitationsRequest.builder().build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listInvitations(software.amazon.awssdk.services.securityhub.model.ListInvitationsRequest)} operation. *

* * @param listInvitationsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListInvitations * @see AWS * API Documentation */ default ListInvitationsPublisher listInvitationsPaginator(ListInvitationsRequest listInvitationsRequest) { return new ListInvitationsPublisher(this, listInvitationsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listInvitations(software.amazon.awssdk.services.securityhub.model.ListInvitationsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListInvitationsRequest.Builder} avoiding the need * to create one manually via {@link ListInvitationsRequest#builder()} *

* * @param listInvitationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.ListInvitationsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListInvitations * @see AWS * API Documentation */ default ListInvitationsPublisher listInvitationsPaginator(Consumer listInvitationsRequest) { return listInvitationsPaginator(ListInvitationsRequest.builder().applyMutation(listInvitationsRequest).build()); } /** *

* 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. *

* * @param listMembersRequest * @return A Java Future containing the result of the ListMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListMembers * @see AWS API * Documentation */ default CompletableFuture listMembers(ListMembersRequest listMembersRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link ListMembersRequest.Builder} avoiding the need to * create one manually via {@link ListMembersRequest#builder()} *

* * @param listMembersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.ListMembersRequest.Builder} to create a request. * @return A Java Future containing the result of the ListMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListMembers * @see AWS API * Documentation */ default CompletableFuture listMembers(Consumer listMembersRequest) { return listMembers(ListMembersRequest.builder().applyMutation(listMembersRequest).build()); } /** *

* 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. *

* * @return A Java Future containing the result of the ListMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListMembers * @see AWS API * Documentation */ default CompletableFuture listMembers() { return listMembers(ListMembersRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listMembers(software.amazon.awssdk.services.securityhub.model.ListMembersRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListMembers * @see AWS API * Documentation */ default ListMembersPublisher listMembersPaginator() { return listMembersPaginator(ListMembersRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listMembers(software.amazon.awssdk.services.securityhub.model.ListMembersRequest)} operation. *

* * @param listMembersRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListMembers * @see AWS API * Documentation */ default ListMembersPublisher listMembersPaginator(ListMembersRequest listMembersRequest) { return new ListMembersPublisher(this, listMembersRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listMembers(software.amazon.awssdk.services.securityhub.model.ListMembersRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListMembersRequest.Builder} avoiding the need to * create one manually via {@link ListMembersRequest#builder()} *

* * @param listMembersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.ListMembersRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListMembers * @see AWS API * Documentation */ default ListMembersPublisher listMembersPaginator(Consumer listMembersRequest) { return listMembersPaginator(ListMembersRequest.builder().applyMutation(listMembersRequest).build()); } /** *

* Lists the Security Hub administrator accounts. Can only be called by the organization management account. *

* * @param listOrganizationAdminAccountsRequest * @return A Java Future containing the result of the ListOrganizationAdminAccounts operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListOrganizationAdminAccounts * @see AWS API Documentation */ default CompletableFuture listOrganizationAdminAccounts( ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link ListOrganizationAdminAccountsRequest.Builder} * avoiding the need to create one manually via {@link ListOrganizationAdminAccountsRequest#builder()} *

* * @param listOrganizationAdminAccountsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.ListOrganizationAdminAccountsRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListOrganizationAdminAccounts operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListOrganizationAdminAccounts * @see AWS API Documentation */ default CompletableFuture listOrganizationAdminAccounts( Consumer listOrganizationAdminAccountsRequest) { return listOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest.builder() .applyMutation(listOrganizationAdminAccountsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listOrganizationAdminAccounts(software.amazon.awssdk.services.securityhub.model.ListOrganizationAdminAccountsRequest)} * operation. *

* * @param listOrganizationAdminAccountsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListOrganizationAdminAccounts * @see AWS API Documentation */ default ListOrganizationAdminAccountsPublisher listOrganizationAdminAccountsPaginator( ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) { return new ListOrganizationAdminAccountsPublisher(this, listOrganizationAdminAccountsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listOrganizationAdminAccounts(software.amazon.awssdk.services.securityhub.model.ListOrganizationAdminAccountsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListOrganizationAdminAccountsRequest.Builder} * avoiding the need to create one manually via {@link ListOrganizationAdminAccountsRequest#builder()} *

* * @param listOrganizationAdminAccountsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.ListOrganizationAdminAccountsRequest.Builder} to * create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListOrganizationAdminAccounts * @see AWS API Documentation */ default ListOrganizationAdminAccountsPublisher listOrganizationAdminAccountsPaginator( Consumer listOrganizationAdminAccountsRequest) { return listOrganizationAdminAccountsPaginator(ListOrganizationAdminAccountsRequest.builder() .applyMutation(listOrganizationAdminAccountsRequest).build()); } /** *

* Lists all of the security controls that apply to a specified standard. *

* * @param listSecurityControlDefinitionsRequest * @return A Java Future containing the result of the ListSecurityControlDefinitions operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListSecurityControlDefinitions * @see AWS API Documentation */ default CompletableFuture listSecurityControlDefinitions( ListSecurityControlDefinitionsRequest listSecurityControlDefinitionsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists all of the security controls that apply to a specified standard. *

*
*

* This is a convenience which creates an instance of the {@link ListSecurityControlDefinitionsRequest.Builder} * avoiding the need to create one manually via {@link ListSecurityControlDefinitionsRequest#builder()} *

* * @param listSecurityControlDefinitionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.ListSecurityControlDefinitionsRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListSecurityControlDefinitions operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListSecurityControlDefinitions * @see AWS API Documentation */ default CompletableFuture listSecurityControlDefinitions( Consumer listSecurityControlDefinitionsRequest) { return listSecurityControlDefinitions(ListSecurityControlDefinitionsRequest.builder() .applyMutation(listSecurityControlDefinitionsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListSecurityControlDefinitionsPublisher publisher = client.listSecurityControlDefinitionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListSecurityControlDefinitionsPublisher publisher = client.listSecurityControlDefinitionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listSecurityControlDefinitions(software.amazon.awssdk.services.securityhub.model.ListSecurityControlDefinitionsRequest)} * operation. *

* * @param listSecurityControlDefinitionsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListSecurityControlDefinitions * @see AWS API Documentation */ default ListSecurityControlDefinitionsPublisher listSecurityControlDefinitionsPaginator( ListSecurityControlDefinitionsRequest listSecurityControlDefinitionsRequest) { return new ListSecurityControlDefinitionsPublisher(this, listSecurityControlDefinitionsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListSecurityControlDefinitionsPublisher publisher = client.listSecurityControlDefinitionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListSecurityControlDefinitionsPublisher publisher = client.listSecurityControlDefinitionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listSecurityControlDefinitions(software.amazon.awssdk.services.securityhub.model.ListSecurityControlDefinitionsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListSecurityControlDefinitionsRequest.Builder} * avoiding the need to create one manually via {@link ListSecurityControlDefinitionsRequest#builder()} *

* * @param listSecurityControlDefinitionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.ListSecurityControlDefinitionsRequest.Builder} to * create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListSecurityControlDefinitions * @see AWS API Documentation */ default ListSecurityControlDefinitionsPublisher listSecurityControlDefinitionsPaginator( Consumer listSecurityControlDefinitionsRequest) { return listSecurityControlDefinitionsPaginator(ListSecurityControlDefinitionsRequest.builder() .applyMutation(listSecurityControlDefinitionsRequest).build()); } /** *

* Specifies whether a control is currently enabled or disabled in each enabled standard in the calling account. *

* * @param listStandardsControlAssociationsRequest * @return A Java Future containing the result of the ListStandardsControlAssociations operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListStandardsControlAssociations * @see AWS API Documentation */ default CompletableFuture listStandardsControlAssociations( ListStandardsControlAssociationsRequest listStandardsControlAssociationsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link ListStandardsControlAssociationsRequest.Builder} * avoiding the need to create one manually via {@link ListStandardsControlAssociationsRequest#builder()} *

* * @param listStandardsControlAssociationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.ListStandardsControlAssociationsRequest.Builder} * to create a request. * @return A Java Future containing the result of the ListStandardsControlAssociations operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListStandardsControlAssociations * @see AWS API Documentation */ default CompletableFuture listStandardsControlAssociations( Consumer listStandardsControlAssociationsRequest) { return listStandardsControlAssociations(ListStandardsControlAssociationsRequest.builder() .applyMutation(listStandardsControlAssociationsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListStandardsControlAssociationsPublisher publisher = client.listStandardsControlAssociationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListStandardsControlAssociationsPublisher publisher = client.listStandardsControlAssociationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listStandardsControlAssociations(software.amazon.awssdk.services.securityhub.model.ListStandardsControlAssociationsRequest)} * operation. *

* * @param listStandardsControlAssociationsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListStandardsControlAssociations * @see AWS API Documentation */ default ListStandardsControlAssociationsPublisher listStandardsControlAssociationsPaginator( ListStandardsControlAssociationsRequest listStandardsControlAssociationsRequest) { return new ListStandardsControlAssociationsPublisher(this, listStandardsControlAssociationsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListStandardsControlAssociationsPublisher publisher = client.listStandardsControlAssociationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.securityhub.paginators.ListStandardsControlAssociationsPublisher publisher = client.listStandardsControlAssociationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listStandardsControlAssociations(software.amazon.awssdk.services.securityhub.model.ListStandardsControlAssociationsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListStandardsControlAssociationsRequest.Builder} * avoiding the need to create one manually via {@link ListStandardsControlAssociationsRequest#builder()} *

* * @param listStandardsControlAssociationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.ListStandardsControlAssociationsRequest.Builder} * to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListStandardsControlAssociations * @see AWS API Documentation */ default ListStandardsControlAssociationsPublisher listStandardsControlAssociationsPaginator( Consumer listStandardsControlAssociationsRequest) { return listStandardsControlAssociationsPaginator(ListStandardsControlAssociationsRequest.builder() .applyMutation(listStandardsControlAssociationsRequest).build()); } /** *

* Returns a list of tags associated with a resource. *

* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListTagsForResource * @see AWS API Documentation */ default CompletableFuture listTagsForResource( ListTagsForResourceRequest listTagsForResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of tags associated with a resource. *

*
*

* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the * need to create one manually via {@link ListTagsForResourceRequest#builder()} *

* * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.ListTagsForResourceRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.ListTagsForResource * @see AWS API Documentation */ default CompletableFuture listTagsForResource( Consumer listTagsForResourceRequest) { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

* Associates a target account, organizational unit, or the root with a specified configuration. The target can be * associated with a configuration policy or self-managed behavior. Only the Security Hub delegated administrator * can invoke this operation from the home Region. *

* * @param startConfigurationPolicyAssociationRequest * @return A Java Future containing the result of the StartConfigurationPolicyAssociation operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.StartConfigurationPolicyAssociation * @see AWS API Documentation */ default CompletableFuture startConfigurationPolicyAssociation( StartConfigurationPolicyAssociationRequest startConfigurationPolicyAssociationRequest) { throw new UnsupportedOperationException(); } /** *

* Associates a target account, organizational unit, or the root with a specified configuration. The target can be * associated with a configuration policy or self-managed behavior. Only the Security Hub delegated administrator * can invoke this operation from the home Region. *

*
*

* This is a convenience which creates an instance of the {@link StartConfigurationPolicyAssociationRequest.Builder} * avoiding the need to create one manually via {@link StartConfigurationPolicyAssociationRequest#builder()} *

* * @param startConfigurationPolicyAssociationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.StartConfigurationPolicyAssociationRequest.Builder} * to create a request. * @return A Java Future containing the result of the StartConfigurationPolicyAssociation operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.StartConfigurationPolicyAssociation * @see AWS API Documentation */ default CompletableFuture startConfigurationPolicyAssociation( Consumer startConfigurationPolicyAssociationRequest) { return startConfigurationPolicyAssociation(StartConfigurationPolicyAssociationRequest.builder() .applyMutation(startConfigurationPolicyAssociationRequest).build()); } /** *

* Disassociates a target account, organizational unit, or the root from a specified configuration. When you * disassociate a configuration from its target, the target inherits the configuration of the closest parent. If * there’s no configuration to inherit, the target retains its settings but becomes a self-managed account. A target * can be disassociated from a configuration policy or self-managed behavior. Only the Security Hub delegated * administrator can invoke this operation from the home Region. *

* * @param startConfigurationPolicyDisassociationRequest * @return A Java Future containing the result of the StartConfigurationPolicyDisassociation operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.StartConfigurationPolicyDisassociation * @see AWS API Documentation */ default CompletableFuture startConfigurationPolicyDisassociation( StartConfigurationPolicyDisassociationRequest startConfigurationPolicyDisassociationRequest) { throw new UnsupportedOperationException(); } /** *

* Disassociates a target account, organizational unit, or the root from a specified configuration. When you * disassociate a configuration from its target, the target inherits the configuration of the closest parent. If * there’s no configuration to inherit, the target retains its settings but becomes a self-managed account. A target * can be disassociated from a configuration policy or self-managed behavior. Only the Security Hub delegated * administrator can invoke this operation from the home Region. *

*
*

* This is a convenience which creates an instance of the * {@link StartConfigurationPolicyDisassociationRequest.Builder} avoiding the need to create one manually via * {@link StartConfigurationPolicyDisassociationRequest#builder()} *

* * @param startConfigurationPolicyDisassociationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.StartConfigurationPolicyDisassociationRequest.Builder} * to create a request. * @return A Java Future containing the result of the StartConfigurationPolicyDisassociation operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.StartConfigurationPolicyDisassociation * @see AWS API Documentation */ default CompletableFuture startConfigurationPolicyDisassociation( Consumer startConfigurationPolicyDisassociationRequest) { return startConfigurationPolicyDisassociation(StartConfigurationPolicyDisassociationRequest.builder() .applyMutation(startConfigurationPolicyDisassociationRequest).build()); } /** *

* Adds one or more tags to a resource. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.TagResource * @see AWS API * Documentation */ default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Adds one or more tags to a resource. *

*
*

* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to * create one manually via {@link TagResourceRequest#builder()} *

* * @param tagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.TagResourceRequest.Builder} to create a request. * @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.TagResource * @see AWS API * Documentation */ default CompletableFuture tagResource(Consumer tagResourceRequest) { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

* Removes one or more tags from a resource. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.UntagResource * @see AWS API * Documentation */ default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Removes one or more tags from a resource. *

*
*

* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to * create one manually via {@link UntagResourceRequest#builder()} *

* * @param untagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.UntagResourceRequest.Builder} to create a * request. * @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.UntagResource * @see AWS API * Documentation */ default CompletableFuture untagResource(Consumer untagResourceRequest) { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** *

* Updates the name and description of a custom action target in Security Hub. *

* * @param updateActionTargetRequest * @return A Java Future containing the result of the UpdateActionTarget operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.UpdateActionTarget * @see AWS API Documentation */ default CompletableFuture updateActionTarget(UpdateActionTargetRequest updateActionTargetRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the name and description of a custom action target in Security Hub. *

*
*

* This is a convenience which creates an instance of the {@link UpdateActionTargetRequest.Builder} avoiding the * need to create one manually via {@link UpdateActionTargetRequest#builder()} *

* * @param updateActionTargetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.UpdateActionTargetRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateActionTarget operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.UpdateActionTarget * @see AWS API Documentation */ default CompletableFuture updateActionTarget( Consumer updateActionTargetRequest) { return updateActionTarget(UpdateActionTargetRequest.builder().applyMutation(updateActionTargetRequest).build()); } /** *

* Updates a configuration policy. Only the Security Hub delegated administrator can invoke this operation from the * home Region. *

* * @param updateConfigurationPolicyRequest * @return A Java Future containing the result of the UpdateConfigurationPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • ResourceConflictException The resource specified in the request conflicts with an existing resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.UpdateConfigurationPolicy * @see AWS API Documentation */ default CompletableFuture updateConfigurationPolicy( UpdateConfigurationPolicyRequest updateConfigurationPolicyRequest) { throw new UnsupportedOperationException(); } /** *

* Updates a configuration policy. Only the Security Hub delegated administrator can invoke this operation from the * home Region. *

*
*

* This is a convenience which creates an instance of the {@link UpdateConfigurationPolicyRequest.Builder} avoiding * the need to create one manually via {@link UpdateConfigurationPolicyRequest#builder()} *

* * @param updateConfigurationPolicyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.UpdateConfigurationPolicyRequest.Builder} to * create a request. * @return A Java Future containing the result of the UpdateConfigurationPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • ResourceConflictException The resource specified in the request conflicts with an existing resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.UpdateConfigurationPolicy * @see AWS API Documentation */ default CompletableFuture updateConfigurationPolicy( Consumer updateConfigurationPolicyRequest) { return updateConfigurationPolicy(UpdateConfigurationPolicyRequest.builder() .applyMutation(updateConfigurationPolicyRequest).build()); } /** * *

* The aggregation Region is now called the home Region. *

*
*

* Updates cross-Region aggregation settings. You can use this operation to update the Region linking mode and the * list of included or excluded Amazon Web Services Regions. However, you can't use this operation to change the * home Region. *

*

* You can invoke this operation from the current home Region only. *

* * @param updateFindingAggregatorRequest * @return A Java Future containing the result of the UpdateFindingAggregator operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.UpdateFindingAggregator * @see AWS API Documentation */ default CompletableFuture updateFindingAggregator( UpdateFindingAggregatorRequest updateFindingAggregatorRequest) { throw new UnsupportedOperationException(); } /** * *

* The aggregation Region is now called the home Region. *

*
*

* Updates cross-Region aggregation settings. You can use this operation to update the Region linking mode and the * list of included or excluded Amazon Web Services Regions. However, you can't use this operation to change the * home Region. *

*

* You can invoke this operation from the current home Region only. *

*
*

* This is a convenience which creates an instance of the {@link UpdateFindingAggregatorRequest.Builder} avoiding * the need to create one manually via {@link UpdateFindingAggregatorRequest#builder()} *

* * @param updateFindingAggregatorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.UpdateFindingAggregatorRequest.Builder} to create * a request. * @return A Java Future containing the result of the UpdateFindingAggregator operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.UpdateFindingAggregator * @see AWS API Documentation */ default CompletableFuture updateFindingAggregator( Consumer updateFindingAggregatorRequest) { return updateFindingAggregator(UpdateFindingAggregatorRequest.builder().applyMutation(updateFindingAggregatorRequest) .build()); } /** *

* UpdateFindings is a deprecated operation. Instead of UpdateFindings, use the * BatchUpdateFindings operation. *

*

* The UpdateFindings operation updates the Note and RecordState of the * Security Hub aggregated findings that the filter attributes specify. Any member account that can view the finding * can also see the update to the finding. *

*

* Finding updates made with UpdateFindings aren't persisted if the same finding is later updated by * the finding provider through the BatchImportFindings operation. In addition, Security Hub doesn't * record updates made with UpdateFindings in the finding history. *

* * @param updateFindingsRequest * @return A Java Future containing the result of the UpdateFindings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.UpdateFindings * @see AWS * API Documentation */ default CompletableFuture updateFindings(UpdateFindingsRequest updateFindingsRequest) { throw new UnsupportedOperationException(); } /** *

* UpdateFindings is a deprecated operation. Instead of UpdateFindings, use the * BatchUpdateFindings operation. *

*

* The UpdateFindings operation updates the Note and RecordState of the * Security Hub aggregated findings that the filter attributes specify. Any member account that can view the finding * can also see the update to the finding. *

*

* Finding updates made with UpdateFindings aren't persisted if the same finding is later updated by * the finding provider through the BatchImportFindings operation. In addition, Security Hub doesn't * record updates made with UpdateFindings in the finding history. *

*
*

* This is a convenience which creates an instance of the {@link UpdateFindingsRequest.Builder} avoiding the need to * create one manually via {@link UpdateFindingsRequest#builder()} *

* * @param updateFindingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.UpdateFindingsRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateFindings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.UpdateFindings * @see AWS * API Documentation */ default CompletableFuture updateFindings(Consumer updateFindingsRequest) { return updateFindings(UpdateFindingsRequest.builder().applyMutation(updateFindingsRequest).build()); } /** *

* Updates the Security Hub insight identified by the specified insight ARN. *

* * @param updateInsightRequest * @return A Java Future containing the result of the UpdateInsight operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.UpdateInsight * @see AWS API * Documentation */ default CompletableFuture updateInsight(UpdateInsightRequest updateInsightRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the Security Hub insight identified by the specified insight ARN. *

*
*

* This is a convenience which creates an instance of the {@link UpdateInsightRequest.Builder} avoiding the need to * create one manually via {@link UpdateInsightRequest#builder()} *

* * @param updateInsightRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.UpdateInsightRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateInsight operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.UpdateInsight * @see AWS API * Documentation */ default CompletableFuture updateInsight(Consumer updateInsightRequest) { return updateInsight(UpdateInsightRequest.builder().applyMutation(updateInsightRequest).build()); } /** *

* Updates the configuration of your organization in Security Hub. Only the Security Hub administrator account can * invoke this operation. *

* * @param updateOrganizationConfigurationRequest * @return A Java Future containing the result of the UpdateOrganizationConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • ResourceConflictException The resource specified in the request conflicts with an existing resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.UpdateOrganizationConfiguration * @see AWS API Documentation */ default CompletableFuture updateOrganizationConfiguration( UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the configuration of your organization in Security Hub. Only the Security Hub administrator account can * invoke this operation. *

*
*

* This is a convenience which creates an instance of the {@link UpdateOrganizationConfigurationRequest.Builder} * avoiding the need to create one manually via {@link UpdateOrganizationConfigurationRequest#builder()} *

* * @param updateOrganizationConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.UpdateOrganizationConfigurationRequest.Builder} * to create a request. * @return A Java Future containing the result of the UpdateOrganizationConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • ResourceConflictException The resource specified in the request conflicts with an existing resource.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.UpdateOrganizationConfiguration * @see AWS API Documentation */ default CompletableFuture updateOrganizationConfiguration( Consumer updateOrganizationConfigurationRequest) { return updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest.builder() .applyMutation(updateOrganizationConfigurationRequest).build()); } /** *

* Updates the properties of a security control. *

* * @param updateSecurityControlRequest * @return A Java Future containing the result of the UpdateSecurityControl operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • ResourceInUseException The request was rejected because it conflicts with the resource's * availability. For example, you tried to update a security control that's currently in the * UPDATING state.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • ResourceInUseException The request was rejected because it conflicts with the resource's * availability. For example, you tried to update a security control that's currently in the * UPDATING state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.UpdateSecurityControl * @see AWS API Documentation */ default CompletableFuture updateSecurityControl( UpdateSecurityControlRequest updateSecurityControlRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the properties of a security control. *

*
*

* This is a convenience which creates an instance of the {@link UpdateSecurityControlRequest.Builder} avoiding the * need to create one manually via {@link UpdateSecurityControlRequest#builder()} *

* * @param updateSecurityControlRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.UpdateSecurityControlRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateSecurityControl operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • ResourceInUseException The request was rejected because it conflicts with the resource's * availability. For example, you tried to update a security control that's currently in the * UPDATING state.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • ResourceInUseException The request was rejected because it conflicts with the resource's * availability. For example, you tried to update a security control that's currently in the * UPDATING state.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.UpdateSecurityControl * @see AWS API Documentation */ default CompletableFuture updateSecurityControl( Consumer updateSecurityControlRequest) { return updateSecurityControl(UpdateSecurityControlRequest.builder().applyMutation(updateSecurityControlRequest).build()); } /** *

* Updates configuration options for Security Hub. *

* * @param updateSecurityHubConfigurationRequest * @return A Java Future containing the result of the UpdateSecurityHubConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.UpdateSecurityHubConfiguration * @see AWS API Documentation */ default CompletableFuture updateSecurityHubConfiguration( UpdateSecurityHubConfigurationRequest updateSecurityHubConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Updates configuration options for Security Hub. *

*
*

* This is a convenience which creates an instance of the {@link UpdateSecurityHubConfigurationRequest.Builder} * avoiding the need to create one manually via {@link UpdateSecurityHubConfigurationRequest#builder()} *

* * @param updateSecurityHubConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.UpdateSecurityHubConfigurationRequest.Builder} to * create a request. * @return A Java Future containing the result of the UpdateSecurityHubConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • LimitExceededException The request was rejected because it attempted to create resources beyond the * current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.UpdateSecurityHubConfiguration * @see AWS API Documentation */ default CompletableFuture updateSecurityHubConfiguration( Consumer updateSecurityHubConfigurationRequest) { return updateSecurityHubConfiguration(UpdateSecurityHubConfigurationRequest.builder() .applyMutation(updateSecurityHubConfigurationRequest).build()); } /** *

* Used to control whether an individual security standard control is enabled or disabled. *

* * @param updateStandardsControlRequest * @return A Java Future containing the result of the UpdateStandardsControl operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.UpdateStandardsControl * @see AWS API Documentation */ default CompletableFuture updateStandardsControl( UpdateStandardsControlRequest updateStandardsControlRequest) { throw new UnsupportedOperationException(); } /** *

* Used to control whether an individual security standard control is enabled or disabled. *

*
*

* This is a convenience which creates an instance of the {@link UpdateStandardsControlRequest.Builder} avoiding the * need to create one manually via {@link UpdateStandardsControlRequest#builder()} *

* * @param updateStandardsControlRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.securityhub.model.UpdateStandardsControlRequest.Builder} to create * a request. * @return A Java Future containing the result of the UpdateStandardsControl operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException Internal server error.
  • *
  • InvalidInputException The request was rejected because you supplied an invalid or out-of-range value * for an input parameter.
  • *
  • InvalidAccessException The account doesn't have permission to perform this action.
  • *
  • ResourceNotFoundException The request was rejected because we can't find the specified resource.
  • *
  • AccessDeniedException You don't have permission to perform the action specified in the request.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • SecurityHubException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample SecurityHubAsyncClient.UpdateStandardsControl * @see AWS API Documentation */ default CompletableFuture updateStandardsControl( Consumer updateStandardsControlRequest) { return updateStandardsControl(UpdateStandardsControlRequest.builder().applyMutation(updateStandardsControlRequest) .build()); } @Override default SecurityHubServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } /** * Create a {@link SecurityHubAsyncClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static SecurityHubAsyncClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link SecurityHubAsyncClient}. */ static SecurityHubAsyncClientBuilder builder() { return new DefaultSecurityHubAsyncClientBuilder(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy