get_repository_endpoint
(**kwargs)¶Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format:
maven
npm
nuget
pypi
See also: AWS API Documentation
Request Syntax
response = client.get_repository_endpoint(
domain='string',
domainOwner='string',
repository='string',
format='npm'|'pypi'|'maven'|'nuget'
)
[REQUIRED]
The name of the domain that contains the repository.
[REQUIRED]
The name of the repository.
[REQUIRED]
Returns which endpoint of a repository to return. A repository has one endpoint for each package format.
dict
Response Syntax
{
'repositoryEndpoint': 'string'
}
Response Structure
(dict) --
repositoryEndpoint (string) --
A string that specifies the URL of the returned endpoint.
Exceptions
CodeArtifact.Client.exceptions.AccessDeniedException
CodeArtifact.Client.exceptions.InternalServerException
CodeArtifact.Client.exceptions.ResourceNotFoundException
CodeArtifact.Client.exceptions.ThrottlingException
CodeArtifact.Client.exceptions.ValidationException