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 |
Deletes an Amazon Managed Grafana workspace.
Synopsis
- data DeleteWorkspace = DeleteWorkspace' {
- workspaceId :: Text
- newDeleteWorkspace :: Text -> DeleteWorkspace
- deleteWorkspace_workspaceId :: Lens' DeleteWorkspace Text
- data DeleteWorkspaceResponse = DeleteWorkspaceResponse' {}
- newDeleteWorkspaceResponse :: Int -> WorkspaceDescription -> DeleteWorkspaceResponse
- deleteWorkspaceResponse_httpStatus :: Lens' DeleteWorkspaceResponse Int
- deleteWorkspaceResponse_workspace :: Lens' DeleteWorkspaceResponse WorkspaceDescription
Creating a Request
data DeleteWorkspace Source #
See: newDeleteWorkspace
smart constructor.
DeleteWorkspace' | |
|
Instances
Create a value of DeleteWorkspace
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:workspaceId:DeleteWorkspace'
, deleteWorkspace_workspaceId
- The ID of the workspace to delete.
Request Lenses
deleteWorkspace_workspaceId :: Lens' DeleteWorkspace Text Source #
The ID of the workspace to delete.
Destructuring the Response
data DeleteWorkspaceResponse Source #
See: newDeleteWorkspaceResponse
smart constructor.
DeleteWorkspaceResponse' | |
|
Instances
newDeleteWorkspaceResponse Source #
Create a value of DeleteWorkspaceResponse
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:DeleteWorkspaceResponse'
, deleteWorkspaceResponse_httpStatus
- The response's http status code.
$sel:workspace:DeleteWorkspaceResponse'
, deleteWorkspaceResponse_workspace
- A structure containing information about the workspace that was deleted.
Response Lenses
deleteWorkspaceResponse_httpStatus :: Lens' DeleteWorkspaceResponse Int Source #
The response's http status code.
deleteWorkspaceResponse_workspace :: Lens' DeleteWorkspaceResponse WorkspaceDescription Source #
A structure containing information about the workspace that was deleted.