MediaLive / Client / create_cloud_watch_alarm_template_group

create_cloud_watch_alarm_template_group#

MediaLive.Client.create_cloud_watch_alarm_template_group(**kwargs)#

Creates a cloudwatch alarm template group to group your cloudwatch alarm templates and to attach to signal maps for dynamically creating alarms.

See also: AWS API Documentation

Request Syntax

response = client.create_cloud_watch_alarm_template_group(
    Description='string',
    Name='string',
    Tags={
        'string': 'string'
    }
)
Parameters:
  • Description (string) – A resource’s optional description.

  • Name (string) – [REQUIRED] 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

Return type:

dict

Returns:

Response Syntax

{
    'Arn': 'string',
    'CreatedAt': datetime(2015, 1, 1),
    'Description': 'string',
    'Id': 'string',
    'ModifiedAt': datetime(2015, 1, 1),
    'Name': 'string',
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) – CreateCloudWatchAlarmTemplateGroup 201 response

    • Arn (string) – A cloudwatch alarm template group’s ARN (Amazon Resource Name)

    • CreatedAt (datetime) – Placeholder documentation for __timestampIso8601

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

    • Id (string) – A cloudwatch alarm template group’s id. AWS provided template groups 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.BadRequestException

  • MediaLive.Client.exceptions.InternalServerErrorException

  • MediaLive.Client.exceptions.ForbiddenException

  • MediaLive.Client.exceptions.NotFoundException

  • MediaLive.Client.exceptions.TooManyRequestsException

  • MediaLive.Client.exceptions.ConflictException