AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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.
For .NET Core this operation is only available in asynchronous form. Please refer to DeleteFindingAggregatorAsync.
Namespace: Amazon.SecurityHub
Assembly: AWSSDK.SecurityHub.dll
Version: 3.x.y.z
public abstract DeleteFindingAggregatorResponse DeleteFindingAggregator( DeleteFindingAggregatorRequest request )
Container for the necessary parameters to execute the DeleteFindingAggregator service method.
Exception | Condition |
---|---|
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. |
The following example deletes a finding aggregator in Security Hub. Deleting the finding aggregator stops cross-Region aggregation. This operation produces no output.
var client = new AmazonSecurityHubClient(); var response = client.DeleteFindingAggregator(new DeleteFindingAggregatorRequest { FindingAggregatorArn = "arn:aws:securityhub:us-east-1:123456789012:finding-aggregator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" });
.NET Framework:
Supported in: 4.5 and newer, 3.5