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 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.
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:clientToken:DeleteWorkspace'
, deleteWorkspace_clientToken
- Optional, unique, case-sensitive, user-provided identifier to ensure the
idempotency of the request.
$sel:workspaceId: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.
Instances
Eq DeleteWorkspaceResponse Source # | |
Defined in Amazonka.AMP.DeleteWorkspace | |
Read DeleteWorkspaceResponse Source # | |
Show DeleteWorkspaceResponse Source # | |
Defined in Amazonka.AMP.DeleteWorkspace showsPrec :: Int -> DeleteWorkspaceResponse -> ShowS # show :: DeleteWorkspaceResponse -> String # showList :: [DeleteWorkspaceResponse] -> ShowS # | |
Generic DeleteWorkspaceResponse Source # | |
Defined in Amazonka.AMP.DeleteWorkspace type Rep DeleteWorkspaceResponse :: Type -> Type # | |
NFData DeleteWorkspaceResponse Source # | |
Defined in Amazonka.AMP.DeleteWorkspace rnf :: DeleteWorkspaceResponse -> () # | |
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.