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 |
Returns information about a repository.
- 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:
grRepositoryName
- The name of the repository to get information about.
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
getRepositoryResponse Source #
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:
grrsRepositoryMetadata
- Information about the repository.grrsResponseStatus
- -- | The response status code.
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.