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 |
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.
DisassociateLicense' | |
|
Instances
newDisassociateLicense Source #
:: 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:
$sel:licenseType: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.
DisassociateLicenseResponse' | |
|
Instances
newDisassociateLicenseResponse Source #
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.