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 |
Gets the web portal.
Synopsis
- data GetPortal = GetPortal' {}
- newGetPortal :: Text -> GetPortal
- getPortal_portalArn :: Lens' GetPortal Text
- data GetPortalResponse = GetPortalResponse' {
- portal :: Maybe Portal
- httpStatus :: Int
- newGetPortalResponse :: Int -> GetPortalResponse
- getPortalResponse_portal :: Lens' GetPortalResponse (Maybe Portal)
- getPortalResponse_httpStatus :: Lens' GetPortalResponse Int
Creating a Request
See: newGetPortal
smart constructor.
Instances
Create a value of GetPortal
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:
GetPortal
, getPortal_portalArn
- The ARN of the web portal.
Request Lenses
Destructuring the Response
data GetPortalResponse Source #
See: newGetPortalResponse
smart constructor.
GetPortalResponse' | |
|
Instances
Create a value of GetPortalResponse
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:portal:GetPortalResponse'
, getPortalResponse_portal
- The web portal.
$sel:httpStatus:GetPortalResponse'
, getPortalResponse_httpStatus
- The response's http status code.
Response Lenses
getPortalResponse_portal :: Lens' GetPortalResponse (Maybe Portal) Source #
The web portal.
getPortalResponse_httpStatus :: Lens' GetPortalResponse Int Source #
The response's http status code.