Skip to content

/AWS1/CL_GURREPOSITORYASSOCI00

Information about a repository association. The DescribeRepositoryAssociation operation returns a RepositoryAssociation object.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_associationid TYPE /AWS1/GURASSOCIATIONID /AWS1/GURASSOCIATIONID

The ID of the repository association.

iv_associationarn TYPE /AWS1/GURARN /AWS1/GURARN

The Amazon Resource Name (ARN) identifying the repository association.

iv_connectionarn TYPE /AWS1/GURCONNECTIONARN /AWS1/GURCONNECTIONARN

The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the Amazon Web Services CodeStar Connections API Reference.

iv_name TYPE /AWS1/GURNAME /AWS1/GURNAME

The name of the repository.

iv_owner TYPE /AWS1/GUROWNER /AWS1/GUROWNER

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.

iv_providertype TYPE /AWS1/GURPROVIDERTYPE /AWS1/GURPROVIDERTYPE

The provider type of the repository association.

iv_state TYPE /AWS1/GURREPOSITORYASSOCIATI00 /AWS1/GURREPOSITORYASSOCIATI00

The state of the repository association.

The valid repository association states are:

  • Associated: The repository association is complete.

  • Associating: CodeGuru Reviewer is:

    • Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.

      If your repository ProviderType is GitHub, GitHub Enterprise Server, or Bitbucket, 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.

    • Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.

  • Failed: The repository failed to associate or disassociate.

  • Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.

  • Disassociated: 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 Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.

iv_statereason TYPE /AWS1/GURSTATEREASON /AWS1/GURSTATEREASON

A description of why the repository association is in the current state.

iv_lastupdatedtimestamp TYPE /AWS1/GURTIMESTAMP /AWS1/GURTIMESTAMP

The time, in milliseconds since the epoch, when the repository association was last updated.

iv_createdtimestamp TYPE /AWS1/GURTIMESTAMP /AWS1/GURTIMESTAMP

The time, in milliseconds since the epoch, when the repository association was created.

io_kmskeydetails TYPE REF TO /AWS1/CL_GURKMSKEYDETAILS /AWS1/CL_GURKMSKEYDETAILS

A KMSKeyDetails object that contains:

  • The encryption option for this repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).

  • The ID of the Amazon Web Services KMS key that is associated with this repository association.

io_s3repositorydetails TYPE REF TO /AWS1/CL_GURS3REPOSITORYDETS /AWS1/CL_GURS3REPOSITORYDETS

S3RepositoryDetails


Queryable Attributes

AssociationId

The ID of the repository association.

Accessible with the following methods

Method Description
GET_ASSOCIATIONID() Getter for ASSOCIATIONID, with configurable default
ASK_ASSOCIATIONID() Getter for ASSOCIATIONID w/ exceptions if field has no value
HAS_ASSOCIATIONID() Determine if ASSOCIATIONID has a value

AssociationArn

The Amazon Resource Name (ARN) identifying the repository association.

Accessible with the following methods

Method Description
GET_ASSOCIATIONARN() Getter for ASSOCIATIONARN, with configurable default
ASK_ASSOCIATIONARN() Getter for ASSOCIATIONARN w/ exceptions if field has no valu
HAS_ASSOCIATIONARN() Determine if ASSOCIATIONARN has a value

ConnectionArn

The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the Amazon Web Services CodeStar Connections API Reference.

Accessible with the following methods

Method Description
GET_CONNECTIONARN() Getter for CONNECTIONARN, with configurable default
ASK_CONNECTIONARN() Getter for CONNECTIONARN w/ exceptions if field has no value
HAS_CONNECTIONARN() Determine if CONNECTIONARN has a value

Name

The name of the repository.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

Owner

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.

Accessible with the following methods

Method Description
GET_OWNER() Getter for OWNER, with configurable default
ASK_OWNER() Getter for OWNER w/ exceptions if field has no value
HAS_OWNER() Determine if OWNER has a value

ProviderType

The provider type of the repository association.

Accessible with the following methods

Method Description
GET_PROVIDERTYPE() Getter for PROVIDERTYPE, with configurable default
ASK_PROVIDERTYPE() Getter for PROVIDERTYPE w/ exceptions if field has no value
HAS_PROVIDERTYPE() Determine if PROVIDERTYPE has a value

State

The state of the repository association.

The valid repository association states are:

  • Associated: The repository association is complete.

  • Associating: CodeGuru Reviewer is:

    • Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.

      If your repository ProviderType is GitHub, GitHub Enterprise Server, or Bitbucket, 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.

    • Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.

  • Failed: The repository failed to associate or disassociate.

  • Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.

  • Disassociated: 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 Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.

Accessible with the following methods

Method Description
GET_STATE() Getter for STATE, with configurable default
ASK_STATE() Getter for STATE w/ exceptions if field has no value
HAS_STATE() Determine if STATE has a value

StateReason

A description of why the repository association is in the current state.

Accessible with the following methods

Method Description
GET_STATEREASON() Getter for STATEREASON, with configurable default
ASK_STATEREASON() Getter for STATEREASON w/ exceptions if field has no value
HAS_STATEREASON() Determine if STATEREASON has a value

LastUpdatedTimeStamp

The time, in milliseconds since the epoch, when the repository association was last updated.

Accessible with the following methods

Method Description
GET_LASTUPDATEDTIMESTAMP() Getter for LASTUPDATEDTIMESTAMP, with configurable default
ASK_LASTUPDATEDTIMESTAMP() Getter for LASTUPDATEDTIMESTAMP w/ exceptions if field has n
HAS_LASTUPDATEDTIMESTAMP() Determine if LASTUPDATEDTIMESTAMP has a value

CreatedTimeStamp

The time, in milliseconds since the epoch, when the repository association was created.

Accessible with the following methods

Method Description
GET_CREATEDTIMESTAMP() Getter for CREATEDTIMESTAMP, with configurable default
ASK_CREATEDTIMESTAMP() Getter for CREATEDTIMESTAMP w/ exceptions if field has no va
HAS_CREATEDTIMESTAMP() Determine if CREATEDTIMESTAMP has a value

KMSKeyDetails

A KMSKeyDetails object that contains:

  • The encryption option for this repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).

  • The ID of the Amazon Web Services KMS key that is associated with this repository association.

Accessible with the following methods

Method Description
GET_KMSKEYDETAILS() Getter for KMSKEYDETAILS

S3RepositoryDetails

S3RepositoryDetails

Accessible with the following methods

Method Description
GET_S3REPOSITORYDETAILS() Getter for S3REPOSITORYDETAILS