NAME

Paws::CodeGuruReviewer::ListRepositoryAssociations - Arguments for method ListRepositoryAssociations on Paws::CodeGuruReviewer

DESCRIPTION

This class represents the parameters used for calling the method ListRepositoryAssociations on the Amazon CodeGuru Reviewer service. Use the attributes of this class as arguments to method ListRepositoryAssociations.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListRepositoryAssociations.

SYNOPSIS

my $codeguru-reviewer = Paws->service('CodeGuruReviewer');
my $ListRepositoryAssociationsResponse =
  $codeguru -reviewer->ListRepositoryAssociations(
  MaxResults => 1,    # OPTIONAL
  Names      => [
    'MyName', ...     # min: 1, max: 100
  ],    # OPTIONAL
  NextToken => 'MyNextToken',    # OPTIONAL
  Owners    => [
    'MyOwner', ...               # min: 1, max: 100
  ],    # OPTIONAL
  ProviderTypes => [
    'CodeCommit',
    ... # values: CodeCommit, GitHub, Bitbucket, GitHubEnterpriseServer, S3Bucket
  ],    # OPTIONAL
  States => [
    'Associated',
    ... # values: Associated, Associating, Failed, Disassociating, Disassociated
  ],    # OPTIONAL
  );

# Results:
my $NextToken = $ListRepositoryAssociationsResponse->NextToken;
my $RepositoryAssociationSummaries =
  $ListRepositoryAssociationsResponse->RepositoryAssociationSummaries;

# Returns a Paws::CodeGuruReviewer::ListRepositoryAssociationsResponse object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer/ListRepositoryAssociations

ATTRIBUTES

MaxResults => Int

The maximum number of repository association results returned by ListRepositoryAssociations in paginated output. When this parameter is used, ListRepositoryAssociations only returns maxResults results in a single page with a nextToken response element. The remaining results of the initial request can be seen by sending another ListRepositoryAssociations request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, ListRepositoryAssociations returns up to 100 results and a nextToken value if applicable.

Names => ArrayRef[Str|Undef]

List of repository names to use as a filter.

NextToken => Str

The nextToken value returned from a previous paginated ListRepositoryAssociations request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.

Treat this token as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.

Owners => ArrayRef[Str|Undef]

List of owners to use as a filter. For AWS CodeCommit, it is the name of the CodeCommit account that was used to associate the repository. For other repository source providers, such as Bitbucket and GitHub Enterprise Server, this is name of the account that was used to associate the repository.

ProviderTypes => ArrayRef[Str|Undef]

List of provider types to use as a filter.

States => ArrayRef[Str|Undef]

List of repository association states to use as a filter.

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 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.

SEE ALSO

This class forms part of Paws, documenting arguments for method ListRepositoryAssociations 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