MediaLive / Client / get_event_bridge_rule_template

get_event_bridge_rule_template#

MediaLive.Client.get_event_bridge_rule_template(**kwargs)#

Retrieves the specified eventbridge rule template.

See also: AWS API Documentation

Request Syntax

response = client.get_event_bridge_rule_template(
    Identifier='string'
)
Parameters:

Identifier (string) – [REQUIRED] An eventbridge rule template’s identifier. Can be either be its id or current name.

Return type:

dict

Returns:

Response Syntax

{
    'Arn': 'string',
    'CreatedAt': datetime(2015, 1, 1),
    'Description': 'string',
    'EventTargets': [
        {
            'Arn': 'string'
        },
    ],
    'EventType': 'MEDIALIVE_MULTIPLEX_ALERT'|'MEDIALIVE_MULTIPLEX_STATE_CHANGE'|'MEDIALIVE_CHANNEL_ALERT'|'MEDIALIVE_CHANNEL_INPUT_CHANGE'|'MEDIALIVE_CHANNEL_STATE_CHANGE'|'MEDIAPACKAGE_INPUT_NOTIFICATION'|'MEDIAPACKAGE_KEY_PROVIDER_NOTIFICATION'|'MEDIAPACKAGE_HARVEST_JOB_NOTIFICATION'|'SIGNAL_MAP_ACTIVE_ALARM'|'MEDIACONNECT_ALERT'|'MEDIACONNECT_SOURCE_HEALTH'|'MEDIACONNECT_OUTPUT_HEALTH'|'MEDIACONNECT_FLOW_STATUS_CHANGE',
    'GroupId': 'string',
    'Id': 'string',
    'ModifiedAt': datetime(2015, 1, 1),
    'Name': 'string',
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) – GetEventBridgeRuleTemplate 200 response

    • Arn (string) – An eventbridge rule template’s ARN (Amazon Resource Name)

    • CreatedAt (datetime) – Placeholder documentation for __timestampIso8601

    • Description (string) – A resource’s optional description.

    • EventTargets (list) – Placeholder documentation for __listOfEventBridgeRuleTemplateTarget

      • (dict) – The target to which to send matching events.

        • Arn (string) – Target ARNs must be either an SNS topic or CloudWatch log group.

    • EventType (string) – The type of event to match with the rule.

    • GroupId (string) – An eventbridge rule template group’s id. AWS provided template groups have ids that start with aws-

    • Id (string) – An eventbridge rule template’s id. AWS provided templates have ids that start with aws-

    • ModifiedAt (datetime) – Placeholder documentation for __timestampIso8601

    • Name (string) – A resource’s name. Names must be unique within the scope of a resource type in a specific region.

    • Tags (dict) – Represents the tags associated with a resource.

      • (string) – Placeholder documentation for __string

        • (string) – Placeholder documentation for __string

Exceptions

  • MediaLive.Client.exceptions.NotFoundException

  • MediaLive.Client.exceptions.TooManyRequestsException

  • MediaLive.Client.exceptions.BadRequestException

  • MediaLive.Client.exceptions.InternalServerErrorException

  • MediaLive.Client.exceptions.ForbiddenException