@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSSecurityHubClient extends AmazonWebServiceClient implements AWSSecurityHub
AWS Security Hub provides you with a comprehensive view of your security state in AWS and your compliance with the security industry standards and best practices. Security Hub collects security data from across AWS accounts, services, and supported third-party partners and helps you analyze your security trends and identify the highest priority security issues. For more information, see AWS Security Hub User Guide.
Important: AWS Security Hub is currently in Preview release.
| Modifier and Type | Field and Description |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
AcceptInvitationResult |
acceptInvitation(AcceptInvitationRequest request)
Accepts the invitation to be monitored by a Security Hub master account.
|
BatchDisableStandardsResult |
batchDisableStandards(BatchDisableStandardsRequest request)
Disables the standards specified by the standards subscription ARNs.
|
BatchEnableStandardsResult |
batchEnableStandards(BatchEnableStandardsRequest request)
Enables the standards specified by the standards ARNs.
|
BatchImportFindingsResult |
batchImportFindings(BatchImportFindingsRequest request)
Imports security findings generated from an integrated third-party product into Security Hub.
|
static AWSSecurityHubClientBuilder |
builder() |
CreateInsightResult |
createInsight(CreateInsightRequest request)
Creates an insight, which is a consolidation of findings that identifies a security area that requires attention
or intervention.
|
CreateMembersResult |
createMembers(CreateMembersRequest request)
Creates Security Hub member accounts associated with the account used for this action, which becomes the Security
Hub Master account.
|
DeclineInvitationsResult |
declineInvitations(DeclineInvitationsRequest request)
Declines invitations that are sent to this AWS account (invitee) from the AWS accounts (inviters) that are
specified by the provided
AccountIds. |
DeleteInsightResult |
deleteInsight(DeleteInsightRequest request)
Deletes the insight specified by the
InsightArn. |
DeleteInvitationsResult |
deleteInvitations(DeleteInvitationsRequest request)
Deletes invitations that were sent to theis AWS account (invitee) by the AWS accounts (inviters) that are
specified by their account IDs.
|
DeleteMembersResult |
deleteMembers(DeleteMembersRequest request)
Deletes the Security Hub member accounts that the account IDs specify.
|
DescribeProductsResult |
describeProducts(DescribeProductsRequest request)
Returns information about the products available that you can subscribe to.
|
DisableImportFindingsForProductResult |
disableImportFindingsForProduct(DisableImportFindingsForProductRequest request)
Cancels the subscription that allows a findings-generating solution (product) to import its findings into
Security Hub.
|
DisableSecurityHubResult |
disableSecurityHub(DisableSecurityHubRequest request)
Disables the Security Hub service.
|
DisassociateFromMasterAccountResult |
disassociateFromMasterAccount(DisassociateFromMasterAccountRequest request)
Disassociates the current Security Hub member account from its master account.
|
DisassociateMembersResult |
disassociateMembers(DisassociateMembersRequest request)
Disassociates the Security Hub member accounts that are specified by the account IDs from their master account.
|
EnableImportFindingsForProductResult |
enableImportFindingsForProduct(EnableImportFindingsForProductRequest request)
Sets up the subscription that enables a findings-generating solution (product) to import its findings into
Security Hub.
|
EnableSecurityHubResult |
enableSecurityHub(EnableSecurityHubRequest request)
Enables the Security Hub service.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
GetEnabledStandardsResult |
getEnabledStandards(GetEnabledStandardsRequest request)
Lists and describes enabled standards.
|
GetFindingsResult |
getFindings(GetFindingsRequest request)
Lists and describes Security Hub-aggregated findings that filter attributes specify.
|
GetInsightResultsResult |
getInsightResults(GetInsightResultsRequest request)
Lists the results of the Security Hub insight that the insight ARN specifies.
|
GetInsightsResult |
getInsights(GetInsightsRequest request)
Lists and describes insights that insight ARNs specify.
|
GetInvitationsCountResult |
getInvitationsCount(GetInvitationsCountRequest request)
Returns the count of all Security Hub membership invitations that were sent to the current member account, not
including the currently accepted invitation.
|
GetMasterAccountResult |
getMasterAccount(GetMasterAccountRequest request)
Provides the details for the Security Hub master account to the current member account.
|
GetMembersResult |
getMembers(GetMembersRequest request)
Returns the details on the Security Hub member accounts that the account IDs specify.
|
InviteMembersResult |
inviteMembers(InviteMembersRequest request)
Invites other AWS accounts to enable Security Hub and become Security Hub member accounts.
|
ListEnabledProductsForImportResult |
listEnabledProductsForImport(ListEnabledProductsForImportRequest request)
Lists all findings-generating solutions (products) whose findings you have subscribed to receive in Security Hub.
|
ListInvitationsResult |
listInvitations(ListInvitationsRequest request)
Lists all Security Hub membership invitations that were sent to the current AWS account.
|
ListMembersResult |
listMembers(ListMembersRequest request)
Lists details about all member accounts for the current Security Hub master account.
|
ListProductSubscribersResult |
listProductSubscribers(ListProductSubscribersRequest request)
Returns a list of account IDs that are subscribed to the product.
|
UpdateFindingsResult |
updateFindings(UpdateFindingsRequest request)
Updates the
Note and RecordState of the Security Hub-aggregated findings that the
filter attributes specify. |
UpdateInsightResult |
updateInsight(UpdateInsightRequest request)
Updates the Security Hub insight that the insight ARN specifies.
|
addRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, shutdown, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshutdownprotected static final ClientConfigurationFactory configFactory
public static AWSSecurityHubClientBuilder builder()
public AcceptInvitationResult acceptInvitation(AcceptInvitationRequest request)
Accepts the invitation to be monitored by a Security Hub master account.
acceptInvitation in interface AWSSecurityHubacceptInvitationRequest - 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 AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException - The request was rejected because we can't find the specified resource.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.public BatchDisableStandardsResult batchDisableStandards(BatchDisableStandardsRequest request)
Disables the standards specified by the standards subscription ARNs. In the context of Security Hub, supported standards (for example, CIS AWS Foundations) are automated and continuous checks that help determine your compliance status against security industry (including AWS) best practices.
batchDisableStandards in interface AWSSecurityHubbatchDisableStandardsRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because you supplied an invalid or out-of-range value for an input parameter.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.public BatchEnableStandardsResult batchEnableStandards(BatchEnableStandardsRequest request)
Enables the standards specified by the standards ARNs. In the context of Security Hub, supported standards (for example, CIS AWS Foundations) are automated and continuous checks that help determine your compliance status against security industry (including AWS) best practices.
batchEnableStandards in interface AWSSecurityHubbatchEnableStandardsRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because you supplied an invalid or out-of-range value for an input parameter.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.public BatchImportFindingsResult batchImportFindings(BatchImportFindingsRequest request)
Imports security findings generated from an integrated third-party product into Security Hub.
batchImportFindings in interface AWSSecurityHubbatchImportFindingsRequest - 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 AWS account limits.
The error code describes the limit exceeded.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.public CreateInsightResult createInsight(CreateInsightRequest request)
Creates an insight, which is a consolidation of findings that identifies a security area that requires attention or intervention.
createInsight in interface AWSSecurityHubcreateInsightRequest - 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 AWS account limits.
The error code describes the limit exceeded.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.ResourceConflictException - The resource specified in the request conflicts with an existing resource.public CreateMembersResult createMembers(CreateMembersRequest request)
Creates Security Hub member accounts associated with the account used for this action, which becomes the Security Hub Master account. Security Hub must be enabled in the account used to make this request.
createMembers in interface AWSSecurityHubcreateMembersRequest - 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 AWS account limits.
The error code describes the limit exceeded.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.ResourceConflictException - The resource specified in the request conflicts with an existing resource.public DeclineInvitationsResult declineInvitations(DeclineInvitationsRequest request)
Declines invitations that are sent to this AWS account (invitee) from the AWS accounts (inviters) that are
specified by the provided AccountIds.
declineInvitations in interface AWSSecurityHubdeclineInvitationsRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because you supplied an invalid or out-of-range value for an input parameter.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.ResourceNotFoundException - The request was rejected because we can't find the specified resource.public DeleteInsightResult deleteInsight(DeleteInsightRequest request)
Deletes the insight specified by the InsightArn.
deleteInsight in interface AWSSecurityHubdeleteInsightRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because you supplied an invalid or out-of-range value for an input parameter.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException - The request was rejected because we can't find the specified resource.public DeleteInvitationsResult deleteInvitations(DeleteInvitationsRequest request)
Deletes invitations that were sent to theis AWS account (invitee) by the AWS accounts (inviters) that are specified by their account IDs.
deleteInvitations in interface AWSSecurityHubdeleteInvitationsRequest - 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 AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException - The request was rejected because we can't find the specified resource.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.public DeleteMembersResult deleteMembers(DeleteMembersRequest request)
Deletes the Security Hub member accounts that the account IDs specify.
deleteMembers in interface AWSSecurityHubdeleteMembersRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because you supplied an invalid or out-of-range value for an input parameter.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException - The request was rejected because we can't find the specified resource.public DescribeProductsResult describeProducts(DescribeProductsRequest request)
Returns information about the products available that you can subscribe to.
describeProducts in interface AWSSecurityHubdescribeProductsRequest - InternalException - Internal server error.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.InvalidInputException - The request was rejected because you supplied an invalid or out-of-range value for an input parameter.public DisableImportFindingsForProductResult disableImportFindingsForProduct(DisableImportFindingsForProductRequest request)
Cancels the subscription that allows a findings-generating solution (product) to import its findings into Security Hub.
disableImportFindingsForProduct in interface AWSSecurityHubdisableImportFindingsForProductRequest - 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 - AWS Security Hub isn't enabled for the account used to make this request.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.public DisableSecurityHubResult disableSecurityHub(DisableSecurityHubRequest request)
Disables the Security Hub service.
disableSecurityHub in interface AWSSecurityHubdisableSecurityHubRequest - InternalException - Internal server error.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.ResourceNotFoundException - The request was rejected because we can't find the specified resource.public DisassociateFromMasterAccountResult disassociateFromMasterAccount(DisassociateFromMasterAccountRequest request)
Disassociates the current Security Hub member account from its master account.
disassociateFromMasterAccount in interface AWSSecurityHubdisassociateFromMasterAccountRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because you supplied an invalid or out-of-range value for an input parameter.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException - The request was rejected because we can't find the specified resource.public DisassociateMembersResult disassociateMembers(DisassociateMembersRequest request)
Disassociates the Security Hub member accounts that are specified by the account IDs from their master account.
disassociateMembers in interface AWSSecurityHubdisassociateMembersRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because you supplied an invalid or out-of-range value for an input parameter.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException - The request was rejected because we can't find the specified resource.public EnableImportFindingsForProductResult enableImportFindingsForProduct(EnableImportFindingsForProductRequest request)
Sets up the subscription that enables a findings-generating solution (product) to import its findings into Security Hub.
enableImportFindingsForProduct in interface AWSSecurityHubenableImportFindingsForProductRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because you supplied an invalid or out-of-range value for an input parameter.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.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 AWS account limits.
The error code describes the limit exceeded.public EnableSecurityHubResult enableSecurityHub(EnableSecurityHubRequest request)
Enables the Security Hub service.
enableSecurityHub in interface AWSSecurityHubenableSecurityHubRequest - InternalException - Internal server error.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.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.public GetEnabledStandardsResult getEnabledStandards(GetEnabledStandardsRequest request)
Lists and describes enabled standards.
getEnabledStandards in interface AWSSecurityHubgetEnabledStandardsRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because you supplied an invalid or out-of-range value for an input parameter.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.public GetFindingsResult getFindings(GetFindingsRequest request)
Lists and describes Security Hub-aggregated findings that filter attributes specify.
getFindings in interface AWSSecurityHubgetFindingsRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because you supplied an invalid or out-of-range value for an input parameter.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.public GetInsightResultsResult getInsightResults(GetInsightResultsRequest request)
Lists the results of the Security Hub insight that the insight ARN specifies.
getInsightResults in interface AWSSecurityHubgetInsightResultsRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because you supplied an invalid or out-of-range value for an input parameter.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException - The request was rejected because we can't find the specified resource.public GetInsightsResult getInsights(GetInsightsRequest request)
Lists and describes insights that insight ARNs specify.
getInsights in interface AWSSecurityHubgetInsightsRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because you supplied an invalid or out-of-range value for an input parameter.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException - The request was rejected because we can't find the specified resource.public GetInvitationsCountResult getInvitationsCount(GetInvitationsCountRequest request)
Returns the count of all Security Hub membership invitations that were sent to the current member account, not including the currently accepted invitation.
getInvitationsCount in interface AWSSecurityHubgetInvitationsCountRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because you supplied an invalid or out-of-range value for an input parameter.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.public GetMasterAccountResult getMasterAccount(GetMasterAccountRequest request)
Provides the details for the Security Hub master account to the current member account.
getMasterAccount in interface AWSSecurityHubgetMasterAccountRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because you supplied an invalid or out-of-range value for an input parameter.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException - The request was rejected because we can't find the specified resource.public GetMembersResult getMembers(GetMembersRequest request)
Returns the details on the Security Hub member accounts that the account IDs specify.
getMembers in interface AWSSecurityHubgetMembersRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because you supplied an invalid or out-of-range value for an input parameter.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException - The request was rejected because we can't find the specified resource.public InviteMembersResult inviteMembers(InviteMembersRequest request)
Invites other AWS accounts to enable Security Hub and become Security Hub member accounts. When an account accepts the invitation and becomes a member account, the master account can view Security Hub findings of the member account.
inviteMembers in interface AWSSecurityHubinviteMembersRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because you supplied an invalid or out-of-range value for an input parameter.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException - The request was rejected because we can't find the specified resource.public ListEnabledProductsForImportResult listEnabledProductsForImport(ListEnabledProductsForImportRequest request)
Lists all findings-generating solutions (products) whose findings you have subscribed to receive in Security Hub.
listEnabledProductsForImport in interface AWSSecurityHublistEnabledProductsForImportRequest - InternalException - Internal server error.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.public ListInvitationsResult listInvitations(ListInvitationsRequest request)
Lists all Security Hub membership invitations that were sent to the current AWS account.
listInvitations in interface AWSSecurityHublistInvitationsRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because you supplied an invalid or out-of-range value for an input parameter.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.public ListMembersResult listMembers(ListMembersRequest request)
Lists details about all member accounts for the current Security Hub master account.
listMembers in interface AWSSecurityHublistMembersRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because you supplied an invalid or out-of-range value for an input parameter.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.public ListProductSubscribersResult listProductSubscribers(ListProductSubscribersRequest request)
Returns a list of account IDs that are subscribed to the product.
listProductSubscribers in interface AWSSecurityHublistProductSubscribersRequest - ResourceNotFoundException - The request was rejected because we can't find the specified resource.InternalException - Internal server error.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.public UpdateFindingsResult updateFindings(UpdateFindingsRequest request)
Updates the Note and RecordState of the Security Hub-aggregated findings that the
filter attributes specify. Any member account that can view the finding also sees the update to the finding.
updateFindings in interface AWSSecurityHubupdateFindingsRequest - 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 AWS account limits.
The error code describes the limit exceeded.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.ResourceNotFoundException - The request was rejected because we can't find the specified resource.public UpdateInsightResult updateInsight(UpdateInsightRequest request)
Updates the Security Hub insight that the insight ARN specifies.
updateInsight in interface AWSSecurityHubupdateInsightRequest - InternalException - Internal server error.InvalidInputException - The request was rejected because you supplied an invalid or out-of-range value for an input parameter.InvalidAccessException - AWS Security Hub isn't enabled for the account used to make this request.LimitExceededException - The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException - The request was rejected because we can't find the specified resource.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AWSSecurityHubrequest - The originally executed requestCopyright © 2019. All rights reserved.