Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Expr Str Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad NameLoad Str decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Dict Str Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Str Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Return TryExcept body With Call NameLoad AttributeLoad NameLoad attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Assign NameStore Str Raise Call NameLoad NameLoad decorator_list decorator_list
N/A N/A logging N/A os N/A base64 N/A rsa awscli.compat six botocore model awscli.arguments BaseCLIArgument N/A logger N/A N/A logging getLogger __name__ N/A HELP <p>The file that contains the private key used to launch
the instance (e.g. windows-keypair.pem).  If this is supplied, the
password data sent from EC2 will be decrypted before display.</p> ec2_add_priv_launch_key N/A N/A argument_table operation_model session N/A kwargs N/A N/A 
    This handler gets called after the argument table for the
    operation has been created.  It's job is to add the
    ``priv-launch-key`` parameter.
     N/A N/A argument_table N/A priv-launch-key N/A LaunchKeyArgument session operation_model priv-launch-key N/A LaunchKeyArgument N/A BaseCLIArgument N/A __init__ N/A N/A self session operation_model name N/A N/A N/A N/A self _session session N/A N/A self argument_model N/A N/A model Shape LaunchKeyArgument N/A type string N/A N/A self _operation_model operation_model N/A N/A self _name name N/A N/A self _key_path None N/A N/A self _required False N/A cli_type_name N/A N/A self N/A N/A N/A string N/A property required N/A N/A self N/A N/A N/A N/A self _required N/A property required N/A N/A self value N/A N/A N/A N/A self _required value N/A N/A required setter documentation N/A N/A self N/A N/A N/A HELP N/A property add_to_parser N/A N/A self parser N/A N/A N/A N/A N/A parser add_argument N/A self cli_name dest N/A self py_name help SSH Private Key file N/A add_to_params N/A N/A self parameters value N/A N/A N/A 
        This gets called with the value of our ``--priv-launch-key``
        if it is specified.  It needs to determine if the path
        provided is valid and, if it is, it stores it in the instance
        variable ``_key_path`` for use by the decrypt routine.
         N/A value N/A N/A path N/A N/A N/A os path expandvars value N/A path N/A N/A N/A os path expanduser path N/A N/A N/A N/A os path isfile path N/A N/A N/A self _key_path path N/A endpoint_prefix N/A N/A N/A self _operation_model service_model endpoint_prefix N/A event N/A after-call.%s.%s N/A endpoint_prefix N/A N/A self _operation_model name N/A N/A N/A N/A self _session register event N/A self _decrypt_password_data N/A N/A msg priv-launch-key should be a path to the local SSH private key file used to launch the instance. N/A N/A ValueError msg N/A _decrypt_password_data N/A N/A self parsed N/A kwargs N/A N/A 
        This handler gets called after the GetPasswordData command has been
        executed.  It is called with the and the ``parsed`` data.  It checks to
        see if a private launch key was specified on the command.  If it was,
        it tries to use that private key to decrypt the password data and
        replace it in the returned data dictionary.
         N/A N/A N/A self _key_path None N/A N/A N/A N/A logger debug Decrypting password data using: %s N/A self _key_path N/A value N/A N/A parsed get PasswordData N/A N/A value N/A N/A N/A N/A N/A N/A open N/A self _key_path pk_file N/A N/A pk_contents N/A N/A pk_file read N/A private_key N/A N/A N/A rsa PrivateKey load_pkcs1 N/A N/A six b pk_contents N/A value N/A N/A base64 b64decode value N/A value N/A N/A rsa decrypt value private_key N/A N/A N/A logger debug parsed N/A N/A parsed N/A PasswordData N/A N/A value decode utf-8 N/A N/A N/A logger debug parsed N/A N/A N/A Exception N/A N/A N/A N/A logger debug Unable to decrypt PasswordData exc_info True N/A msg Unable to decrypt password data using provided private key file. N/A N/A ValueError msg N/A N/A