def build_post_policy(self, expiration_time, conditions):
        assert type(expiration_time) == time.struct_time, \
            'Policy document must include a valid expiration Time object'

        # Convert conditions object mappings to condition statements

        return '{"expiration": "%s",\n"conditions": [%s]}' % \
            (time.strftime(boto.utils.ISO8601, expiration_time), ",".join(conditions))
Submit a point or series of *points* to the metric API, optionally specifying a *host*
dataset/ETHPy150Open darcyliu/storyboard/boto/s3/connection.py/S3Connection.build_post_policy--crossover with--dataset/ETHPy150Open DataDog/dogapi/src/dogapi/http/metrics.py/HttpMetricApi.metric