HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/awscli/customizations/__pycache__/iot.cpython-36.opt-1.pyc
3

�T__	�@s$dZddlmZdd�Zdd�ZdS)a�
This customization makes it easier to save various pieces of data
returned from iot commands that would typically need to be saved to a
file. This customization adds the following options:

- aws iot create-certificate-from-csr
  - ``--certificate-pem-outfile``: certificatePem
- aws iot create-keys-and-certificate
  - ``--certificate-pem-outfile``: certificatePem
  - ``--public-key-outfile``: keyPair.PublicKey
  - ``--private-key-outfile``: keyPair.PrivateKey
�)�QueryOutFileArgumentcKsJd}t|dd|dd�|d<t|dd|dd�|d<t|dd	|dd�|d<d
S)z�Add outfile save arguments to create-keys-and-certificate

    - ``--certificate-pem-outfile``
    - ``--public-key-outfile``
    - ``--private-key-outfile``
    z'after-call.iot.CreateKeysAndCertificatezcertificate-pem-outfile�certificatePemi�)�session�name�query�after_call_event�permzpublic-key-outfilezkeyPair.PublicKeyzprivate-key-outfilezkeyPair.PrivateKeyN)r)r�argument_table�kwargsZafter_event�r�/usr/lib/python3.6/iot.py�'register_create_keys_and_cert_argumentssr
cKst|ddddd�|d<dS)z:Add certificate-pem-outfile to create-certificate-from-csrzcertificate-pem-outfilerz'after-call.iot.CreateCertificateFromCsri�)rrrrrN)r)rr	r
rrr�'register_create_keys_from_csr_arguments/srN)�__doc__Zawscli.customizations.argumentsrr
rrrrr�<module>s