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 |
Amazonka.AuditManager.GetAssessmentFramework
Description
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.
Constructors
GetAssessmentFramework' | |
Fields
|
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.
Constructors
GetAssessmentFrameworkResponse' | |
Fields
|
Instances
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.