Current File : //usr/lib/python2.7/site-packages/euca2ools/commands/iam/updateopenidconnectproviderthumbprint.pyo
�
��Xc@sfddlmZddlmZddlmZmZmZddlm	Z	defd��YZ
dS(i����(tArg(tClientError(t
IAMRequestt
AS_ACCOUNTtutil(tGetOpenIDConnectProvidert%UpdateOpenIDConnectProviderThumbprintcBsYeZdZeddddd�edddd	dd
dddd
�egZd�ZRS(sB
    Replace an OpenID Connect provider's list of thumbprints
    tOpenIDConnectProviderArntmetavartOIDCthelps,the ARN of the provider to update (required)s-ts--thumbprinttdestsThumbprintList.membertHEXtactiontappends3the new SHA-1
                thumbprint of the OpenID Connect provider's certificate.  This
                option may be specified more than once to allow multiple
                certificates to be accepted.  If one is not supplied this
                command will attempt to determine it automatically.cCs�|jjd�s�tj|d|jjd��}|j�jd�}|s]td��nd|kr{dj|�}ntj|d|j	�|j
d<ndS(	NsThumbprintList.memberRtUrlsfunable to determine the provider's URL automatically; please specify a thumbprint with -t/--thumbprints://shttps://{0}tlogsThumbprintList.member.1(targstgetRt
from_othertmainRtformatRtget_cert_fingerprintRtparams(tselftreqturl((s`/usr/lib/python2.7/site-packages/euca2ools/commands/iam/updateopenidconnectproviderthumbprint.pyt
preprocess1s(t__name__t
__module__t__doc__RRtARGSR(((s`/usr/lib/python2.7/site-packages/euca2ools/commands/iam/updateopenidconnectproviderthumbprint.pyR"s	N(trequestbuilderRtrequestbuilder.exceptionsRteuca2ools.commands.iamRRRt/euca2ools.commands.iam.getopenidconnectproviderRR(((s`/usr/lib/python2.7/site-packages/euca2ools/commands/iam/updateopenidconnectproviderthumbprint.pyt<module>s