HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: 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,pcntl_unshare,
Upload Files
File: //lib/python3/dist-packages/awscli/examples/codeguru-reviewer/list-repository-associations.rst
**To list the repository associations in your AWS account**

The following ``list-repository-associations`` example returns a list of repository association summary objects in your account. You can filter the returned list by ``ProviderType``, ``Name``, ``State``, and ``Owner``. ::

    aws codeguru-reviewer list-repository-associations

Output::

    {
        "RepositoryAssociationSummaries": [
            {
                "LastUpdatedTimeStamp": 1595886609.616,
                "Name": "test",
                "AssociationId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
                "Owner": "sample-owner",
                "State": "Associated",
                "AssociationArn": "arn:aws:codeguru-reviewer:us-west-2:123456789012:association:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
                "ProviderType": "Bitbucket"
            },
            {
                "LastUpdatedTimeStamp": 1595636969.035,
                "Name": "CodeDeploy-CodePipeline-ECS-Tutorial",
                "AssociationId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
                "Owner": "123456789012",
                "State": "Associated",
                "AssociationArn": "arn:aws:codeguru-reviewer:us-west-2:123456789012:association:a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
                "ProviderType": "CodeCommit"
            },
            {
                "LastUpdatedTimeStamp": 1595634785.983,
                "Name": "My-ecs-beta-repo",
                "AssociationId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
                "Owner": "123456789012",
                "State": "Associated",
                "AssociationArn": "arn:aws:codeguru-reviewer:us-west-2:123456789012:association:a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
                "ProviderType": "CodeCommit"
            },
            {
                "LastUpdatedTimeStamp": 1590712811.77,
                "Name": "MyTestCodeCommit",
                "AssociationId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE44444",
                "Owner": "123456789012",
                "State": "Associated",
                "AssociationArn": "arn:aws:codeguru-reviewer:us-west-2:123456789012:association:a1b2c3d4-5678-90ab-cdef-EXAMPLE44444",
                "ProviderType": "CodeCommit"
            },
            {
                "LastUpdatedTimeStamp": 1588102637.649,
                "Name": "aws-codeguru-profiler-sample-application",
                "AssociationId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE55555",
                "Owner": "sample-owner",
                "State": "Associated",
                "AssociationArn": "arn:aws:codeguru-reviewer:us-west-2:123456789012:association:a1b2c3d4-5678-90ab-cdef-EXAMPLE55555",
                "ProviderType": "GitHub"
            },
            {
                "LastUpdatedTimeStamp": 1588028233.995,
                "Name": "codeguru-profiler-demo-app",
                "AssociationId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE66666",
                "Owner": "sample-owner",
                "State": "Associated",
                "AssociationArn": "arn:aws:codeguru-reviewer:us-west-2:123456789012:association:a1b2c3d4-5678-90ab-cdef-EXAMPLE66666",
                "ProviderType": "GitHub"
            }
        ]
    }

For more information, see `ListRepositoryAssociations<https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html>`__ in the *Amazon DevOps Guru API Reference*.