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 information about triggers configured for a repository.
Synopsis
- data GetRepositoryTriggers = GetRepositoryTriggers' {}
- newGetRepositoryTriggers :: Text -> GetRepositoryTriggers
- getRepositoryTriggers_repositoryName :: Lens' GetRepositoryTriggers Text
- data GetRepositoryTriggersResponse = GetRepositoryTriggersResponse' {}
- newGetRepositoryTriggersResponse :: Int -> GetRepositoryTriggersResponse
- getRepositoryTriggersResponse_configurationId :: Lens' GetRepositoryTriggersResponse (Maybe Text)
- getRepositoryTriggersResponse_triggers :: Lens' GetRepositoryTriggersResponse (Maybe [RepositoryTrigger])
- getRepositoryTriggersResponse_httpStatus :: Lens' GetRepositoryTriggersResponse Int
Creating a Request
data GetRepositoryTriggers Source #
Represents the input of a get repository triggers operation.
See: newGetRepositoryTriggers
smart constructor.
GetRepositoryTriggers' | |
|
Instances
newGetRepositoryTriggers Source #
Create a value of GetRepositoryTriggers
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:repositoryName:GetRepositoryTriggers'
, getRepositoryTriggers_repositoryName
- The name of the repository for which the trigger is configured.
Request Lenses
getRepositoryTriggers_repositoryName :: Lens' GetRepositoryTriggers Text Source #
The name of the repository for which the trigger is configured.
Destructuring the Response
data GetRepositoryTriggersResponse Source #
Represents the output of a get repository triggers operation.
See: newGetRepositoryTriggersResponse
smart constructor.
GetRepositoryTriggersResponse' | |
|
Instances
newGetRepositoryTriggersResponse Source #
Create a value of GetRepositoryTriggersResponse
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:configurationId:GetRepositoryTriggersResponse'
, getRepositoryTriggersResponse_configurationId
- The system-generated unique ID for the trigger.
$sel:triggers:GetRepositoryTriggersResponse'
, getRepositoryTriggersResponse_triggers
- The JSON block of configuration information for each trigger.
$sel:httpStatus:GetRepositoryTriggersResponse'
, getRepositoryTriggersResponse_httpStatus
- The response's http status code.
Response Lenses
getRepositoryTriggersResponse_configurationId :: Lens' GetRepositoryTriggersResponse (Maybe Text) Source #
The system-generated unique ID for the trigger.
getRepositoryTriggersResponse_triggers :: Lens' GetRepositoryTriggersResponse (Maybe [RepositoryTrigger]) Source #
The JSON block of configuration information for each trigger.
getRepositoryTriggersResponse_httpStatus :: Lens' GetRepositoryTriggersResponse Int Source #
The response's http status code.