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 description for a specified approval rule template.
Synopsis
- data UpdateApprovalRuleTemplateDescription = UpdateApprovalRuleTemplateDescription' {}
- newUpdateApprovalRuleTemplateDescription :: Text -> Text -> UpdateApprovalRuleTemplateDescription
- updateApprovalRuleTemplateDescription_approvalRuleTemplateName :: Lens' UpdateApprovalRuleTemplateDescription Text
- updateApprovalRuleTemplateDescription_approvalRuleTemplateDescription :: Lens' UpdateApprovalRuleTemplateDescription Text
- data UpdateApprovalRuleTemplateDescriptionResponse = UpdateApprovalRuleTemplateDescriptionResponse' {}
- newUpdateApprovalRuleTemplateDescriptionResponse :: Int -> ApprovalRuleTemplate -> UpdateApprovalRuleTemplateDescriptionResponse
- updateApprovalRuleTemplateDescriptionResponse_httpStatus :: Lens' UpdateApprovalRuleTemplateDescriptionResponse Int
- updateApprovalRuleTemplateDescriptionResponse_approvalRuleTemplate :: Lens' UpdateApprovalRuleTemplateDescriptionResponse ApprovalRuleTemplate
Creating a Request
data UpdateApprovalRuleTemplateDescription Source #
See: newUpdateApprovalRuleTemplateDescription
smart constructor.
UpdateApprovalRuleTemplateDescription' | |
|
Instances
newUpdateApprovalRuleTemplateDescription Source #
:: Text |
|
-> Text |
|
-> UpdateApprovalRuleTemplateDescription |
Create a value of UpdateApprovalRuleTemplateDescription
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:UpdateApprovalRuleTemplateDescription'
, updateApprovalRuleTemplateDescription_approvalRuleTemplateName
- The name of the template for which you want to update the description.
$sel:approvalRuleTemplateDescription:UpdateApprovalRuleTemplateDescription'
, updateApprovalRuleTemplateDescription_approvalRuleTemplateDescription
- The updated description of the approval rule template.
Request Lenses
updateApprovalRuleTemplateDescription_approvalRuleTemplateName :: Lens' UpdateApprovalRuleTemplateDescription Text Source #
The name of the template for which you want to update the description.
updateApprovalRuleTemplateDescription_approvalRuleTemplateDescription :: Lens' UpdateApprovalRuleTemplateDescription Text Source #
The updated description of the approval rule template.
Destructuring the Response
data UpdateApprovalRuleTemplateDescriptionResponse Source #
See: newUpdateApprovalRuleTemplateDescriptionResponse
smart constructor.
UpdateApprovalRuleTemplateDescriptionResponse' | |
|
Instances
newUpdateApprovalRuleTemplateDescriptionResponse Source #
Create a value of UpdateApprovalRuleTemplateDescriptionResponse
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:UpdateApprovalRuleTemplateDescriptionResponse'
, updateApprovalRuleTemplateDescriptionResponse_httpStatus
- The response's http status code.
$sel:approvalRuleTemplate:UpdateApprovalRuleTemplateDescriptionResponse'
, updateApprovalRuleTemplateDescriptionResponse_approvalRuleTemplate
- The structure and content of the updated approval rule template.
Response Lenses
updateApprovalRuleTemplateDescriptionResponse_httpStatus :: Lens' UpdateApprovalRuleTemplateDescriptionResponse Int Source #
The response's http status code.
updateApprovalRuleTemplateDescriptionResponse_approvalRuleTemplate :: Lens' UpdateApprovalRuleTemplateDescriptionResponse ApprovalRuleTemplate Source #
The structure and content of the updated approval rule template.