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 |
Creates an association between an approval rule template and one or more specified repositories.
Synopsis
- data BatchAssociateApprovalRuleTemplateWithRepositories = BatchAssociateApprovalRuleTemplateWithRepositories' {}
- newBatchAssociateApprovalRuleTemplateWithRepositories :: Text -> BatchAssociateApprovalRuleTemplateWithRepositories
- batchAssociateApprovalRuleTemplateWithRepositories_approvalRuleTemplateName :: Lens' BatchAssociateApprovalRuleTemplateWithRepositories Text
- batchAssociateApprovalRuleTemplateWithRepositories_repositoryNames :: Lens' BatchAssociateApprovalRuleTemplateWithRepositories [Text]
- data BatchAssociateApprovalRuleTemplateWithRepositoriesResponse = BatchAssociateApprovalRuleTemplateWithRepositoriesResponse' {}
- newBatchAssociateApprovalRuleTemplateWithRepositoriesResponse :: Int -> BatchAssociateApprovalRuleTemplateWithRepositoriesResponse
- batchAssociateApprovalRuleTemplateWithRepositoriesResponse_httpStatus :: Lens' BatchAssociateApprovalRuleTemplateWithRepositoriesResponse Int
- batchAssociateApprovalRuleTemplateWithRepositoriesResponse_associatedRepositoryNames :: Lens' BatchAssociateApprovalRuleTemplateWithRepositoriesResponse [Text]
- batchAssociateApprovalRuleTemplateWithRepositoriesResponse_errors :: Lens' BatchAssociateApprovalRuleTemplateWithRepositoriesResponse [BatchAssociateApprovalRuleTemplateWithRepositoriesError]
Creating a Request
data BatchAssociateApprovalRuleTemplateWithRepositories Source #
See: newBatchAssociateApprovalRuleTemplateWithRepositories
smart constructor.
BatchAssociateApprovalRuleTemplateWithRepositories' | |
|
Instances
newBatchAssociateApprovalRuleTemplateWithRepositories Source #
:: Text |
|
-> BatchAssociateApprovalRuleTemplateWithRepositories |
Create a value of BatchAssociateApprovalRuleTemplateWithRepositories
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:BatchAssociateApprovalRuleTemplateWithRepositories'
, batchAssociateApprovalRuleTemplateWithRepositories_approvalRuleTemplateName
- The name of the template you want to associate with one or more
repositories.
$sel:repositoryNames:BatchAssociateApprovalRuleTemplateWithRepositories'
, batchAssociateApprovalRuleTemplateWithRepositories_repositoryNames
- The names of the repositories you want to associate with the template.
The length constraint limit is for each string in the array. The array itself can be empty.
Request Lenses
batchAssociateApprovalRuleTemplateWithRepositories_approvalRuleTemplateName :: Lens' BatchAssociateApprovalRuleTemplateWithRepositories Text Source #
The name of the template you want to associate with one or more repositories.
batchAssociateApprovalRuleTemplateWithRepositories_repositoryNames :: Lens' BatchAssociateApprovalRuleTemplateWithRepositories [Text] Source #
The names of the repositories you want to associate with the template.
The length constraint limit is for each string in the array. The array itself can be empty.
Destructuring the Response
data BatchAssociateApprovalRuleTemplateWithRepositoriesResponse Source #
See: newBatchAssociateApprovalRuleTemplateWithRepositoriesResponse
smart constructor.
BatchAssociateApprovalRuleTemplateWithRepositoriesResponse' | |
|
Instances
newBatchAssociateApprovalRuleTemplateWithRepositoriesResponse Source #
:: Int |
|
-> BatchAssociateApprovalRuleTemplateWithRepositoriesResponse |
Create a value of BatchAssociateApprovalRuleTemplateWithRepositoriesResponse
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:BatchAssociateApprovalRuleTemplateWithRepositoriesResponse'
, batchAssociateApprovalRuleTemplateWithRepositoriesResponse_httpStatus
- The response's http status code.
$sel:associatedRepositoryNames:BatchAssociateApprovalRuleTemplateWithRepositoriesResponse'
, batchAssociateApprovalRuleTemplateWithRepositoriesResponse_associatedRepositoryNames
- A list of names of the repositories that have been associated with the
template.
$sel:errors:BatchAssociateApprovalRuleTemplateWithRepositoriesResponse'
, batchAssociateApprovalRuleTemplateWithRepositoriesResponse_errors
- A list of any errors that might have occurred while attempting to create
the association between the template and the repositories.
Response Lenses
batchAssociateApprovalRuleTemplateWithRepositoriesResponse_httpStatus :: Lens' BatchAssociateApprovalRuleTemplateWithRepositoriesResponse Int Source #
The response's http status code.
batchAssociateApprovalRuleTemplateWithRepositoriesResponse_associatedRepositoryNames :: Lens' BatchAssociateApprovalRuleTemplateWithRepositoriesResponse [Text] Source #
A list of names of the repositories that have been associated with the template.
batchAssociateApprovalRuleTemplateWithRepositoriesResponse_errors :: Lens' BatchAssociateApprovalRuleTemplateWithRepositoriesResponse [BatchAssociateApprovalRuleTemplateWithRepositoriesError] Source #
A list of any errors that might have occurred while attempting to create the association between the template and the repositories.