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 the URL of a specified 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 identifier for the assessment report.
$sel:assessmentId:GetAssessmentReportUrl'
, getAssessmentReportUrl_assessmentId
- The identifier for the specified assessment.
Request Lenses
getAssessmentReportUrl_assessmentReportId :: Lens' GetAssessmentReportUrl Text Source #
The identifier for the assessment report.
getAssessmentReportUrl_assessmentId :: Lens' GetAssessmentReportUrl Text Source #
The identifier for the specified assessment.
Destructuring the Response
data GetAssessmentReportUrlResponse Source #
See: newGetAssessmentReportUrlResponse
smart constructor.
GetAssessmentReportUrlResponse' | |
|
Instances
Eq GetAssessmentReportUrlResponse Source # | |
Read GetAssessmentReportUrlResponse Source # | |
Show GetAssessmentReportUrlResponse Source # | |
Defined in Amazonka.AuditManager.GetAssessmentReportUrl | |
Generic GetAssessmentReportUrlResponse Source # | |
NFData GetAssessmentReportUrlResponse Source # | |
Defined in Amazonka.AuditManager.GetAssessmentReportUrl rnf :: GetAssessmentReportUrlResponse -> () # | |
type Rep GetAssessmentReportUrlResponse Source # | |
Defined in Amazonka.AuditManager.GetAssessmentReportUrl type Rep GetAssessmentReportUrlResponse = D1 ('MetaData "GetAssessmentReportUrlResponse" "Amazonka.AuditManager.GetAssessmentReportUrl" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" '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.