| `domain` | CodeArtifact domain to use | no _(can be retrieved from env)_ |
| `domain_owner` | CodeArtifact domain owner to use | no _(can be retrieved from env)_ |
| `region` | AWS region to use | no _(can be retrieved from env)_ |
| `env_ctx` | the [environment context to consider](#the-notion-of-env_ctx) | no _(can be guessed)_ |
### `GET /codeartifact/repository/endpoint`
This API retrieves the [CodeArtifact repository endpoint](https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_GetRepositoryEndpoint.html).
| `format` | the format of the endpoint (e.g. `npm`, `pypi`, `maven`) [full list](https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_GetRepositoryEndpoint.html#CodeArtifact-GetRepositoryEndpoint-request-format) | yes |
| `domain` | CodeArtifact domain to use | no _(can be retrieved from env)_ |
| `domain_owner` | CodeArtifact domain owner to use | no _(can be retrieved from env)_ |
| `repository` | CodeArtifact repository to use | no _(can be retrieved from env)_ |
| `region` | AWS region to use | no _(can be retrieved from env)_ |
| `env_ctx` | the [environment context to consider](#the-notion-of-env_ctx) | no _(can be guessed)_ |
## Use in GitLab CI
Finally, the Docker image can be used in your GitLab CI files as follows: