Viewing File: /usr/lib/python2.7/site-packages/euca2ools/commands/monitoring/listmetrics.pyc

ó
¡ôXc@s}ddlmZddlmZddlmZddlmZddlm	Z	ddl
mZde	efd„ƒYZd	S(
iÿÿÿÿ(tArg(tTabifyingMixin(tPaginatedResponse(tdelimited_list(tCloudWatchRequest(tcloudwatch_dimensiontListMetricscBs°eZdZedddddddedd	eƒd
dƒedd
ddddd
dƒeddddddd
dƒgZddgZd„Zd„Z	d„Z
d„ZRS(s!Show a list of monitoring metricss-ds--dimensionstdestsDimensions.membertmetavarsKEY1=VALUE1,KEY2=VALUE2,...ttypet,t	item_typethelps1limit results to metrics with specific dimensionss-ms
--metric-namet
MetricNametMETRICs"limit results to a specific metrics-ns--namespacet	Namespacet	NAMESPACEs0limit results to metrics in a specific namespacetMetricst
DimensionscCst|ddƒS(NR(N(R(RtNone(tself((sM/usr/lib/python2.7/site-packages/euca2ools/commands/monitoring/listmetrics.pytmain/scCs||jd<dS(Nt	NextToken(tparams(Rtpage((sM/usr/lib/python2.7/site-packages/euca2ools/commands/monitoring/listmetrics.pytprepare_for_page2scCs|jdƒpdS(NR(tgetR(Rtresponse((sM/usr/lib/python2.7/site-packages/euca2ools/commands/monitoring/listmetrics.pyt
get_next_page6scCsg}xÞt|jdgƒƒD]Ä}t|jdgƒƒdkr»g|dD]*}dj|jdƒ|jdƒƒ^qN}|j|jdƒ|jdƒd	jd
j|ƒƒfƒq|j|jdƒ|jdƒdfƒqWx"t|ƒD]}|j|ƒGHqôWdS(NRRis{0}={1}tNametValueR
Rs{{{0}}}R
(tsortedRtlentformattappendtjoinRttabify(Rtresultt	out_linestmetrict	dimensiontformatted_dimstout_line((sM/usr/lib/python2.7/site-packages/euca2ools/commands/monitoring/listmetrics.pytprint_result:s8(t__name__t
__module__tDESCRIPTIONRRRtARGSt	LIST_TAGSRRRR+(((sM/usr/lib/python2.7/site-packages/euca2ools/commands/monitoring/listmetrics.pyR#s			N(
trequestbuilderRtrequestbuilder.mixinsRtrequestbuilder.responseRteuca2ools.commands.argtypesRteuca2ools.commands.monitoringRt&euca2ools.commands.monitoring.argtypesRR(((sM/usr/lib/python2.7/site-packages/euca2ools/commands/monitoring/listmetrics.pyt<module>s
Back to Directory File Manager