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 an approval rule template and one or more specified repositories.
Synopsis
- data BatchDisassociateApprovalRuleTemplateFromRepositories = BatchDisassociateApprovalRuleTemplateFromRepositories' {}
- newBatchDisassociateApprovalRuleTemplateFromRepositories :: Text -> BatchDisassociateApprovalRuleTemplateFromRepositories
- batchDisassociateApprovalRuleTemplateFromRepositories_approvalRuleTemplateName :: Lens' BatchDisassociateApprovalRuleTemplateFromRepositories Text
- batchDisassociateApprovalRuleTemplateFromRepositories_repositoryNames :: Lens' BatchDisassociateApprovalRuleTemplateFromRepositories [Text]
- data BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse = BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse' {}
- newBatchDisassociateApprovalRuleTemplateFromRepositoriesResponse :: Int -> BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse
- batchDisassociateApprovalRuleTemplateFromRepositoriesResponse_httpStatus :: Lens' BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse Int
- batchDisassociateApprovalRuleTemplateFromRepositoriesResponse_disassociatedRepositoryNames :: Lens' BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse [Text]
- batchDisassociateApprovalRuleTemplateFromRepositoriesResponse_errors :: Lens' BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse [BatchDisassociateApprovalRuleTemplateFromRepositoriesError]
Creating a Request
data BatchDisassociateApprovalRuleTemplateFromRepositories Source #
See: newBatchDisassociateApprovalRuleTemplateFromRepositories
smart constructor.
BatchDisassociateApprovalRuleTemplateFromRepositories' | |
|
Instances
newBatchDisassociateApprovalRuleTemplateFromRepositories Source #
:: Text |
|
-> BatchDisassociateApprovalRuleTemplateFromRepositories |
Create a value of BatchDisassociateApprovalRuleTemplateFromRepositories
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:BatchDisassociateApprovalRuleTemplateFromRepositories'
, batchDisassociateApprovalRuleTemplateFromRepositories_approvalRuleTemplateName
- The name of the template that you want to disassociate from one or more
repositories.
$sel:repositoryNames:BatchDisassociateApprovalRuleTemplateFromRepositories'
, batchDisassociateApprovalRuleTemplateFromRepositories_repositoryNames
- The repository names that you want to disassociate from the approval
rule template.
The length constraint limit is for each string in the array. The array itself can be empty.
Request Lenses
batchDisassociateApprovalRuleTemplateFromRepositories_approvalRuleTemplateName :: Lens' BatchDisassociateApprovalRuleTemplateFromRepositories Text Source #
The name of the template that you want to disassociate from one or more repositories.
batchDisassociateApprovalRuleTemplateFromRepositories_repositoryNames :: Lens' BatchDisassociateApprovalRuleTemplateFromRepositories [Text] Source #
The repository names that you want to disassociate from the approval rule template.
The length constraint limit is for each string in the array. The array itself can be empty.
Destructuring the Response
data BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse Source #
See: newBatchDisassociateApprovalRuleTemplateFromRepositoriesResponse
smart constructor.
BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse' | |
|
Instances
newBatchDisassociateApprovalRuleTemplateFromRepositoriesResponse Source #
:: Int |
|
-> BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse |
Create a value of BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse
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:httpStatus:BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse'
, batchDisassociateApprovalRuleTemplateFromRepositoriesResponse_httpStatus
- The response's http status code.
$sel:disassociatedRepositoryNames:BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse'
, batchDisassociateApprovalRuleTemplateFromRepositoriesResponse_disassociatedRepositoryNames
- A list of repository names that have had their association with the
template removed.
$sel:errors:BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse'
, batchDisassociateApprovalRuleTemplateFromRepositoriesResponse_errors
- A list of any errors that might have occurred while attempting to remove
the association between the template and the repositories.
Response Lenses
batchDisassociateApprovalRuleTemplateFromRepositoriesResponse_httpStatus :: Lens' BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse Int Source #
The response's http status code.
batchDisassociateApprovalRuleTemplateFromRepositoriesResponse_disassociatedRepositoryNames :: Lens' BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse [Text] Source #
A list of repository names that have had their association with the template removed.
batchDisassociateApprovalRuleTemplateFromRepositoriesResponse_errors :: Lens' BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse [BatchDisassociateApprovalRuleTemplateFromRepositoriesError] Source #
A list of any errors that might have occurred while attempting to remove the association between the template and the repositories.