Skip to content

IntelligenceNotificationTargetEntry

Source code in docs_src/capo_cloudwatchomni/types/intelligence_notification_target_entry.py
class IntelligenceNotificationTargetEntry(TypedDict, closed=True):
    target_id: NotRequired["str"]
    """The identifier the service assigns to the entry when it is first saved. Omit it on a new entry. To keep an existing entry, echo its targetId and its target unchanged; its filter may change. An entry whose targetId is not stored on the configuration, or whose target differs from the stored target for that targetId, is rejected."""
    target: "capo_cloudwatchomni.types.intelligence_notification_target.IntelligenceNotificationTarget"
    """The destination."""
    filter: NotRequired[
        "capo_cloudwatchomni.types.intelligence_notification_filter.IntelligenceNotificationFilter"
    ]
    """The routing filter that selects which notifications reach this target. Optional. The filter sent with an entry replaces the stored one, and an entry sent without filter has no filter, so to keep an existing entry's filter, send it back with the entry. Unlike target, the filter of an existing entry may change, and a change to it is a change to notificationTargets."""

filter instance-attribute

filter: NotRequired[IntelligenceNotificationFilter]

The routing filter that selects which notifications reach this target. Optional. The filter sent with an entry replaces the stored one, and an entry sent without filter has no filter, so to keep an existing entry's filter, send it back with the entry. Unlike target, the filter of an existing entry may change, and a change to it is a change to notificationTargets.

target instance-attribute

The destination.

target_id instance-attribute

target_id: NotRequired[str]

The identifier the service assigns to the entry when it is first saved. Omit it on a new entry. To keep an existing entry, echo its targetId and its target unchanged; its filter may change. An entry whose targetId is not stored on the configuration, or whose target differs from the stored target for that targetId, is rejected.