update_cloud_watch_alarm_template
¶
update_cloud_watch_alarm_template(
identifier: __string,
*,
config_overrides: Optional[MediaLiveClientConfig] = None,
comparison_operator: Optional[CloudWatchAlarmTemplateComparisonOperator] = None,
datapoints_to_alarm: Optional[__integerMin1] = None,
description: Optional[__stringMin0Max1024] = None,
evaluation_periods: Optional[__integerMin1] = None,
group_identifier: Optional[__stringPatternS] = None,
metric_name: Optional[__stringMax64] = None,
name: Optional[__stringMin1Max255PatternS] = None,
period: Optional[__integerMin10Max86400] = None,
statistic: Optional[CloudWatchAlarmTemplateStatistic] = None,
target_resource_type: Optional[CloudWatchAlarmTemplateTargetResourceType] = None,
threshold: Optional[__double] = None,
treat_missing_data: Optional[CloudWatchAlarmTemplateTreatMissingData] = None,
) -> UpdateCloudWatchAlarmTemplateResponse
Updates the specified cloudwatch alarm template.
Parameters:
-
datapoints_to_alarm(Optional[__integerMin1], default:None) –The number of datapoints within the evaluation period that must be breaching to trigger the alarm.
-
description(Optional[__stringMin0Max1024], default:None) –A resource's optional description.
-
evaluation_periods(Optional[__integerMin1], default:None) –The number of periods over which data is compared to the specified threshold.
-
group_identifier(Optional[__stringPatternS], default:None) –A cloudwatch alarm template group's identifier. Can be either be its id or current name.
-
identifier(__string) –A cloudwatch alarm template's identifier. Can be either be its id or current name.
-
metric_name(Optional[__stringMax64], default:None) –The name of the metric associated with the alarm. Must be compatible with targetResourceType.
-
name(Optional[__stringMin1Max255PatternS], default:None) –A resource's name. Names must be unique within the scope of a resource type in a specific region.
-
period(Optional[__integerMin10Max86400], default:None) –The period, in seconds, over which the specified statistic is applied.
-
threshold(Optional[__double], default:None) –The threshold value to compare with the specified statistic.
Raises:
-
BadRequestException–Placeholder documentation for BadRequestException
-
ConflictException–Placeholder documentation for ConflictException
-
ForbiddenException–Placeholder documentation for ForbiddenException
-
InternalServerErrorException–Placeholder documentation for InternalServerErrorException
-
NotFoundException–Placeholder documentation for NotFoundException
-
TooManyRequestsException–Placeholder documentation for TooManyRequestsException
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_medialive/_services/media_live.py
7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 | |