Skip to content

/AWS1/CL_ART=>CREATEREPOSITORY()

About CreateRepository

Creates a repository.

Method Signature

IMPORTING

Required arguments:

IV_DOMAIN TYPE /AWS1/ARTDOMAINNAME /AWS1/ARTDOMAINNAME

The name of the domain that contains the created repository.

IV_REPOSITORY TYPE /AWS1/ARTREPOSITORYNAME /AWS1/ARTREPOSITORYNAME

The name of the repository to create.

Optional arguments:

IV_DOMAINOWNER TYPE /AWS1/ARTACCOUNTID /AWS1/ARTACCOUNTID

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

IV_DESCRIPTION TYPE /AWS1/ARTDESCRIPTION /AWS1/ARTDESCRIPTION

A description of the created repository.

IT_UPSTREAMS TYPE /AWS1/CL_ARTUPSTREAMREPOSITORY=>TT_UPSTREAMREPOSITORYLIST TT_UPSTREAMREPOSITORYLIST

A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.

IT_TAGS TYPE /AWS1/CL_ARTTAG=>TT_TAGLIST TT_TAGLIST

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ARTCREREPOSITORYRSLT /AWS1/CL_ARTCREREPOSITORYRSLT