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 |
Returns the URL of an assessment report in Audit Manager.
Synopsis
- data GetAssessmentReportUrl = GetAssessmentReportUrl' {}
- newGetAssessmentReportUrl :: Text -> Text -> GetAssessmentReportUrl
- getAssessmentReportUrl_assessmentReportId :: Lens' GetAssessmentReportUrl Text
- getAssessmentReportUrl_assessmentId :: Lens' GetAssessmentReportUrl Text
- data GetAssessmentReportUrlResponse = GetAssessmentReportUrlResponse' {
- preSignedUrl :: Maybe URL
- httpStatus :: Int
- newGetAssessmentReportUrlResponse :: Int -> GetAssessmentReportUrlResponse
- getAssessmentReportUrlResponse_preSignedUrl :: Lens' GetAssessmentReportUrlResponse (Maybe URL)
- getAssessmentReportUrlResponse_httpStatus :: Lens' GetAssessmentReportUrlResponse Int
Creating a Request
data GetAssessmentReportUrl Source #
See: newGetAssessmentReportUrl
smart constructor.
GetAssessmentReportUrl' | |
|
Instances
newGetAssessmentReportUrl Source #
:: Text | |
-> Text | |
-> GetAssessmentReportUrl |
Create a value of GetAssessmentReportUrl
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:assessmentReportId:GetAssessmentReportUrl'
, getAssessmentReportUrl_assessmentReportId
- The unique identifier for the assessment report.
GetAssessmentReportUrl
, getAssessmentReportUrl_assessmentId
- The unique identifier for the assessment.
Request Lenses
getAssessmentReportUrl_assessmentReportId :: Lens' GetAssessmentReportUrl Text Source #
The unique identifier for the assessment report.
getAssessmentReportUrl_assessmentId :: Lens' GetAssessmentReportUrl Text Source #
The unique identifier for the assessment.
Destructuring the Response
data GetAssessmentReportUrlResponse Source #
See: newGetAssessmentReportUrlResponse
smart constructor.
GetAssessmentReportUrlResponse' | |
|
Instances
Generic GetAssessmentReportUrlResponse Source # | |
Read GetAssessmentReportUrlResponse Source # | |
Show GetAssessmentReportUrlResponse Source # | |
Defined in Amazonka.AuditManager.GetAssessmentReportUrl | |
NFData GetAssessmentReportUrlResponse Source # | |
Defined in Amazonka.AuditManager.GetAssessmentReportUrl rnf :: GetAssessmentReportUrlResponse -> () # | |
Eq GetAssessmentReportUrlResponse Source # | |
type Rep GetAssessmentReportUrlResponse Source # | |
Defined in Amazonka.AuditManager.GetAssessmentReportUrl type Rep GetAssessmentReportUrlResponse = D1 ('MetaData "GetAssessmentReportUrlResponse" "Amazonka.AuditManager.GetAssessmentReportUrl" "amazonka-auditmanager-2.0-FZ7GH2VR8PBBaoTT7BhtJQ" 'False) (C1 ('MetaCons "GetAssessmentReportUrlResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "preSignedUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe URL)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetAssessmentReportUrlResponse Source #
Create a value of GetAssessmentReportUrlResponse
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:preSignedUrl:GetAssessmentReportUrlResponse'
, getAssessmentReportUrlResponse_preSignedUrl
- Undocumented member.
$sel:httpStatus:GetAssessmentReportUrlResponse'
, getAssessmentReportUrlResponse_httpStatus
- The response's http status code.
Response Lenses
getAssessmentReportUrlResponse_preSignedUrl :: Lens' GetAssessmentReportUrlResponse (Maybe URL) Source #
Undocumented member.
getAssessmentReportUrlResponse_httpStatus :: Lens' GetAssessmentReportUrlResponse Int Source #
The response's http status code.