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 |
Removes the association between a template and a repository so that approval rules based on the template are not automatically created when pull requests are created in the specified repository. This does not delete any approval rules previously created for pull requests through the template association.
Synopsis
- data DisassociateApprovalRuleTemplateFromRepository = DisassociateApprovalRuleTemplateFromRepository' {}
- newDisassociateApprovalRuleTemplateFromRepository :: Text -> Text -> DisassociateApprovalRuleTemplateFromRepository
- disassociateApprovalRuleTemplateFromRepository_approvalRuleTemplateName :: Lens' DisassociateApprovalRuleTemplateFromRepository Text
- disassociateApprovalRuleTemplateFromRepository_repositoryName :: Lens' DisassociateApprovalRuleTemplateFromRepository Text
- data DisassociateApprovalRuleTemplateFromRepositoryResponse = DisassociateApprovalRuleTemplateFromRepositoryResponse' {
- newDisassociateApprovalRuleTemplateFromRepositoryResponse :: DisassociateApprovalRuleTemplateFromRepositoryResponse
Creating a Request
data DisassociateApprovalRuleTemplateFromRepository Source #
See: newDisassociateApprovalRuleTemplateFromRepository
smart constructor.
DisassociateApprovalRuleTemplateFromRepository' | |
|
Instances
newDisassociateApprovalRuleTemplateFromRepository Source #
Create a value of DisassociateApprovalRuleTemplateFromRepository
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:approvalRuleTemplateName:DisassociateApprovalRuleTemplateFromRepository'
, disassociateApprovalRuleTemplateFromRepository_approvalRuleTemplateName
- The name of the approval rule template to disassociate from a specified
repository.
$sel:repositoryName:DisassociateApprovalRuleTemplateFromRepository'
, disassociateApprovalRuleTemplateFromRepository_repositoryName
- The name of the repository you want to disassociate from the template.
Request Lenses
disassociateApprovalRuleTemplateFromRepository_approvalRuleTemplateName :: Lens' DisassociateApprovalRuleTemplateFromRepository Text Source #
The name of the approval rule template to disassociate from a specified repository.
disassociateApprovalRuleTemplateFromRepository_repositoryName :: Lens' DisassociateApprovalRuleTemplateFromRepository Text Source #
The name of the repository you want to disassociate from the template.
Destructuring the Response
data DisassociateApprovalRuleTemplateFromRepositoryResponse Source #
See: newDisassociateApprovalRuleTemplateFromRepositoryResponse
smart constructor.
Instances
newDisassociateApprovalRuleTemplateFromRepositoryResponse :: DisassociateApprovalRuleTemplateFromRepositoryResponse Source #
Create a value of DisassociateApprovalRuleTemplateFromRepositoryResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.