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 |
Gets all the triggers associated with a job.
This operation returns paginated results.
- getTriggers :: GetTriggers
- data GetTriggers
- gtsNextToken :: Lens' GetTriggers (Maybe Text)
- gtsMaxResults :: Lens' GetTriggers (Maybe Natural)
- gtsDependentJobName :: Lens' GetTriggers (Maybe Text)
- getTriggersResponse :: Int -> GetTriggersResponse
- data GetTriggersResponse
- gttrsTriggers :: Lens' GetTriggersResponse [Trigger]
- gttrsNextToken :: Lens' GetTriggersResponse (Maybe Text)
- gttrsResponseStatus :: Lens' GetTriggersResponse Int
Creating a Request
getTriggers :: GetTriggers Source #
Creates a value of GetTriggers
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gtsNextToken
- A continuation token, if this is a continuation call.gtsMaxResults
- The maximum size of the response.gtsDependentJobName
- The name of the job for which to retrieve triggers. The trigger that can start this job will be returned, and if there is no such trigger, all triggers will be returned.
data GetTriggers Source #
See: getTriggers
smart constructor.
Request Lenses
gtsNextToken :: Lens' GetTriggers (Maybe Text) Source #
A continuation token, if this is a continuation call.
gtsMaxResults :: Lens' GetTriggers (Maybe Natural) Source #
The maximum size of the response.
gtsDependentJobName :: Lens' GetTriggers (Maybe Text) Source #
The name of the job for which to retrieve triggers. The trigger that can start this job will be returned, and if there is no such trigger, all triggers will be returned.
Destructuring the Response
Creates a value of GetTriggersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gttrsTriggers
- A list of triggers for the specified job.gttrsNextToken
- A continuation token, if not all the requested triggers have yet been returned.gttrsResponseStatus
- -- | The response status code.
data GetTriggersResponse Source #
See: getTriggersResponse
smart constructor.
Response Lenses
gttrsTriggers :: Lens' GetTriggersResponse [Trigger] Source #
A list of triggers for the specified job.
gttrsNextToken :: Lens' GetTriggersResponse (Maybe Text) Source #
A continuation token, if not all the requested triggers have yet been returned.
gttrsResponseStatus :: Lens' GetTriggersResponse Int Source #
- - | The response status code.