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 a framework from Audit Manager.
Synopsis
- data GetAssessmentFramework = GetAssessmentFramework' {
- frameworkId :: Text
- newGetAssessmentFramework :: Text -> GetAssessmentFramework
- getAssessmentFramework_frameworkId :: Lens' GetAssessmentFramework Text
- data GetAssessmentFrameworkResponse = GetAssessmentFrameworkResponse' {
- framework :: Maybe Framework
- httpStatus :: Int
- newGetAssessmentFrameworkResponse :: Int -> GetAssessmentFrameworkResponse
- getAssessmentFrameworkResponse_framework :: Lens' GetAssessmentFrameworkResponse (Maybe Framework)
- getAssessmentFrameworkResponse_httpStatus :: Lens' GetAssessmentFrameworkResponse Int
Creating a Request
data GetAssessmentFramework Source #
See: newGetAssessmentFramework
smart constructor.
GetAssessmentFramework' | |
|
Instances
newGetAssessmentFramework Source #
Create a value of GetAssessmentFramework
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:frameworkId:GetAssessmentFramework'
, getAssessmentFramework_frameworkId
- The identifier for the specified framework.
Request Lenses
getAssessmentFramework_frameworkId :: Lens' GetAssessmentFramework Text Source #
The identifier for the specified framework.
Destructuring the Response
data GetAssessmentFrameworkResponse Source #
See: newGetAssessmentFrameworkResponse
smart constructor.
GetAssessmentFrameworkResponse' | |
|
Instances
Eq GetAssessmentFrameworkResponse Source # | |
Read GetAssessmentFrameworkResponse Source # | |
Show GetAssessmentFrameworkResponse Source # | |
Defined in Amazonka.AuditManager.GetAssessmentFramework | |
Generic GetAssessmentFrameworkResponse Source # | |
NFData GetAssessmentFrameworkResponse Source # | |
Defined in Amazonka.AuditManager.GetAssessmentFramework rnf :: GetAssessmentFrameworkResponse -> () # | |
type Rep GetAssessmentFrameworkResponse Source # | |
Defined in Amazonka.AuditManager.GetAssessmentFramework type Rep GetAssessmentFrameworkResponse = D1 ('MetaData "GetAssessmentFrameworkResponse" "Amazonka.AuditManager.GetAssessmentFramework" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" 'False) (C1 ('MetaCons "GetAssessmentFrameworkResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "framework") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Framework)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetAssessmentFrameworkResponse Source #
Create a value of GetAssessmentFrameworkResponse
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:framework:GetAssessmentFrameworkResponse'
, getAssessmentFrameworkResponse_framework
- The framework returned by the GetAssessmentFramework
API.
$sel:httpStatus:GetAssessmentFrameworkResponse'
, getAssessmentFrameworkResponse_httpStatus
- The response's http status code.
Response Lenses
getAssessmentFrameworkResponse_framework :: Lens' GetAssessmentFrameworkResponse (Maybe Framework) Source #
The framework returned by the GetAssessmentFramework
API.
getAssessmentFrameworkResponse_httpStatus :: Lens' GetAssessmentFrameworkResponse Int Source #
The response's http status code.