pendant.aws module¶
-
pendant.aws.
cli
(command: str) → str[source]¶ Use the
awscli
to execute a command.This function will call the
awscli
within 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')