| 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.WorkSpacesWeb.UpdatePortal
Description
Updates a web portal.
Synopsis
- data UpdatePortal = UpdatePortal' {}
- newUpdatePortal :: Text -> UpdatePortal
- updatePortal_displayName :: Lens' UpdatePortal (Maybe Text)
- updatePortal_portalArn :: Lens' UpdatePortal Text
- data UpdatePortalResponse = UpdatePortalResponse' {
- portal :: Maybe Portal
- httpStatus :: Int
- newUpdatePortalResponse :: Int -> UpdatePortalResponse
- updatePortalResponse_portal :: Lens' UpdatePortalResponse (Maybe Portal)
- updatePortalResponse_httpStatus :: Lens' UpdatePortalResponse Int
Creating a Request
data UpdatePortal Source #
See: newUpdatePortal smart constructor.
Constructors
| UpdatePortal' | |
Instances
Arguments
| :: Text | |
| -> UpdatePortal |
Create a value of UpdatePortal 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:
UpdatePortal, updatePortal_displayName - The name of the web portal. This is not visible to users who log into
the web portal.
UpdatePortal, updatePortal_portalArn - The ARN of the web portal.
Request Lenses
updatePortal_displayName :: Lens' UpdatePortal (Maybe Text) Source #
The name of the web portal. This is not visible to users who log into the web portal.
updatePortal_portalArn :: Lens' UpdatePortal Text Source #
The ARN of the web portal.
Destructuring the Response
data UpdatePortalResponse Source #
See: newUpdatePortalResponse smart constructor.
Constructors
| UpdatePortalResponse' | |
Fields
| |
Instances
newUpdatePortalResponse Source #
Arguments
| :: Int | |
| -> UpdatePortalResponse |
Create a value of UpdatePortalResponse 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:UpdatePortalResponse', updatePortalResponse_portal - The web portal.
$sel:httpStatus:UpdatePortalResponse', updatePortalResponse_httpStatus - The response's http status code.
Response Lenses
updatePortalResponse_portal :: Lens' UpdatePortalResponse (Maybe Portal) Source #
The web portal.
updatePortalResponse_httpStatus :: Lens' UpdatePortalResponse Int Source #
The response's http status code.