Viewing File: /usr/lib/python2.7/site-packages/euca2ools/commands/s3/postobject.pyo
ó
¡ôXc @ s d d l Z d d l Z d d l Z d d l m Z m Z d d l m Z d d l Z d d l m
Z
d d l m Z d e f d „ ƒ YZ
d S( iÿÿÿÿN( t Argt MutuallyExclusiveArgList( t
ArgumentError( t b64encoded_file_contents( t S3Requestt
PostObjectc B sU e Z d Z d. Z e d d d d d. d d ƒe d d d d d. d d ƒe e d
d d d d d
e j d d ƒe d d d d d d
e d d ƒƒ j
ƒ e d d d d e d d ƒe d d d d d e d d d d ƒe d d d d e j
d e j
ƒe d d e j
d d/ d d' ƒe d( d d) d e j
d d* ƒg Z d+ Z d, „ Z d- „ Z RS(0 så Upload an object to the server using an upload policy
Note that uploading a large file to a region other than the one the bucket is may result in "Broken pipe" errors or other connection problems that this program cannot detect.t sourcet metavart FILEt route_tot helps file to upload (required)t dests
BUCKET/KEYs6 bucket and key name to upload the object to (required)s --policyt Policyt POLICYt types&