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 |
Assigns a Grafana Enterprise license to a workspace. Upgrading to Grafana Enterprise incurs additional fees. For more information, see Upgrade a workspace to Grafana Enterprise.
Synopsis
- data AssociateLicense = AssociateLicense' {}
- newAssociateLicense :: LicenseType -> Text -> AssociateLicense
- associateLicense_licenseType :: Lens' AssociateLicense LicenseType
- associateLicense_workspaceId :: Lens' AssociateLicense Text
- data AssociateLicenseResponse = AssociateLicenseResponse' {}
- newAssociateLicenseResponse :: Int -> WorkspaceDescription -> AssociateLicenseResponse
- associateLicenseResponse_httpStatus :: Lens' AssociateLicenseResponse Int
- associateLicenseResponse_workspace :: Lens' AssociateLicenseResponse WorkspaceDescription
Creating a Request
data AssociateLicense Source #
See: newAssociateLicense
smart constructor.
AssociateLicense' | |
|
Instances
:: LicenseType | |
-> Text | |
-> AssociateLicense |
Create a value of AssociateLicense
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:AssociateLicense'
, associateLicense_licenseType
- The type of license to associate with the workspace.
$sel:workspaceId:AssociateLicense'
, associateLicense_workspaceId
- The ID of the workspace to associate the license with.
Request Lenses
associateLicense_licenseType :: Lens' AssociateLicense LicenseType Source #
The type of license to associate with the workspace.
associateLicense_workspaceId :: Lens' AssociateLicense Text Source #
The ID of the workspace to associate the license with.
Destructuring the Response
data AssociateLicenseResponse Source #
See: newAssociateLicenseResponse
smart constructor.
AssociateLicenseResponse' | |
|
Instances
newAssociateLicenseResponse Source #
Create a value of AssociateLicenseResponse
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:AssociateLicenseResponse'
, associateLicenseResponse_httpStatus
- The response's http status code.
$sel:workspace:AssociateLicenseResponse'
, associateLicenseResponse_workspace
- A structure containing data about the workspace.
Response Lenses
associateLicenseResponse_httpStatus :: Lens' AssociateLicenseResponse Int Source #
The response's http status code.
associateLicenseResponse_workspace :: Lens' AssociateLicenseResponse WorkspaceDescription Source #
A structure containing data about the workspace.