pub struct UpdateFindingAggregator<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateFindingAggregator
.
Updates the finding aggregation configuration. Used to update the Region linking mode and the list of included or excluded Regions. You cannot use UpdateFindingAggregator
to change the aggregation Region.
You must run UpdateFindingAggregator
from the current aggregation Region.
Implementations
impl<C, M, R> UpdateFindingAggregator<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateFindingAggregator<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateFindingAggregatorOutput, SdkError<UpdateFindingAggregatorError>> where
R::Policy: SmithyRetryPolicy<UpdateFindingAggregatorInputOperationOutputAlias, UpdateFindingAggregatorOutput, UpdateFindingAggregatorError, UpdateFindingAggregatorInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateFindingAggregatorOutput, SdkError<UpdateFindingAggregatorError>> where
R::Policy: SmithyRetryPolicy<UpdateFindingAggregatorInputOperationOutputAlias, UpdateFindingAggregatorOutput, UpdateFindingAggregatorError, UpdateFindingAggregatorInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The ARN of the finding aggregator. To obtain the ARN, use ListFindingAggregators
.
The ARN of the finding aggregator. To obtain the ARN, use ListFindingAggregators
.
Indicates whether to aggregate findings from all of the available Regions in the current partition. Also determines whether to automatically aggregate findings from new Regions as Security Hub supports them and you opt into them.
The selected option also determines how to use the Regions provided in the Regions list.
The options are as follows:
-
ALL_REGIONS
- Indicates to aggregate findings from all of the Regions where Security Hub is enabled. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. -
ALL_REGIONS_EXCEPT_SPECIFIED
- Indicates to aggregate findings from all of the Regions where Security Hub is enabled, except for the Regions listed in theRegions
parameter. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. -
SPECIFIED_REGIONS
- Indicates to aggregate findings only from the Regions listed in theRegions
parameter. Security Hub does not automatically aggregate findings from new Regions.
Indicates whether to aggregate findings from all of the available Regions in the current partition. Also determines whether to automatically aggregate findings from new Regions as Security Hub supports them and you opt into them.
The selected option also determines how to use the Regions provided in the Regions list.
The options are as follows:
-
ALL_REGIONS
- Indicates to aggregate findings from all of the Regions where Security Hub is enabled. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. -
ALL_REGIONS_EXCEPT_SPECIFIED
- Indicates to aggregate findings from all of the Regions where Security Hub is enabled, except for the Regions listed in theRegions
parameter. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. -
SPECIFIED_REGIONS
- Indicates to aggregate findings only from the Regions listed in theRegions
parameter. Security Hub does not automatically aggregate findings from new Regions.
Appends an item to Regions
.
To override the contents of this collection use set_regions
.
If RegionLinkingMode
is ALL_REGIONS_EXCEPT_SPECIFIED
, then this is a comma-separated list of Regions that do not aggregate findings to the aggregation Region.
If RegionLinkingMode
is SPECIFIED_REGIONS
, then this is a comma-separated list of Regions that do aggregate findings to the aggregation Region.
If RegionLinkingMode
is ALL_REGIONS_EXCEPT_SPECIFIED
, then this is a comma-separated list of Regions that do not aggregate findings to the aggregation Region.
If RegionLinkingMode
is SPECIFIED_REGIONS
, then this is a comma-separated list of Regions that do aggregate findings to the aggregation Region.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateFindingAggregator<C, M, R>
impl<C, M, R> Send for UpdateFindingAggregator<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateFindingAggregator<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateFindingAggregator<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateFindingAggregator<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more