Skip to content

DescribeEventSourceResponse

Source code in docs_src/capo_eventbridgev2/types/describe_event_source_response.py
class DescribeEventSourceResponse(TypedDict, closed=True):
    event_source_arn: NotRequired[
        "capo_eventbridgev2.types.event_source_arn.EventSourceArn"
    ]
    """<p>EventSource ARN: event-sourcev2/&lt;type&gt;/&lt;name&gt;/&lt;id&gt;. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events, webhook for webhook events) and is not part of the resource's name. The id segment is a 25-character identifier generated by the service.</p>"""
    name: NotRequired["capo_eventbridgev2.types.event_source_name.EventSourceName"]
    """<p>EventSource name. First character alphanumeric; the rest may add '.', '-', '_'. Names may not begin with the reserved "aws." prefix. The grammar matches the ARN local-name segment in EventSourceArn (event-sourcev2/&lt;type&gt;/&lt;name&gt;/&lt;id&gt;), mirroring EventBusName, so a name the ARN cannot represent cannot be created.</p>"""
    event_bus_arn: NotRequired["capo_eventbridgev2.types.event_bus_arn.EventBusArn"]
    """<p>The Amazon Resource Name (ARN) that uniquely identifies an event bus.</p>"""
    configuration: NotRequired[
        "capo_eventbridgev2.types.event_source_configuration.EventSourceConfiguration"
    ]
    """<p>Discriminated EventSource configuration. Exactly one variant must be set.</p>"""
    description: NotRequired["capo_eventbridgev2.types.description.Description"]
    """<p>Free-text description. Used by every resource type that has one: event buses, subscribers, and event sources.</p>"""
    state: NotRequired["capo_eventbridgev2.types.event_source_state.EventSourceState"]
    """<p>Lifecycle state of an EventSource. Revocation is reported by the Revoked flag.</p>"""
    revoked: NotRequired["bool"]
    """<p>True when the bus owner has withdrawn this EventSource. Present only when true, so an absent member means the EventSource is not revoked. Revocation is terminal: it never returns to false. Mutating operations on a revoked EventSource fail with InvalidStateException, except DeleteEventSource, which stays available so a revoked EventSource can still be cleaned up.</p>"""
    event_source_details: NotRequired[
        "capo_eventbridgev2.types.event_source_details.EventSourceDetails"
    ]
    """<p>Values EventBridge generated for this EventSource type, such as a webhook's URL and the ARN of its secret. Absent for EventSource types that have no generated values.</p>"""
    creation_time: NotRequired["capo_eventbridgev2.types.timestamp.Timestamp"]
    """<p>The time the EventSource was created.</p>"""
    last_modified_time: NotRequired["capo_eventbridgev2.types.timestamp.Timestamp"]
    """<p>The time the EventSource was last modified.</p>"""

configuration instance-attribute

configuration: NotRequired[EventSourceConfiguration]

Discriminated EventSource configuration. Exactly one variant must be set.

creation_time instance-attribute

creation_time: NotRequired[Timestamp]

The time the EventSource was created.

description instance-attribute

description: NotRequired[Description]

Free-text description. Used by every resource type that has one: event buses, subscribers, and event sources.

event_bus_arn instance-attribute

event_bus_arn: NotRequired[EventBusArn]

The Amazon Resource Name (ARN) that uniquely identifies an event bus.

event_source_arn instance-attribute

event_source_arn: NotRequired[EventSourceArn]

EventSource ARN: event-sourcev2/<type>/<name>/<id>. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events, webhook for webhook events) and is not part of the resource's name. The id segment is a 25-character identifier generated by the service.

event_source_details instance-attribute

event_source_details: NotRequired[EventSourceDetails]

Values EventBridge generated for this EventSource type, such as a webhook's URL and the ARN of its secret. Absent for EventSource types that have no generated values.

last_modified_time instance-attribute

last_modified_time: NotRequired[Timestamp]

The time the EventSource was last modified.

name instance-attribute

name: NotRequired[EventSourceName]

EventSource name. First character alphanumeric; the rest may add '.', '-', '_'. Names may not begin with the reserved "aws." prefix. The grammar matches the ARN local-name segment in EventSourceArn (event-sourcev2/<type>/<name>/<id>), mirroring EventBusName, so a name the ARN cannot represent cannot be created.

revoked instance-attribute

revoked: NotRequired[bool]

True when the bus owner has withdrawn this EventSource. Present only when true, so an absent member means the EventSource is not revoked. Revocation is terminal: it never returns to false. Mutating operations on a revoked EventSource fail with InvalidStateException, except DeleteEventSource, which stays available so a revoked EventSource can still be cleaned up.

state instance-attribute

state: NotRequired[EventSourceState]

Lifecycle state of an EventSource. Revocation is reported by the Revoked flag.