| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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 #
Arguments
| :: Text | |
| -> GetAssessmentFramework |
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:
GetAssessmentFramework, getAssessmentFramework_frameworkId - The identifier for the framework.
Request Lenses
getAssessmentFramework_frameworkId :: Lens' GetAssessmentFramework Text Source #
The identifier for the 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:
GetAssessmentFrameworkResponse, getAssessmentFrameworkResponse_framework - The framework that the GetAssessmentFramework API returned.
$sel:httpStatus:GetAssessmentFrameworkResponse', getAssessmentFrameworkResponse_httpStatus - The response's http status code.
Response Lenses
getAssessmentFrameworkResponse_framework :: Lens' GetAssessmentFrameworkResponse (Maybe Framework) Source #
The framework that the GetAssessmentFramework API returned.
getAssessmentFrameworkResponse_httpStatus :: Lens' GetAssessmentFrameworkResponse Int Source #
The response's http status code.