+
    G%@i;
                     .    ^ RI HtHt  ! R R]]4      tR# )    )PluginIndependentPluginc                   >   a  ] tR t^t o RtRtRtR tR tR t	Rt
V tR# )	AwszAWS EC2 instance metadataawsc                     \        R RR7      ;_uu_ 4       pRVP                  4       9   uuRRR4       #   + '       g   i     R# ; i  \         d     R# i ; i)z&/sys/devices/virtual/dmi/id/sys_vendorzutf-8)encodingAmazonNF)openreadFileNotFoundError)selffs   & 8/usr/lib/python3/dist-packages/sos/report/plugins/aws.py_is_ec2Aws._is_ec2   sS    	>&( (+,1668+( ( ( ( ! 		s+   A	 5
A	 A	 A	 A	 	AAc                "    V P                  4       # )N)r   )r   s   &r   check_enabledAws.check_enabled   s    ||~    c                   V P                  4       '       g   V P                  P                  R 4       R# RpRV 2p V P                  V^R7      R,          pRpV'       d   RV 2p. ROpRpV F:  pWg,           pVP                  R	R
4      p	V P                  RV RV 2RV	 R2R7       K<  	  R#   \         d    Rp Lfi ; i)z5Not an EC2 instance; skipping AWS metadata collectionNz'http://169.254.169.254/latest/api/tokenzJcurl -sS -X PUT -H             X-aws-ec2-metadata-token-ttl-seconds:21600 )timeoutoutput z-H X-aws-ec2-metadata-token:z(http://169.254.169.254/latest/meta-data//_z	curl -sS  aws_metadata_z.txt)suggest_filename)hostnamezinstance-idzinstance-life-cyclezinstance-typezplacement/availability-zone-id)r   sosloginfoexec_cmd	Exceptionreplaceadd_cmd_output)
r   	token_url	token_cmdtokentoken_headermetadata_pathsbase_urlpathmeta_url	safe_names
   &         r   setup	Aws.setup!   s    ||~~KKGI >	88A{D		MM)QM7AE
 9%AL > #DHS#.I~Qxj9'4YKt%D    #+  	E	s   B- -B=<B= N)virt)__name__
__module____qualname____firstlineno__
short_descplugin_nameprofilesr   r   r0   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s(     ,JKH+ +r   r   N)sos.report.pluginsr   r   r   r2   r   r   <module>r?      s    9>&# >r   