| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ECR.CreateRepository
Description
Creates an image repository.
Synopsis
- createRepository :: Text -> CreateRepository
- data CreateRepository
- crRepositoryName :: Lens' CreateRepository Text
- createRepositoryResponse :: Int -> CreateRepositoryResponse
- data CreateRepositoryResponse
- crrsRepository :: Lens' CreateRepositoryResponse (Maybe Repository)
- crrsResponseStatus :: Lens' CreateRepositoryResponse Int
Creating a Request
Arguments
| :: Text | |
| -> CreateRepository |
Creates a value of CreateRepository with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crRepositoryName- The name to use for the repository. The repository name may be specified on its own (such asnginx-web-app) or it can be prepended with a namespace to group the repository into a category (such asproject-a/nginx-web-app).
data CreateRepository Source #
See: createRepository smart constructor.
Instances
Request Lenses
crRepositoryName :: Lens' CreateRepository Text Source #
The name to use for the repository. The repository name may be specified on its own (such as nginx-web-app ) or it can be prepended with a namespace to group the repository into a category (such as project-a/nginx-web-app ).
Destructuring the Response
createRepositoryResponse Source #
Arguments
| :: Int | |
| -> CreateRepositoryResponse |
Creates a value of CreateRepositoryResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crrsRepository- The repository that was created.crrsResponseStatus- -- | The response status code.
data CreateRepositoryResponse Source #
See: createRepositoryResponse smart constructor.
Instances
Response Lenses
crrsRepository :: Lens' CreateRepositoryResponse (Maybe Repository) Source #
The repository that was created.
crrsResponseStatus :: Lens' CreateRepositoryResponse Int Source #
- - | The response status code.