CloudTrailClient.get_insight_selectors
rboto-cloudtrail==0.4.0 · Service index · Types
Model summary (excerpt): Describes the settings for the Insights event selectors that you configured for your trail or event data store. GetInsightSelectors shows if CloudTrail Insights logging is enabled and which Insights types are configured with corresponding event categories. If you run GetInsightSelectors on a trail or event data store that does not have Insights events enabled, the operation throws the...
Install and imports
from rboto import CloudTrailClient
from rboto_cloudtrail.types import (
GetInsightSelectorsOutput,
)
Signature
async def get_insight_selectors(
*,
trail_name: str | None = None,
event_data_store: str | None = None,
) -> GetInsightSelectorsOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
trail_name |
No | Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) Start with a letter or number, and end with a letter or number Be between 3 and 128 characters Have no adjacent periods, underscores or dashes. Names like my-_namespace and... |
event_data_store |
No | Specifies the ARN (or ID suffix of the ARN) of the event data store for which you want to get Insights selectors. You cannot use this parameter with the TrailName parameter. |
Output
GetInsightSelectorsOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
trail_arn |
str | None |
Always present | — |
insight_selectors |
list[InsightSelectorOutput] | None |
Always present | InsightSelectorOutput |
event_data_store_arn |
str | None |
Always present | — |
insights_destination |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_cloudtrail.exceptions:
CloudTrailARNInvalidError, InsightNotEnabledError, InvalidParameterCombinationError, InvalidParameterError, InvalidTrailNameError, NoManagementAccountSLRExistsError, OperationNotPermittedError, ThrottlingError, TrailNotFoundError, UnsupportedOperationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.