Skip to content

CloudTrailClient.get_event_selectors

rboto-cloudtrail==0.4.0 · Service index · Types

Model summary (excerpt): Describes the settings for the event selectors that you configured for your trail. The information returned for your event selectors includes the following: If your event selector includes read-only events, write-only events, or all events. This applies to management events, data events, and network activity events. If your event selector includes management events. If your event selector...

Install and imports

python -m pip install "rboto[cloudtrail]==0.4.0"
from rboto import CloudTrailClient
from rboto_cloudtrail.types import (
    GetEventSelectorsOutput,
)

Signature

async def get_event_selectors(
    *,
    trail_name: str,
) -> GetEventSelectorsOutput: ...

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

Output

GetEventSelectorsOutput.

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 —
event_selectors list[EventSelectorOutput] | None Always present EventSelectorOutput
advanced_event_selectors list[AdvancedEventSelectorOutput] | None Always present AdvancedEventSelectorOutput

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

GetEventSelectorsOutput

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, InvalidTrailNameError, NoManagementAccountSLRExistsError, OperationNotPermittedError, TrailNotFoundError, UnsupportedOperationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model