NAME

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

DESCRIPTION

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

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

SYNOPSIS

my $codeartifact = Paws->service('CodeArtifact');
my $CreateRepositoryResult = $codeartifact->CreateRepository(
  Domain      => 'MyDomainName',
  Repository  => 'MyRepositoryName',
  Description => 'MyDescription',      # OPTIONAL
  DomainOwner => 'MyAccountId',        # OPTIONAL
  Tags        => [
    {
      Key   => 'MyTagKey',      # min: 1, max: 128
      Value => 'MyTagValue',    # max: 256

    },
    ...
  ],    # OPTIONAL
  Upstreams => [
    {
      RepositoryName => 'MyRepositoryName',    # min: 2, max: 100

    },
    ...
  ],    # OPTIONAL
);

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

# Returns a L<Paws::CodeArtifact::CreateRepositoryResult> 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/CreateRepository

ATTRIBUTES

Description => Str

A description of the created repository.

REQUIRED Domain => Str

The name of the domain that contains the created repository.

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

Tags => ArrayRef[Paws::CodeArtifact::Tag]

One or more tag key-value pairs for the repository.

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