Amazon CodeGuru Reviewer · JSON Structure
Amazon Codeguru Reviewer Repository Association Summary Structure
Summary information about a repository association. The ListRepositoryAssociations operation returns a list of RepositoryAssociationSummary objects.
Type: object
Properties: 8
AmazonCode ReviewSecurityDevOpsMachine LearningDeveloper Tools
RepositoryAssociationSummary is a JSON Structure definition published by Amazon CodeGuru Reviewer, describing 8 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
AssociationArn
ConnectionArn
LastUpdatedTimeStamp
AssociationId
Name
Owner
ProviderType
State
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codeguru-reviewer/refs/heads/main/json-structure/amazon-codeguru-reviewer-repository-association-summary-structure.json",
"name": "RepositoryAssociationSummary",
"description": "Summary information about a repository association. The <a href=\"https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html\">ListRepositoryAssociations</a> operation returns a list of <code>RepositoryAssociationSummary</code> objects.",
"type": "object",
"properties": {
"AssociationArn": {
"allOf": [
{
"$ref": "#/components/schemas/Arn"
},
{
"description": "The Amazon Resource Name (ARN) of the <a href=\"https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html\">RepositoryAssociation</a> object. You can retrieve this ARN by calling <a href=\"https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html\">ListRepositoryAssociations</a>."
}
]
},
"ConnectionArn": {
"allOf": [
{
"$ref": "#/components/schemas/ConnectionArn"
},
{
"description": "The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is <code>arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id</code>. For more information, see <a href=\"https://docs.aws.amazon.com/codestar-connections/latest/APIReference/API_Connection.html\">Connection</a> in the <i>Amazon Web Services CodeStar Connections API Reference</i>."
}
]
},
"LastUpdatedTimeStamp": {
"allOf": [
{
"$ref": "#/components/schemas/TimeStamp"
},
{
"description": "The time, in milliseconds since the epoch, since the repository association was last updated."
}
]
},
"AssociationId": {
"allOf": [
{
"$ref": "#/components/schemas/AssociationId"
},
{
"description": "The repository association ID."
}
]
},
"Name": {
"allOf": [
{
"$ref": "#/components/schemas/Name"
},
{
"description": "The name of the repository association."
}
]
},
"Owner": {
"allOf": [
{
"$ref": "#/components/schemas/Owner"
},
{
"description": "The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or Amazon Web Services account ID."
}
]
},
"ProviderType": {
"allOf": [
{
"$ref": "#/components/schemas/ProviderType"
},
{
"description": "The provider type of the repository association."
}
]
},
"State": {
"allOf": [
{
"$ref": "#/components/schemas/RepositoryAssociationState"
},
{
"description": "<p>The state of the repository association.</p> <p>The valid repository association states are:</p> <ul> <li> <p> <b>Associated</b>: The repository association is complete.</p> </li> <li> <p> <b>Associating</b>: CodeGuru Reviewer is:</p> <ul> <li> <p>Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.</p> <note> <p>If your repository <code>ProviderType</code> is <code>GitHub</code>, <code>GitHub Enterprise Server</code>, or <code>Bitbucket</code>, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.</p> </note> </li> <li> <p>Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.</p> </li> </ul> </li> <li> <p> <b>Failed</b>: The repository failed to associate or disassociate.</p> </li> <li> <p> <b>Disassociating</b>: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.</p> </li> <li> <p> <b>Disassociated</b>: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in anassociated repository with tags after it has been disassociated. For more information, see <a href=\"https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/auth-and-access-control-using-tags.html\">Using tags to control access to associated repositories</a> in the <i>Amazon CodeGuru Reviewer User Guide</i>.</p> </li> </ul>"
}
]
}
}
}