Copyright | (c) 2013-2015 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 |
Gets information about a repository.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.
See: AWS API Reference for GetRepository.
- getRepository :: Text -> GetRepository
- data GetRepository
- grRepositoryName :: Lens' GetRepository Text
- getRepositoryResponse :: Int -> GetRepositoryResponse
- data GetRepositoryResponse
- grrsRepositoryMetadata :: Lens' GetRepositoryResponse (Maybe RepositoryMetadata)
- grrsResponseStatus :: Lens' GetRepositoryResponse Int
Creating a Request
Creates a value of GetRepository
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetRepository Source
Represents the input of a get repository operation.
See: getRepository
smart constructor.
Request Lenses
grRepositoryName :: Lens' GetRepository Text Source
The name of the repository to get information about.
Destructuring the Response
Creates a value of GetRepositoryResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetRepositoryResponse Source
Represents the output of a get repository operation.
See: getRepositoryResponse
smart constructor.
Response Lenses
grrsRepositoryMetadata :: Lens' GetRepositoryResponse (Maybe RepositoryMetadata) Source
Information about the repository.
grrsResponseStatus :: Lens' GetRepositoryResponse Int Source
The response status code.