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 |
Updates the name of a specified approval rule template.
Synopsis
- data UpdateApprovalRuleTemplateName = UpdateApprovalRuleTemplateName' {}
- newUpdateApprovalRuleTemplateName :: Text -> Text -> UpdateApprovalRuleTemplateName
- updateApprovalRuleTemplateName_oldApprovalRuleTemplateName :: Lens' UpdateApprovalRuleTemplateName Text
- updateApprovalRuleTemplateName_newApprovalRuleTemplateName :: Lens' UpdateApprovalRuleTemplateName Text
- data UpdateApprovalRuleTemplateNameResponse = UpdateApprovalRuleTemplateNameResponse' {}
- newUpdateApprovalRuleTemplateNameResponse :: Int -> ApprovalRuleTemplate -> UpdateApprovalRuleTemplateNameResponse
- updateApprovalRuleTemplateNameResponse_httpStatus :: Lens' UpdateApprovalRuleTemplateNameResponse Int
- updateApprovalRuleTemplateNameResponse_approvalRuleTemplate :: Lens' UpdateApprovalRuleTemplateNameResponse ApprovalRuleTemplate
Creating a Request
data UpdateApprovalRuleTemplateName Source #
See: newUpdateApprovalRuleTemplateName
smart constructor.
UpdateApprovalRuleTemplateName' | |
|
Instances
newUpdateApprovalRuleTemplateName Source #
:: Text |
|
-> Text |
|
-> UpdateApprovalRuleTemplateName |
Create a value of UpdateApprovalRuleTemplateName
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:oldApprovalRuleTemplateName:UpdateApprovalRuleTemplateName'
, updateApprovalRuleTemplateName_oldApprovalRuleTemplateName
- The current name of the approval rule template.
$sel:newApprovalRuleTemplateName':UpdateApprovalRuleTemplateName'
, updateApprovalRuleTemplateName_newApprovalRuleTemplateName
- The new name you want to apply to the approval rule template.
Request Lenses
updateApprovalRuleTemplateName_oldApprovalRuleTemplateName :: Lens' UpdateApprovalRuleTemplateName Text Source #
The current name of the approval rule template.
updateApprovalRuleTemplateName_newApprovalRuleTemplateName :: Lens' UpdateApprovalRuleTemplateName Text Source #
The new name you want to apply to the approval rule template.
Destructuring the Response
data UpdateApprovalRuleTemplateNameResponse Source #
See: newUpdateApprovalRuleTemplateNameResponse
smart constructor.
UpdateApprovalRuleTemplateNameResponse' | |
|
Instances
newUpdateApprovalRuleTemplateNameResponse Source #
:: Int | |
-> ApprovalRuleTemplate |
|
-> UpdateApprovalRuleTemplateNameResponse |
Create a value of UpdateApprovalRuleTemplateNameResponse
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:UpdateApprovalRuleTemplateNameResponse'
, updateApprovalRuleTemplateNameResponse_httpStatus
- The response's http status code.
$sel:approvalRuleTemplate:UpdateApprovalRuleTemplateNameResponse'
, updateApprovalRuleTemplateNameResponse_approvalRuleTemplate
- The structure and content of the updated approval rule template.
Response Lenses
updateApprovalRuleTemplateNameResponse_httpStatus :: Lens' UpdateApprovalRuleTemplateNameResponse Int Source #
The response's http status code.
updateApprovalRuleTemplateNameResponse_approvalRuleTemplate :: Lens' UpdateApprovalRuleTemplateNameResponse ApprovalRuleTemplate Source #
The structure and content of the updated approval rule template.