| 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.IotTwinMaker.DeleteWorkspace
Description
Deletes a workspace.
Synopsis
- data DeleteWorkspace = DeleteWorkspace' {
- workspaceId :: Text
- newDeleteWorkspace :: Text -> DeleteWorkspace
- deleteWorkspace_workspaceId :: Lens' DeleteWorkspace Text
- data DeleteWorkspaceResponse = DeleteWorkspaceResponse' {
- httpStatus :: Int
- newDeleteWorkspaceResponse :: Int -> DeleteWorkspaceResponse
- deleteWorkspaceResponse_httpStatus :: Lens' DeleteWorkspaceResponse Int
Creating a Request
data DeleteWorkspace Source #
See: newDeleteWorkspace smart constructor.
Constructors
| DeleteWorkspace' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteWorkspace |
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:
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.
Constructors
| DeleteWorkspaceResponse' | |
Fields
| |
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.
Response Lenses
deleteWorkspaceResponse_httpStatus :: Lens' DeleteWorkspaceResponse Int Source #
The response's http status code.