NAME
Paws::CodeGuruReviewer::RepositoryAssociation
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::CodeGuruReviewer::RepositoryAssociation object:
$service_obj->Method(Att1 => { AssociationArn => $value, ..., StateReason => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::CodeGuruReviewer::RepositoryAssociation object:
$result = $service_obj->Method(...);
$result->Att1->AssociationArn
DESCRIPTION
Information about a repository association. The DescribeRepositoryAssociation
(https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_DescribeRepositoryAssociation.html) operation returns a RepositoryAssociation
object.
ATTRIBUTES
AssociationArn => Str
The Amazon Resource Name (ARN) identifying the repository association.
AssociationId => Str
The ID of the repository association.
ConnectionArn => Str
The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id
. For more information, see Connection
(https://docs.aws.amazon.com/codestar-connections/latest/APIReference/API_Connection.html) in the AWS CodeStar Connections API Reference.
CreatedTimeStamp => Str
The time, in milliseconds since the epoch, when the repository association was created.
KMSKeyDetails => Paws::CodeGuruReviewer::KMSKeyDetails
A KMSKeyDetails
object that contains:
The encryption option for this repository association. It is either owned by AWS Key Management Service (KMS) (
AWS_OWNED_CMK
) or customer managed (CUSTOMER_MANAGED_CMK
).The ID of the AWS KMS key that is associated with this respository association.
LastUpdatedTimeStamp => Str
The time, in milliseconds since the epoch, when the repository association was last updated.
Name => Str
The name of the repository.
Owner => Str
The owner of the repository. For an AWS CodeCommit repository, this is the AWS 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 AWS account ID.
ProviderType => Str
The provider type of the repository association.
S3RepositoryDetails => Paws::CodeGuruReviewer::S3RepositoryDetails
State => Str
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
isGitHub
,GitHub Enterprise Server
, orBitbucket
, 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 an associated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories (https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/auth-and-access-control-using-tags.html) in the Amazon CodeGuru Reviewer User Guide.
StateReason => Str
A description of why the repository association is in the current state.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::CodeGuruReviewer
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues