Server IP : 195.201.23.43 / Your IP : 3.135.248.144 Web Server : Apache System : Linux webserver2.vercom.be 5.4.0-192-generic #212-Ubuntu SMP Fri Jul 5 09:47:39 UTC 2024 x86_64 User : kdecoratie ( 1041) PHP Version : 7.1.33-63+ubuntu20.04.1+deb.sury.org+1 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/awscli/topics/ |
Upload File : |
:title: AWS CLI Return Codes :description: Describes the various return codes of the AWS CLI :category: General :related command: s3, s3 cp, s3 sync, s3 mv, s3 rm These are the following return codes returned at the end of execution of a CLI command: * ``0`` -- Command was successful. There were no errors thrown by either the CLI or by the service the request was made to. * ``1`` -- Limited to ``s3`` commands, at least one or more s3 transfers failed for the command executed. * ``2`` -- The meaning of this return code depends on the command being run. The primary meaning is that the command entered on the command line failed to be parsed. Parsing failures can be caused by, but are not limited to, missing any required subcommands or arguments or using any unknown commands or arguments. Note that this return code meaning is applicable to all CLI commands. The other meaning is only applicable to ``s3`` commands. It can mean at least one or more files marked for transfer were skipped during the transfer process. However, all other files marked for transfer were successfully transferred. Files that are skipped during the transfer process include: files that do not exist, files that are character special devices, block special device, FIFO's, or sockets, and files that the user cannot read from. * ``130`` -- The process received a SIGINT (Ctrl-C). * ``255`` -- Command failed. There were errors thrown by either the CLI or by the service the request was made to. To determine the return code of a command, run the following right after running a CLI command. Note that this will work only on POSIX systems:: $ echo $? Output (if successful):: 0 On Windows PowerShell, the return code can be determined by running:: > echo $lastexitcode Output (if successful):: 0 On Windows Command Prompt, the return code can be determined by running:: > echo %errorlevel% Output (if successful):: 0Private