Viewing File: /usr/lib/python2.7/site-packages/euca2ools/commands/iam/createopenidconnectprovider.pyo

ó
¡ôXc@sbddlmZddlmZddlZddlmZmZmZdefd„ƒYZ	dS(iÿÿÿÿ(tArg(t
ArgumentErrorN(t
IAMRequestt
AS_ACCOUNTtutiltCreateOpenIDConnectProviderc
BseZdZedddddƒedddd	dd
dddd
ƒeddddddddddƒegZd„Zd„Zd„ZRS(s.
    Create a new OpenID Connect provider
    tUrltmetavartURLthelps'the URL for the new provider (required)s-cs--client-idtdestsClientIdList.membertCLIENTtactiontappends.a client ID, or audience, for the new providers-ts--thumbprintsThumbprintList.membertHEXsàthe SHA-1 thumbprint
                of the new OpenID Connect provider's certificate.  If one is
                not supplied this command will attempt to connect to the
                server to determine it automatically.cCsqtj|ƒtjjjj|jjdƒp1dƒ}|j	dkrUt
dƒ‚n|jsmt
dƒ‚ndS(NRtthttpssURL must begin with "https://"s"URL must name a host to connect to(Rt	configuretsixtmovesturllibtparseturlparsetargstgettschemeRtnetloc(tselftparsed((sV/usr/lib/python2.7/site-packages/euca2ools/commands/iam/createopenidconnectprovider.pyR2s
*	cCs?|jjdƒs;tj|jdd|jƒ|jd<ndS(NsThumbprintList.memberRtlogsThumbprintList.member.1(RRRtget_cert_fingerprintRtparams(R((sV/usr/lib/python2.7/site-packages/euca2ools/commands/iam/createopenidconnectprovider.pyt
preprocess:scCs|jdƒGHdS(NtOpenIDConnectProviderArn(R(Rtresult((sV/usr/lib/python2.7/site-packages/euca2ools/commands/iam/createopenidconnectprovider.pytprint_result@s(	t__name__t
__module__t__doc__RRtARGSRR R#(((sV/usr/lib/python2.7/site-packages/euca2ools/commands/iam/createopenidconnectprovider.pyR!s			(
trequestbuilderRtrequestbuilder.exceptionsRRteuca2ools.commands.iamRRRR(((sV/usr/lib/python2.7/site-packages/euca2ools/commands/iam/createopenidconnectprovider.pyt<module>s
Back to Directory File Manager