Current File : //lib/python2.7/site-packages/euca2ools/commands/monitoring/putmetricalarm.pyc
�
��Xc@sZddlmZddlmZddlmZddlmZdefd��YZdS(i����(tdelimited_list(tCloudWatchRequest(tcloudwatch_dimension(tArgtPutMetricAlarmcBseZdZeddddd�edddd	dJdedd�eddddedddedd�eddddddedd�eddddddedd�eddddddededd �ed!dd"ded	dKdd(�ed)dd*dd+dededd,�ed-dd.d	dLdd1�ed2dd3dd4ded5�dd6�ed7dd8dd9dd:�ed;d<dd=dd>ded5d?e�dd@�edAdd4ddBded5�ddC�edDddEdd4ded5�ddF�edGddHddI�gZ	RS(MsCreate or update an alarmt	AlarmNametmetavartALARMthelpsname of the alarm (required)s--comparison-operatortdesttComparisonOperatortchoicestGreaterThanOrEqualToThresholdtGreaterThanThresholdtLessThanThresholdtLessThanOrEqualToThresholdtrequiredsharithmetic operator with which the comparison with the
                threshold will be made (required)s--evaluation-periodstEvaluationPeriodsttypetCOUNTs�number of consecutive
                periods for which the value of the metric needs to be compared
                to the threshold (required)s
--metric-namet
MetricNametMETRICs1name for the alarm's associated metric (required)s--namespacet	Namespacet	NAMESPACEs6namespace for the alarm's associated metric (required)s--periodtPeriodtSECONDSsOperiod over which the specified
                statistic is applied (required)s--statistict	StatistictAveragetMaximumtMinimumtSampleCounttSums&statistic on which to alarm (required)s--thresholdt	ThresholdtFLOATs1value to compare the statistic against (required)s--actions-enabledtActionsEnabledttruetfalsesUwhether this alarm's actions
                should be executed when it changes states--alarm-actionssAlarmActions.members
ARN1,ARN2,...t,sZARNs of SNS topics to publish to when the alarm changes
                to the ALARM states--alarm-descriptiontAlarmDescriptiontDESCRIPTIONsdescription of the alarms-ds--dimensionssDimensions.membersKEY1=VALUE1,KEY2=VALUE2,...t	item_types,dimensions for the alarm's associated metrics--insufficient-data-actionssInsufficientDataActions.membersfARNs of SNS topics to publish
                to when the alarm changes to the INSUFFICIENT_DATA states--ok-actionssOKActions.membersWARNs of SNS topics to publish to when the alarm changes
                to the OK states--unittUnits&unit for the alarm's associated metric(RR
RR(RRRRR(R#R$(
t__name__t
__module__R'RtTruetinttfloatRRtARGS(((sP/usr/lib/python2.7/site-packages/euca2ools/commands/monitoring/putmetricalarm.pyR s`N(	teuca2ools.commands.argtypesRteuca2ools.commands.monitoringRt&euca2ools.commands.monitoring.argtypesRtrequestbuilderRR(((sP/usr/lib/python2.7/site-packages/euca2ools/commands/monitoring/putmetricalarm.pyt<module>s