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 |
Lists all repositories associated with the specified approval rule template.
Synopsis
- data ListRepositoriesForApprovalRuleTemplate = ListRepositoriesForApprovalRuleTemplate' {}
- newListRepositoriesForApprovalRuleTemplate :: Text -> ListRepositoriesForApprovalRuleTemplate
- listRepositoriesForApprovalRuleTemplate_nextToken :: Lens' ListRepositoriesForApprovalRuleTemplate (Maybe Text)
- listRepositoriesForApprovalRuleTemplate_maxResults :: Lens' ListRepositoriesForApprovalRuleTemplate (Maybe Int)
- listRepositoriesForApprovalRuleTemplate_approvalRuleTemplateName :: Lens' ListRepositoriesForApprovalRuleTemplate Text
- data ListRepositoriesForApprovalRuleTemplateResponse = ListRepositoriesForApprovalRuleTemplateResponse' {
- repositoryNames :: Maybe [Text]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListRepositoriesForApprovalRuleTemplateResponse :: Int -> ListRepositoriesForApprovalRuleTemplateResponse
- listRepositoriesForApprovalRuleTemplateResponse_repositoryNames :: Lens' ListRepositoriesForApprovalRuleTemplateResponse (Maybe [Text])
- listRepositoriesForApprovalRuleTemplateResponse_nextToken :: Lens' ListRepositoriesForApprovalRuleTemplateResponse (Maybe Text)
- listRepositoriesForApprovalRuleTemplateResponse_httpStatus :: Lens' ListRepositoriesForApprovalRuleTemplateResponse Int
Creating a Request
data ListRepositoriesForApprovalRuleTemplate Source #
See: newListRepositoriesForApprovalRuleTemplate
smart constructor.
ListRepositoriesForApprovalRuleTemplate' | |
|
Instances
newListRepositoriesForApprovalRuleTemplate Source #
:: Text |
|
-> ListRepositoriesForApprovalRuleTemplate |
Create a value of ListRepositoriesForApprovalRuleTemplate
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:ListRepositoriesForApprovalRuleTemplate'
, listRepositoriesForApprovalRuleTemplate_nextToken
- An enumeration token that, when provided in a request, returns the next
batch of the results.
$sel:maxResults:ListRepositoriesForApprovalRuleTemplate'
, listRepositoriesForApprovalRuleTemplate_maxResults
- A non-zero, non-negative integer used to limit the number of returned
results.
$sel:approvalRuleTemplateName:ListRepositoriesForApprovalRuleTemplate'
, listRepositoriesForApprovalRuleTemplate_approvalRuleTemplateName
- The name of the approval rule template for which you want to list
repositories that are associated with that template.
Request Lenses
listRepositoriesForApprovalRuleTemplate_nextToken :: Lens' ListRepositoriesForApprovalRuleTemplate (Maybe Text) Source #
An enumeration token that, when provided in a request, returns the next batch of the results.
listRepositoriesForApprovalRuleTemplate_maxResults :: Lens' ListRepositoriesForApprovalRuleTemplate (Maybe Int) Source #
A non-zero, non-negative integer used to limit the number of returned results.
listRepositoriesForApprovalRuleTemplate_approvalRuleTemplateName :: Lens' ListRepositoriesForApprovalRuleTemplate Text Source #
The name of the approval rule template for which you want to list repositories that are associated with that template.
Destructuring the Response
data ListRepositoriesForApprovalRuleTemplateResponse Source #
See: newListRepositoriesForApprovalRuleTemplateResponse
smart constructor.
ListRepositoriesForApprovalRuleTemplateResponse' | |
|
Instances
newListRepositoriesForApprovalRuleTemplateResponse Source #
:: Int |
|
-> ListRepositoriesForApprovalRuleTemplateResponse |
Create a value of ListRepositoriesForApprovalRuleTemplateResponse
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:repositoryNames:ListRepositoriesForApprovalRuleTemplateResponse'
, listRepositoriesForApprovalRuleTemplateResponse_repositoryNames
- A list of repository names that are associated with the specified
approval rule template.
$sel:nextToken:ListRepositoriesForApprovalRuleTemplate'
, listRepositoriesForApprovalRuleTemplateResponse_nextToken
- An enumeration token that allows the operation to batch the next results
of the operation.
$sel:httpStatus:ListRepositoriesForApprovalRuleTemplateResponse'
, listRepositoriesForApprovalRuleTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
listRepositoriesForApprovalRuleTemplateResponse_repositoryNames :: Lens' ListRepositoriesForApprovalRuleTemplateResponse (Maybe [Text]) Source #
A list of repository names that are associated with the specified approval rule template.
listRepositoriesForApprovalRuleTemplateResponse_nextToken :: Lens' ListRepositoriesForApprovalRuleTemplateResponse (Maybe Text) Source #
An enumeration token that allows the operation to batch the next results of the operation.
listRepositoriesForApprovalRuleTemplateResponse_httpStatus :: Lens' ListRepositoriesForApprovalRuleTemplateResponse Int Source #
The response's http status code.