Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
usr
/
lib
/
python2.7
/
site-packages
/
awscli
/
customizations
/
emr
/
File Content:
instancefleetsutils.pyc
� =��Xc @ s- d d l m Z d d l m Z d � Z d S( i����( t constants( t exceptionsc C s> g } x1| D])} i } | j � } d | k rB | d | d <n | d | d <| d | d <d | k r{ | d | d <n d | k r� | d | d <n d | k r� d | k r� x! | d D] } | j � } q� Wn | d | d <n d | k r)| d } i | d <d | k r)| d | d d <q)n | j | � q W| S( s� Helper method that converts --instance-fleets option value in create-cluster to Amazon Elastic MapReduce InstanceFleetConfig data type. t Namet InstanceFleetTypet TargetOnDemandCapacityt TargetSpotCapacityt InstanceTypeConfigst LaunchSpecificationst SpotSpecification( t keyst append( t parsed_instance_fleetst instance_fleetst instance_fleett instance_fleet_configR t instance_type_configt instance_type_config_keyst'