Submit
Path:
~
/
/
lib
/
python2.7
/
site-packages
/
awscli
/
customizations
/
File Content:
preview.pyc
� =��Xc @ s� d Z d d l Z d d l Z d d l Z e j e � Z d d g Z d � Z d � Z d � Z d � Z d e f d � � YZ d S( s: This module enables the preview-mode customization. If a service is marked as being in preview mode, then any attempts to call operations on that service will print a message pointing the user to alternate solutions. A user can still access this service by enabling the service in their config file via: [preview] servicename=true or by running: aws configure set preview.servicename true Also any service that is marked as being in preview will *not* be listed in the help docs, unless the service has been enabled in the config file as shown above. i����Nt cloudfrontt sdbc C s | j d t � d S( Ns building-command-table.main( t registert mark_as_preview( t events( ( s= /tmp/pip-build-uEGWVr/awscli/awscli/customizations/preview.pyt register_preview_commands. s c K s� t | � } x� t D]� } t } | | k rD t j d | � t } n | | } t d t | j f i � } | d | j d | d | j j d | � | | <| j d � j d | t � q Wd S( Ns/ Preview service enabled through config file: %st PreviewCommandt cli_namet sessiont service_namet is_enabledt event_emitters doc-description.%s( t _get_allowed_servicest PREVIEW_SERVICESt Falset loggert debugt Truet typet PreviewModeCommandMixint __class__t namet service_modelR t get_componentt register_lastt update_description_with_preview( t command_tableR t kwargst allowed_servicest preview_serviceR t original_commandt preview_cls( ( s= /tmp/pip-build-uEGWVr/awscli/awscli/customizations/preview.pyR 2 s&