NAME

Paws::CodeArtifact::UpdateRepository - Arguments for method UpdateRepository on Paws::CodeArtifact

DESCRIPTION

This class represents the parameters used for calling the method UpdateRepository on the CodeArtifact service. Use the attributes of this class as arguments to method UpdateRepository.

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

SYNOPSIS

my $codeartifact = Paws->service('CodeArtifact');
my $UpdateRepositoryResult = $codeartifact->UpdateRepository(
  Domain      => 'MyDomainName',
  Repository  => 'MyRepositoryName',
  Description => 'MyDescription',      # OPTIONAL
  DomainOwner => 'MyAccountId',        # OPTIONAL
  Upstreams   => [
    {
      RepositoryName => 'MyRepositoryName',    # min: 2, max: 100

    },
    ...
  ],    # OPTIONAL
);

# Results:
my $Repository = $UpdateRepositoryResult->Repository;

# Returns a L<Paws::CodeArtifact::UpdateRepositoryResult> 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/codeartifact/UpdateRepository

ATTRIBUTES

Description => Str

An updated repository description.

REQUIRED Domain => Str

The name of the domain associated with the repository to update.

DomainOwner => Str

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

REQUIRED Repository => Str

The name of the repository to update.

Upstreams => ArrayRef[Paws::CodeArtifact::UpstreamRepository]

A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when AWS CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories (https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html).

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateRepository in Paws::CodeArtifact

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