CmdID

CmdID / aws / aws codebuild

aws codebuild list-shared-projects

Gets a list of projects that are shared with other Amazon Web Services accounts or users. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To list the shared project in AWS CodeBuild.

The following list-shared-projects example lists the CodeBuild shared projects that are available to the current account.

aws codebuild list-shared-projectsIdentify
Its output
{
    "projects": [
        "arn:aws:codebuild:<region-ID>:<account-ID>:project/<shared-project-name-1>",
        "arn:aws:codebuild:<region-ID>:<account-ID>:project/<shared-project-name-2>"
    ]
}

For more information, see Working with shared projects in the AWS CodeBuild User Guide.

Options

4 in the AWS CLI reference
--max-resultsThe maximum number of paginated shared build projects returned per response.
--next-tokenDuring a previous call, the maximum number of items that can be returned is the value specified in maxResults.
--sort-byThe criterion to be used to list build projects shared with the current Amazon Web Services account or user.
--sort-orderThe order in which to list shared build projects.