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 |
Gets information about triggers configured for a repository.
- getRepositoryTriggers :: GetRepositoryTriggers
- data GetRepositoryTriggers
- grtRepositoryName :: Lens' GetRepositoryTriggers (Maybe Text)
- getRepositoryTriggersResponse :: Int -> GetRepositoryTriggersResponse
- data GetRepositoryTriggersResponse
- grtrsConfigurationId :: Lens' GetRepositoryTriggersResponse (Maybe Text)
- grtrsTriggers :: Lens' GetRepositoryTriggersResponse [RepositoryTrigger]
- grtrsResponseStatus :: Lens' GetRepositoryTriggersResponse Int
Creating a Request
getRepositoryTriggers :: GetRepositoryTriggers Source #
Creates a value of GetRepositoryTriggers
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grtRepositoryName
- The name of the repository for which the trigger is configured.
data GetRepositoryTriggers Source #
Represents the input of a get repository triggers operation.
See: getRepositoryTriggers
smart constructor.
Request Lenses
grtRepositoryName :: Lens' GetRepositoryTriggers (Maybe Text) Source #
The name of the repository for which the trigger is configured.
Destructuring the Response
getRepositoryTriggersResponse Source #
Creates a value of GetRepositoryTriggersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grtrsConfigurationId
- The system-generated unique ID for the trigger.grtrsTriggers
- The JSON block of configuration information for each trigger.grtrsResponseStatus
- -- | The response status code.
data GetRepositoryTriggersResponse Source #
Represents the output of a get repository triggers operation.
See: getRepositoryTriggersResponse
smart constructor.
Response Lenses
grtrsConfigurationId :: Lens' GetRepositoryTriggersResponse (Maybe Text) Source #
The system-generated unique ID for the trigger.
grtrsTriggers :: Lens' GetRepositoryTriggersResponse [RepositoryTrigger] Source #
The JSON block of configuration information for each trigger.
grtrsResponseStatus :: Lens' GetRepositoryTriggersResponse Int Source #
- - | The response status code.