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 |
Returns information about a specified approval rule template.
Synopsis
- data GetApprovalRuleTemplate = GetApprovalRuleTemplate' {}
- newGetApprovalRuleTemplate :: Text -> GetApprovalRuleTemplate
- getApprovalRuleTemplate_approvalRuleTemplateName :: Lens' GetApprovalRuleTemplate Text
- data GetApprovalRuleTemplateResponse = GetApprovalRuleTemplateResponse' {}
- newGetApprovalRuleTemplateResponse :: Int -> ApprovalRuleTemplate -> GetApprovalRuleTemplateResponse
- getApprovalRuleTemplateResponse_httpStatus :: Lens' GetApprovalRuleTemplateResponse Int
- getApprovalRuleTemplateResponse_approvalRuleTemplate :: Lens' GetApprovalRuleTemplateResponse ApprovalRuleTemplate
Creating a Request
data GetApprovalRuleTemplate Source #
See: newGetApprovalRuleTemplate
smart constructor.
GetApprovalRuleTemplate' | |
|
Instances
newGetApprovalRuleTemplate Source #
Create a value of GetApprovalRuleTemplate
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:GetApprovalRuleTemplate'
, getApprovalRuleTemplate_approvalRuleTemplateName
- The name of the approval rule template for which you want to get
information.
Request Lenses
getApprovalRuleTemplate_approvalRuleTemplateName :: Lens' GetApprovalRuleTemplate Text Source #
The name of the approval rule template for which you want to get information.
Destructuring the Response
data GetApprovalRuleTemplateResponse Source #
See: newGetApprovalRuleTemplateResponse
smart constructor.
GetApprovalRuleTemplateResponse' | |
|
Instances
newGetApprovalRuleTemplateResponse Source #
Create a value of GetApprovalRuleTemplateResponse
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:GetApprovalRuleTemplateResponse'
, getApprovalRuleTemplateResponse_httpStatus
- The response's http status code.
$sel:approvalRuleTemplate:GetApprovalRuleTemplateResponse'
, getApprovalRuleTemplateResponse_approvalRuleTemplate
- The content and structure of the approval rule template.
Response Lenses
getApprovalRuleTemplateResponse_httpStatus :: Lens' GetApprovalRuleTemplateResponse Int Source #
The response's http status code.
getApprovalRuleTemplateResponse_approvalRuleTemplate :: Lens' GetApprovalRuleTemplateResponse ApprovalRuleTemplate Source #
The content and structure of the approval rule template.