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 |
Updates a workspace.
Synopsis
- data UpdateWorkspace = UpdateWorkspace' {
- description :: Maybe Text
- role' :: Maybe Text
- workspaceId :: Text
- newUpdateWorkspace :: Text -> UpdateWorkspace
- updateWorkspace_description :: Lens' UpdateWorkspace (Maybe Text)
- updateWorkspace_role :: Lens' UpdateWorkspace (Maybe Text)
- updateWorkspace_workspaceId :: Lens' UpdateWorkspace Text
- data UpdateWorkspaceResponse = UpdateWorkspaceResponse' {
- httpStatus :: Int
- updateDateTime :: POSIX
- newUpdateWorkspaceResponse :: Int -> UTCTime -> UpdateWorkspaceResponse
- updateWorkspaceResponse_httpStatus :: Lens' UpdateWorkspaceResponse Int
- updateWorkspaceResponse_updateDateTime :: Lens' UpdateWorkspaceResponse UTCTime
Creating a Request
data UpdateWorkspace Source #
See: newUpdateWorkspace
smart constructor.
UpdateWorkspace' | |
|
Instances
Create a value of UpdateWorkspace
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:
UpdateWorkspace
, updateWorkspace_description
- The description of the workspace.
$sel:role':UpdateWorkspace'
, updateWorkspace_role
- The ARN of the execution role associated with the workspace.
UpdateWorkspace
, updateWorkspace_workspaceId
- The ID of the workspace.
Request Lenses
updateWorkspace_description :: Lens' UpdateWorkspace (Maybe Text) Source #
The description of the workspace.
updateWorkspace_role :: Lens' UpdateWorkspace (Maybe Text) Source #
The ARN of the execution role associated with the workspace.
updateWorkspace_workspaceId :: Lens' UpdateWorkspace Text Source #
The ID of the workspace.
Destructuring the Response
data UpdateWorkspaceResponse Source #
See: newUpdateWorkspaceResponse
smart constructor.
UpdateWorkspaceResponse' | |
|
Instances
newUpdateWorkspaceResponse Source #
:: Int | |
-> UTCTime | |
-> UpdateWorkspaceResponse |
Create a value of UpdateWorkspaceResponse
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:httpStatus:UpdateWorkspaceResponse'
, updateWorkspaceResponse_httpStatus
- The response's http status code.
UpdateWorkspaceResponse
, updateWorkspaceResponse_updateDateTime
- The date and time of the current update.
Response Lenses
updateWorkspaceResponse_httpStatus :: Lens' UpdateWorkspaceResponse Int Source #
The response's http status code.
updateWorkspaceResponse_updateDateTime :: Lens' UpdateWorkspaceResponse UTCTime Source #
The date and time of the current update.