| 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.Grafana.DisassociateLicense
Description
Removes the Grafana Enterprise license from a workspace.
Synopsis
- data DisassociateLicense = DisassociateLicense' {}
- newDisassociateLicense :: LicenseType -> Text -> DisassociateLicense
- disassociateLicense_licenseType :: Lens' DisassociateLicense LicenseType
- disassociateLicense_workspaceId :: Lens' DisassociateLicense Text
- data DisassociateLicenseResponse = DisassociateLicenseResponse' {}
- newDisassociateLicenseResponse :: Int -> WorkspaceDescription -> DisassociateLicenseResponse
- disassociateLicenseResponse_httpStatus :: Lens' DisassociateLicenseResponse Int
- disassociateLicenseResponse_workspace :: Lens' DisassociateLicenseResponse WorkspaceDescription
Creating a Request
data DisassociateLicense Source #
See: newDisassociateLicense smart constructor.
Constructors
| DisassociateLicense' | |
Fields
| |
Instances
newDisassociateLicense Source #
Arguments
| :: LicenseType | |
| -> Text | |
| -> DisassociateLicense |
Create a value of DisassociateLicense 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:
DisassociateLicense, disassociateLicense_licenseType - The type of license to remove from the workspace.
$sel:workspaceId:DisassociateLicense', disassociateLicense_workspaceId - The ID of the workspace to remove the Grafana Enterprise license from.
Request Lenses
disassociateLicense_licenseType :: Lens' DisassociateLicense LicenseType Source #
The type of license to remove from the workspace.
disassociateLicense_workspaceId :: Lens' DisassociateLicense Text Source #
The ID of the workspace to remove the Grafana Enterprise license from.
Destructuring the Response
data DisassociateLicenseResponse Source #
See: newDisassociateLicenseResponse smart constructor.
Constructors
| DisassociateLicenseResponse' | |
Fields
| |
Instances
newDisassociateLicenseResponse Source #
Arguments
| :: Int | |
| -> WorkspaceDescription | |
| -> DisassociateLicenseResponse |
Create a value of DisassociateLicenseResponse 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:DisassociateLicenseResponse', disassociateLicenseResponse_httpStatus - The response's http status code.
$sel:workspace:DisassociateLicenseResponse', disassociateLicenseResponse_workspace - A structure containing information about the workspace.
Response Lenses
disassociateLicenseResponse_httpStatus :: Lens' DisassociateLicenseResponse Int Source #
The response's http status code.
disassociateLicenseResponse_workspace :: Lens' DisassociateLicenseResponse WorkspaceDescription Source #
A structure containing information about the workspace.