pendant.aws module¶
-
pendant.aws.cli(command: str) → str[source]¶ Use the
awsclito execute a command.This function will call the
awscliwithin the same process and not spawn subprocesses. In addition, the STDERR of the called function will be surpressed and the STDOUT will be returned as a string.Parameters: command – The command to be executed by the awscli.Examples
>>> # cli('--version')