How Aws Cli Functions?