o
    Ü!dx  ã                   @   s   d Z dd„ Zdd„ ZdS )zÑ
This customization allows the user to specify the values "tcp", "udp",
or "icmp" as values for the --protocol parameter.  The actual Protocol
parameter of the operation accepts only integer protocol numbers.
c                 K   st   d}|| v r6| | dkrd| |< d S | | dkrd| |< d S | | dkr*d| |< d S | | dkr8d	| |< d S d S d S )
NÚProtocolZtcpÚ6ZudpZ17ZicmpÚ1Úallz-1© )ÚparamsÚkwargsZkey_namer   r   úIusr/lib/python3.10/site-packages/awscli/customizations/ec2/protocolarg.pyÚ	_fix_args   s   ør	   c                 C   s   |   dt¡ |   dt¡ d S )Nz0before-parameter-build.ec2.CreateNetworkAclEntryz1before-parameter-build.ec2.ReplaceNetworkAclEntry)Úregisterr	   )Úclir   r   r   Úregister_protocol_args!   s   ÿÿr   N)Ú__doc__r	   r   r   r   r   r   Ú<module>   s   