o
    2&ßa~'  ã                   @   sX  d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 ddlmZ ddlmZ dd	lmZ dd
lmZ ddlmZ dd
lmZ ddlmZ dd
lmZ ddlmZ dd
lmZ  dd
l!mZ" ddl#m$Z$ ddl%m&Z& ddl'm(Z( ddl)m*Z* ddl+m,Z, ddl-m.Z. ddl-m/Z/ ddl0m1Z1 ddl2m3Z3 ddl4m5Z5 ddl6m7Z7 ddl8m9Z9 ddl:m;Z; ddl<m=Z= ddl>m?Z? ddl@mAZA ddlBmCZC dd
lDmZE dd
lFmZG dd
lHmZI ddlJmKZK dd lLmMZM dd!lNmOZO dd"lPmQZQ dd#lRmSZS dd$lRmTZT dd%lUmVZV dd&lWmXZX dd'lYmZZZ dd
l[mZ\ dd(l]m^Z^ dd)l_m`Z` dd*lambZb dd+lcmdZd dd,lcmeZe dd-lfmgZg dd.lhmiZi dd/ljmkZk dd0llmmZm dd1lnmoZo dd2lpmqZq dd3lrmsZs dd4ltmuZu dd5lvmwZw dd6lxmyZy dd7lzm{Z{ dd8l|m}Z} dd9l~mZ dd:l€m�Z� dd;l‚mƒZƒ dd<l„m…Z… dd=l†m‡Z‡ dd>lˆm‰Z‰ dd?lŠm‹Z‹ d@dA„ ZŒdBS )Cz†Builtin CLI extensions.

This is a collection of built in CLI extensions that can be automatically
registered with the event system.

é    )ÚParamShorthandParser)Úregister_uri_param_handler)Údatapipeline)Úadd_examples)Úregister_arg_renames)Úregister_assume_role_provider)Úregister_lambda_create_function)Úregister_cli_input_json)Ú
initialize)Úregister)Úregister_cloudsearchdomain)Úregister_codeartifact_commands)Úregister_get_status)Ú*register_modify_put_configuration_recorder)Úregister_rename_config)Úregister_subscribe)Úregister_configure_cmd)Úregister_history_mode)Úregister_history_commands)Úregister_count_events)Úregister_bundleinstance)Úec2_add_priv_launch_key)Úregister_protocol_args)Úregister_runinstances)Úregister_secgroup)Úregister_ec2_page_size_injector)Úregister_ecr_commands)Úregister_ecr_public_commands)Úemr_initialize)Úregister_gamelift_commands)Úregister_generate_cli_skeleton)Úregister_parse_global_args)ÚIAMVMFAWrapper)Ú'register_create_keys_and_cert_arguments)Ú'register_create_keys_from_csr_arguments)Úregister_custom_endpoint_note)Ú"register_fix_kms_create_grant_docs)Údlm_initialize)Úregister_pagination)Úregister_preview_commands)Úregister_put_metric_data)Úregister_rds_modify_split)Ú#register_add_generate_db_auth_token)Ú"register_rekognition_detect_labels)Úregister_removals)Ú#register_create_hosted_zone_doc_fix)Ús3_plugin_initialize)Úregister_s3_error_msg)Úregister_scalar_parser)Úregister_ses_send_email)Úadd_streaming_output_arg)Ú%register_translate_import_terminology)Úregister_bool_params)Úregister_add_waiters)Úregister_alias_opsworks_cm)Úregister_alias_mturk_command)Ú(register_alias_sagemaker_runtime_command)Ú register_servicecatalog_commands)Úregister_event_stream_arg)Úregister_ssm_session)Úregister_sms_voice_hide)Úregister_dynamodb_paginator_fixc                 C   sX  |   dt¡ tƒ }|   d|¡ t| ƒ |   dt¡ t| ƒ |   dt¡ t| ƒ |   dt¡ t	| ƒ t
| ƒ t| ƒ t| ƒ t| ƒ t| ƒ t| ƒ t| ƒ t| ƒ t| ƒ t| ƒ t| ƒ t| ƒ t| ƒ t| ƒ t| ƒ t| ƒ t| ƒ t| ƒ t| ƒ t| ƒ t | ¡ t | ƒ t!| ƒ t"| ƒ t#| ƒ t$| ƒ t%| ƒ t&| ƒ t'| ƒ t(| ƒ t)| ƒ t*| ƒ t+| ƒ t,| ƒ t-| ƒ t.| ƒ t/| ƒ t0| ƒ t1| ƒ t2| ƒ t3| ƒ t4| ƒ t5| ƒ |   dt6¡ |   dt7¡ t8| ƒ t9| ƒ t:| ƒ t;| ƒ t<| ƒ t=| ƒ t>| ƒ t?| ƒ t@| ƒ tA| ƒ tB| ƒ tC| ƒ tD| ƒ tE| ƒ tF| ƒ tG| ƒ d S )Nzsession-initializedzprocess-cli-argzdoc-examples.*.*zbuilding-argument-table.*z-building-argument-table.ec2.get-password-dataz7building-argument-table.iot.create-keys-and-certificatez7building-argument-table.iot.create-certificate-from-csr)Hr   r   r   r1   r   r	   r4   r   r   r!   r(   r   r   r0   r   r.   r)   r+   r-   r,   r*   r3   r"   r   r   Úcloudtrail_initr   r   r6   r   r   Úregister_customizationsÚcloudsearch_initr   Úemrcontainers_initializeÚeks_initializeÚecs_initializer   r    r   r7   Úcodedeploy_initr   r   r   r2   Úopsworks_initr   r&   r/   r   r   Úcodecommit_initr%   r#   r$   Úregister_cloudfrontr   r   Úcloudformation_initr8   r9   r:   r;   r5   r   r   r<   r'   r=   r>   r?   )Úevent_handlersÚparam_shorthand© rM   ú1/usr/lib/python3/dist-packages/awscli/handlers.pyÚawscli_initialize`   s¦   
ÿÿÿ
þþrO   N)�Ú__doc__Úawscli.argprocessr   Úawscli.paramfiler   Úawscli.customizationsr   Ú!awscli.customizations.addexamplesr   Úawscli.customizations.argrenamer   Ú awscli.customizations.assumeroler   Úawscli.customizations.awslambdar   Ú"awscli.customizations.cliinputjsonr	   Ú$awscli.customizations.cloudformationr
   rJ   Ú awscli.customizations.cloudfrontr   rI   Ú!awscli.customizations.cloudsearchrB   Ú'awscli.customizations.cloudsearchdomainr   Ú awscli.customizations.cloudtrailr@   Ú"awscli.customizations.codeartifactr   Ú awscli.customizations.codecommitrH   Ú+awscli.customizations.codedeploy.codedeployrF   Ú-awscli.customizations.configservice.getstatusr   Ú<awscli.customizations.configservice.putconfigurationrecorderr   Ú.awscli.customizations.configservice.rename_cmdr   Ú-awscli.customizations.configservice.subscriber   Ú)awscli.customizations.configure.configurer   Úawscli.customizations.historyr   r   Ú"awscli.customizations.ec2.addcountr   Ú(awscli.customizations.ec2.bundleinstancer   Ú)awscli.customizations.ec2.decryptpasswordr   Ú%awscli.customizations.ec2.protocolargr   Ú&awscli.customizations.ec2.runinstancesr   Ú*awscli.customizations.ec2.secgroupsimplifyr   Ú"awscli.customizations.ec2.paginater   Úawscli.customizations.ecrr   Ú awscli.customizations.ecr_publicr   Úawscli.customizations.emr.emrr   Ú#awscli.customizations.emrcontainersrC   Úawscli.customizations.eksrD   Úawscli.customizations.ecsrE   Úawscli.customizations.gameliftr   Ú)awscli.customizations.generatecliskeletonr    Ú awscli.customizations.globalargsr!   Ú awscli.customizations.iamvirtmfar"   Úawscli.customizations.iotr#   r$   Úawscli.customizations.iot_datar%   Úawscli.customizations.kmsr&   Úawscli.customizations.dlm.dlmr'   Úawscli.customizations.opsworksrG   Úawscli.customizations.paginater(   Úawscli.customizations.previewr)   Ú#awscli.customizations.putmetricdatar*   Úawscli.customizations.rdsr+   r,   Ú!awscli.customizations.rekognitionr-   Úawscli.customizations.removalsr.   Úawscli.customizations.route53r/   Úawscli.customizations.s3.s3r0   Ú awscli.customizations.s3errormsgr1   Ú!awscli.customizations.scalarparser2   Ú"awscli.customizations.sessendemailr3   Ú(awscli.customizations.streamingoutputargr4   Úawscli.customizations.translater5   Ú"awscli.customizations.toplevelboolr6   Úawscli.customizations.waitersr7   Ú awscli.customizations.opsworkscmr8   Úawscli.customizations.mturkr9   Úawscli.customizations.sagemakerr:   Ú$awscli.customizations.servicecatalogr;   Úawscli.customizations.s3eventsr<   Ú$awscli.customizations.sessionmanagerr=   Úawscli.customizations.sms_voicer>   Úawscli.customizations.dynamodbr?   rO   rM   rM   rM   rN   Ú<module>   s�   