GetEventRuleDetailsResponse¶
- pydantic model openapi_client.models.get_event_rule_details_response.GetEventRuleDetailsResponse¶
EventBridge describe_rule payload with Arn, RoleArn, and CreatedBy removed. Type and Targets are added by the handler.
- field name: Optional[StrictStr] = None (alias 'Name')¶
EventBridge rule name.
- field state: Optional[StrictStr] = None (alias 'State')¶
EventBridge rule states.
- field description: Optional[StrictStr] = None (alias 'Description')¶
- field schedule_expression: Optional[StrictStr] = None (alias 'ScheduleExpression')¶
Present for scheduled rules.
- field schedule_expression_timezone: Optional[StrictStr] = None (alias 'ScheduleExpressionTimezone')¶
Timezone for ScheduleExpression when EventBridge returns it.
- field event_bus_name: Optional[StrictStr] = None (alias 'EventBusName')¶
- field event_pattern: Optional[StrictStr] = None (alias 'EventPattern')¶
Present for event-pattern rules (list endpoint omits these).
- field managed_by: Optional[StrictStr] = None (alias 'ManagedBy')¶
- field type: Optional[StrictStr] = None (alias 'Type')¶
Scheduled Standard when ScheduleExpression is set; otherwise Standard.
- field targets: Optional[List[EventRuleTarget]] = None (alias 'Targets')¶
Target Id objects from list_targets_by_rule.
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- classmethod from_json(json_str)¶
Create an instance of GetEventRuleDetailsResponse from a JSON string
- Return type:
Optional[Self]
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True):
None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- Return type:
Dict[str,Any]
- classmethod from_dict(obj)¶
Create an instance of GetEventRuleDetailsResponse from a dict
- Return type:
Optional[Self]