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 approval rule templates that are associated with a specified repository.
Synopsis
- data ListAssociatedApprovalRuleTemplatesForRepository = ListAssociatedApprovalRuleTemplatesForRepository' {
- nextToken :: Maybe Text
- maxResults :: Maybe Int
- repositoryName :: Text
- newListAssociatedApprovalRuleTemplatesForRepository :: Text -> ListAssociatedApprovalRuleTemplatesForRepository
- listAssociatedApprovalRuleTemplatesForRepository_nextToken :: Lens' ListAssociatedApprovalRuleTemplatesForRepository (Maybe Text)
- listAssociatedApprovalRuleTemplatesForRepository_maxResults :: Lens' ListAssociatedApprovalRuleTemplatesForRepository (Maybe Int)
- listAssociatedApprovalRuleTemplatesForRepository_repositoryName :: Lens' ListAssociatedApprovalRuleTemplatesForRepository Text
- data ListAssociatedApprovalRuleTemplatesForRepositoryResponse = ListAssociatedApprovalRuleTemplatesForRepositoryResponse' {}
- newListAssociatedApprovalRuleTemplatesForRepositoryResponse :: Int -> ListAssociatedApprovalRuleTemplatesForRepositoryResponse
- listAssociatedApprovalRuleTemplatesForRepositoryResponse_nextToken :: Lens' ListAssociatedApprovalRuleTemplatesForRepositoryResponse (Maybe Text)
- listAssociatedApprovalRuleTemplatesForRepositoryResponse_approvalRuleTemplateNames :: Lens' ListAssociatedApprovalRuleTemplatesForRepositoryResponse (Maybe [Text])
- listAssociatedApprovalRuleTemplatesForRepositoryResponse_httpStatus :: Lens' ListAssociatedApprovalRuleTemplatesForRepositoryResponse Int
Creating a Request
data ListAssociatedApprovalRuleTemplatesForRepository Source #
See: newListAssociatedApprovalRuleTemplatesForRepository
smart constructor.
ListAssociatedApprovalRuleTemplatesForRepository' | |
|
Instances
newListAssociatedApprovalRuleTemplatesForRepository Source #
:: Text |
|
-> ListAssociatedApprovalRuleTemplatesForRepository |
Create a value of ListAssociatedApprovalRuleTemplatesForRepository
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:ListAssociatedApprovalRuleTemplatesForRepository'
, listAssociatedApprovalRuleTemplatesForRepository_nextToken
- An enumeration token that, when provided in a request, returns the next
batch of the results.
$sel:maxResults:ListAssociatedApprovalRuleTemplatesForRepository'
, listAssociatedApprovalRuleTemplatesForRepository_maxResults
- A non-zero, non-negative integer used to limit the number of returned
results.
$sel:repositoryName:ListAssociatedApprovalRuleTemplatesForRepository'
, listAssociatedApprovalRuleTemplatesForRepository_repositoryName
- The name of the repository for which you want to list all associated
approval rule templates.
Request Lenses
listAssociatedApprovalRuleTemplatesForRepository_nextToken :: Lens' ListAssociatedApprovalRuleTemplatesForRepository (Maybe Text) Source #
An enumeration token that, when provided in a request, returns the next batch of the results.
listAssociatedApprovalRuleTemplatesForRepository_maxResults :: Lens' ListAssociatedApprovalRuleTemplatesForRepository (Maybe Int) Source #
A non-zero, non-negative integer used to limit the number of returned results.
listAssociatedApprovalRuleTemplatesForRepository_repositoryName :: Lens' ListAssociatedApprovalRuleTemplatesForRepository Text Source #
The name of the repository for which you want to list all associated approval rule templates.
Destructuring the Response
data ListAssociatedApprovalRuleTemplatesForRepositoryResponse Source #
See: newListAssociatedApprovalRuleTemplatesForRepositoryResponse
smart constructor.
ListAssociatedApprovalRuleTemplatesForRepositoryResponse' | |
|
Instances
newListAssociatedApprovalRuleTemplatesForRepositoryResponse Source #
:: Int |
|
-> ListAssociatedApprovalRuleTemplatesForRepositoryResponse |
Create a value of ListAssociatedApprovalRuleTemplatesForRepositoryResponse
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:ListAssociatedApprovalRuleTemplatesForRepository'
, listAssociatedApprovalRuleTemplatesForRepositoryResponse_nextToken
- An enumeration token that allows the operation to batch the next results
of the operation.
$sel:approvalRuleTemplateNames:ListAssociatedApprovalRuleTemplatesForRepositoryResponse'
, listAssociatedApprovalRuleTemplatesForRepositoryResponse_approvalRuleTemplateNames
- The names of all approval rule templates associated with the repository.
$sel:httpStatus:ListAssociatedApprovalRuleTemplatesForRepositoryResponse'
, listAssociatedApprovalRuleTemplatesForRepositoryResponse_httpStatus
- The response's http status code.
Response Lenses
listAssociatedApprovalRuleTemplatesForRepositoryResponse_nextToken :: Lens' ListAssociatedApprovalRuleTemplatesForRepositoryResponse (Maybe Text) Source #
An enumeration token that allows the operation to batch the next results of the operation.
listAssociatedApprovalRuleTemplatesForRepositoryResponse_approvalRuleTemplateNames :: Lens' ListAssociatedApprovalRuleTemplatesForRepositoryResponse (Maybe [Text]) Source #
The names of all approval rule templates associated with the repository.
listAssociatedApprovalRuleTemplatesForRepositoryResponse_httpStatus :: Lens' ListAssociatedApprovalRuleTemplatesForRepositoryResponse Int Source #
The response's http status code.