Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates an image repository.
- 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
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.
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 #
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.
Response Lenses
crrsRepository :: Lens' CreateRepositoryResponse (Maybe Repository) Source #
The repository that was created.
crrsResponseStatus :: Lens' CreateRepositoryResponse Int Source #
- - | The response status code.