Copyright | (c) 2013-2021 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 |
Gets all the triggers associated with a job.
This operation returns paginated results.
Synopsis
- data GetTriggers = GetTriggers' {}
- newGetTriggers :: GetTriggers
- getTriggers_nextToken :: Lens' GetTriggers (Maybe Text)
- getTriggers_maxResults :: Lens' GetTriggers (Maybe Natural)
- getTriggers_dependentJobName :: Lens' GetTriggers (Maybe Text)
- data GetTriggersResponse = GetTriggersResponse' {}
- newGetTriggersResponse :: Int -> GetTriggersResponse
- getTriggersResponse_triggers :: Lens' GetTriggersResponse (Maybe [Trigger])
- getTriggersResponse_nextToken :: Lens' GetTriggersResponse (Maybe Text)
- getTriggersResponse_httpStatus :: Lens' GetTriggersResponse Int
Creating a Request
data GetTriggers Source #
See: newGetTriggers
smart constructor.
GetTriggers' | |
|
Instances
newGetTriggers :: GetTriggers Source #
Create a value of GetTriggers
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:GetTriggers'
, getTriggers_nextToken
- A continuation token, if this is a continuation call.
$sel:maxResults:GetTriggers'
, getTriggers_maxResults
- The maximum size of the response.
$sel:dependentJobName:GetTriggers'
, getTriggers_dependentJobName
- The name of the job to retrieve triggers for. The trigger that can start
this job is returned, and if there is no such trigger, all triggers are
returned.
Request Lenses
getTriggers_nextToken :: Lens' GetTriggers (Maybe Text) Source #
A continuation token, if this is a continuation call.
getTriggers_maxResults :: Lens' GetTriggers (Maybe Natural) Source #
The maximum size of the response.
getTriggers_dependentJobName :: Lens' GetTriggers (Maybe Text) Source #
The name of the job to retrieve triggers for. The trigger that can start this job is returned, and if there is no such trigger, all triggers are returned.
Destructuring the Response
data GetTriggersResponse Source #
See: newGetTriggersResponse
smart constructor.
Instances
newGetTriggersResponse Source #
Create a value of GetTriggersResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:triggers:GetTriggersResponse'
, getTriggersResponse_triggers
- A list of triggers for the specified job.
$sel:nextToken:GetTriggers'
, getTriggersResponse_nextToken
- A continuation token, if not all the requested triggers have yet been
returned.
$sel:httpStatus:GetTriggersResponse'
, getTriggersResponse_httpStatus
- The response's http status code.
Response Lenses
getTriggersResponse_triggers :: Lens' GetTriggersResponse (Maybe [Trigger]) Source #
A list of triggers for the specified job.
getTriggersResponse_nextToken :: Lens' GetTriggersResponse (Maybe Text) Source #
A continuation token, if not all the requested triggers have yet been returned.
getTriggersResponse_httpStatus :: Lens' GetTriggersResponse Int Source #
The response's http status code.