Private
Server IP : 195.201.23.43  /  Your IP : 3.145.85.212
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/examples/codecommit/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /lib/python3/dist-packages/awscli/examples/codecommit/get-folder.rst
**To get the contents of a folder in an AWS CodeCommit repository**

The following ``get-folder`` example demonstrates how to get the contents of a top-level folder from a repository named ``MyDemoRepo``. ::

    aws codecommit get-folder --repository-name MyDemoRepo --folder-path ""

Output::

    {
        "commitId":"c5709475EXAMPLE",
        "files":[
            {
                "absolutePath":".gitignore",
                "blobId":"74094e8bEXAMPLE",
                "fileMode":"NORMAL",
                "relativePath":".gitignore"
            },
            {
                "absolutePath":"Gemfile",
                "blobId":"9ceb72f6EXAMPLE",
                "fileMode":"NORMAL",
                "relativePath":"Gemfile"
            },
            {
                "absolutePath":"Gemfile.lock",
                "blobId":"795c4a2aEXAMPLE",
                "fileMode":"NORMAL",
                "relativePath":"Gemfile.lock"
            },
            {
                "absolutePath":"LICENSE.txt",
                "blobId":"0c7932c8EXAMPLE",
                "fileMode":"NORMAL",
                "relativePath":"LICENSE.txt"
            },
            {
                "absolutePath":"README.md",
                "blobId":"559b44feEXAMPLE",
                "fileMode":"NORMAL",
                "relativePath":"README.md"
            }
        ],
        "folderPath":"",
        "subFolders":[
            {
                "absolutePath":"public",
                "relativePath":"public",
                "treeId":"d5e92ae3aEXAMPLE"
            },
            {
                "absolutePath":"tmp",
                "relativePath":"tmp",
                "treeId":"d564d0bcEXAMPLE"
            }
        ],
        "subModules":[],
        "symbolicLinks":[],
        "treeId":"7b3c4dadEXAMPLE"
    }

For more information, see `GetFolder`_ in the *AWS CodeCommit API Reference* guide.

.. _`GetFolder`: https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetFolder.html
Private