??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
ó
ßUdac @ sï d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m Z m Z m Z d d l
m Z y d d l m
Z
Wn e k
r“ n Xd „ Z d d „ Z d „ Z d „ Z d
„ Z d d d d d d d d e e d
„
Z d S( iÿÿÿÿN( t open_url( t
boto3_connt get_aws_connection_infot HAS_BOTO3( t urlencode( t sessionc C s t j | j d ƒ ƒ j ƒ S( sB
Returns the sha256 hexdigest of a string after encoding.
s utf-8( t hashlibt sha256t encodet hexdigest( t s( ( sA /usr/lib/python2.7/site-packages/ansible/module_utils/aws/urls.pyR s c C s, | s
d St t | j ƒ t j d ƒ ƒ ƒ S( s…
Returns properly url-encoded query string from the provided params dict.
It's specially sorted for cannonical requests
t i ( R t sortedt itemst operatort
itemgetter( t params( ( sA /usr/lib/python2.7/site-packages/ansible/module_utils/aws/urls.pyt format_querystring s c C s% t j | | j d ƒ t j ƒ j ƒ S( s.
Return digest for key applied to msg
s utf-8( t hmact newR R R t digest( t keyt msg( ( sA /usr/lib/python2.7/site-packages/ansible/module_utils/aws/urls.pyt sign+ s c C sM t d | j d ƒ | ƒ } t | | ƒ } t | | ƒ } t | d ƒ } | S( s0
Returns signature key for AWS resource
t AWS4s utf-8t aws4_request( R R ( R t dateStampt
regionNamet serviceNamet kDatet kRegiont kServicet kSigning( ( sA /usr/lib/python2.7/site-packages/ansible/module_utils/aws/urls.pyt get_signature_key3 s
c C sJ t s | j d ƒ n t | d t ƒ\ } } } t j | } | j ƒ S( sW
Returns aws_access_key_id, aws_secret_access_key, session_token for a module.
s) get_aws_credentials_object requires boto3t boto3( R t fail_jsonR t TrueR t Sessiont get_credentials( t modulet dummyt boto_paramsR
( ( sA /usr/lib/python2.7/site-packages/ansible/module_utils/aws/urls.pyt get_aws_credentials_object? s
t GETR c
" C sç t s | j d ƒ n t j j ƒ }
|
j d ƒ } |
j d ƒ } d }
t | d t ƒ\ } } } t | ƒ } | j } | j } | j
} | s¤ | j d d ƒ n | s½ | j d d ƒ n d j | | | d
g ƒ } | pá d } | rö t | ƒ n d } | pt
ƒ } | pt
ƒ } | j i | d 6| d
6ƒ | rd| rN| | d