| 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.AMP.DeleteWorkspace
Description
Deletes an AMP workspace.
Synopsis
- data DeleteWorkspace = DeleteWorkspace' {
- clientToken :: Maybe Text
- workspaceId :: Text
- newDeleteWorkspace :: Text -> DeleteWorkspace
- deleteWorkspace_clientToken :: Lens' DeleteWorkspace (Maybe Text)
- deleteWorkspace_workspaceId :: Lens' DeleteWorkspace Text
- data DeleteWorkspaceResponse = DeleteWorkspaceResponse' {
- newDeleteWorkspaceResponse :: DeleteWorkspaceResponse
Creating a Request
data DeleteWorkspace Source #
Represents the input of a DeleteWorkspace operation.
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:
$sel:clientToken:DeleteWorkspace', deleteWorkspace_clientToken - Optional, unique, case-sensitive, user-provided identifier to ensure the
idempotency of the request.
DeleteWorkspace, deleteWorkspace_workspaceId - The ID of the workspace to delete.
Request Lenses
deleteWorkspace_clientToken :: Lens' DeleteWorkspace (Maybe Text) Source #
Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
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' | |
Instances
| Generic DeleteWorkspaceResponse Source # | |
Defined in Amazonka.AMP.DeleteWorkspace Associated Types type Rep DeleteWorkspaceResponse :: Type -> Type # Methods from :: DeleteWorkspaceResponse -> Rep DeleteWorkspaceResponse x # to :: Rep DeleteWorkspaceResponse x -> DeleteWorkspaceResponse # | |
| Read DeleteWorkspaceResponse Source # | |
Defined in Amazonka.AMP.DeleteWorkspace | |
| Show DeleteWorkspaceResponse Source # | |
Defined in Amazonka.AMP.DeleteWorkspace Methods showsPrec :: Int -> DeleteWorkspaceResponse -> ShowS # show :: DeleteWorkspaceResponse -> String # showList :: [DeleteWorkspaceResponse] -> ShowS # | |
| NFData DeleteWorkspaceResponse Source # | |
Defined in Amazonka.AMP.DeleteWorkspace Methods rnf :: DeleteWorkspaceResponse -> () # | |
| Eq DeleteWorkspaceResponse Source # | |
Defined in Amazonka.AMP.DeleteWorkspace Methods (==) :: DeleteWorkspaceResponse -> DeleteWorkspaceResponse -> Bool # (/=) :: DeleteWorkspaceResponse -> DeleteWorkspaceResponse -> Bool # | |
| type Rep DeleteWorkspaceResponse Source # | |
newDeleteWorkspaceResponse :: DeleteWorkspaceResponse Source #
Create a value of DeleteWorkspaceResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.