o .&a_ @s$dZddlmZddZddZdS)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) zAdd outfile save arguments to create-keys-and-certificate - ``--certificate-pem-outfile`` - ``--public-key-outfile`` - ``--private-key-outfile`` z'after-call.iot.CreateKeysAndCertificatecertificate-pem-outfilecertificatePemsessionnamequeryafter_call_eventpermzpublic-key-outfilezkeyPair.PublicKeyzprivate-key-outfilezkeyPair.PrivateKeyNr)rargument_tablekwargs after_eventr;/usr/lib/python3/dist-packages/awscli/customizations/iot.py'register_create_keys_and_cert_argumentss  rcKst|ddddd|d<dS)z:Add certificate-pem-outfile to create-certificate-from-csrrrz'after-call.iot.CreateCertificateFromCsrrrNr)rr rrrr'register_create_keys_from_csr_arguments/s rN)__doc__awscli.customizations.argumentsrrrrrrrs