Skip to content

PutTargetsResultEntry

Source code in docs_src/capo_cloudwatch_events/types/put_targets_result_entry.py
class PutTargetsResultEntry(TypedDict, closed=True):
    target_id: NotRequired["capo_cloudwatch_events.types.target_id.TargetId"]
    """<p>The ID of the target.</p>"""
    error_code: NotRequired["capo_cloudwatch_events.types.error_code.ErrorCode"]
    """<p>The error code that indicates why the target addition failed. If the value is <code>ConcurrentModificationException</code>, too many requests were made at the same time.</p>"""
    error_message: NotRequired[
        "capo_cloudwatch_events.types.error_message.ErrorMessage"
    ]
    """<p>The error message that explains why the target addition failed.</p>"""

error_code instance-attribute

error_code: NotRequired[ErrorCode]

The error code that indicates why the target addition failed. If the value is ConcurrentModificationException, too many requests were made at the same time.

error_message instance-attribute

error_message: NotRequired[ErrorMessage]

The error message that explains why the target addition failed.

target_id instance-attribute

target_id: NotRequired[TargetId]

The ID of the target.