| 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.UpdateWorkspaceConfiguration
Description
Updates the configuration string for the given workspace
Synopsis
- data UpdateWorkspaceConfiguration = UpdateWorkspaceConfiguration' {
- configuration :: Text
- workspaceId :: Text
- newUpdateWorkspaceConfiguration :: Text -> Text -> UpdateWorkspaceConfiguration
- updateWorkspaceConfiguration_configuration :: Lens' UpdateWorkspaceConfiguration Text
- updateWorkspaceConfiguration_workspaceId :: Lens' UpdateWorkspaceConfiguration Text
- data UpdateWorkspaceConfigurationResponse = UpdateWorkspaceConfigurationResponse' {
- httpStatus :: Int
- newUpdateWorkspaceConfigurationResponse :: Int -> UpdateWorkspaceConfigurationResponse
- updateWorkspaceConfigurationResponse_httpStatus :: Lens' UpdateWorkspaceConfigurationResponse Int
Creating a Request
data UpdateWorkspaceConfiguration Source #
See: newUpdateWorkspaceConfiguration smart constructor.
Constructors
| UpdateWorkspaceConfiguration' | |
Fields
| |
Instances
newUpdateWorkspaceConfiguration Source #
Arguments
| :: Text | |
| -> Text | |
| -> UpdateWorkspaceConfiguration |
Create a value of UpdateWorkspaceConfiguration 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:
UpdateWorkspaceConfiguration, updateWorkspaceConfiguration_configuration - The new configuration string for the workspace. For more information
about the format and configuration options available, see
Working in your Grafana workspace.
$sel:workspaceId:UpdateWorkspaceConfiguration', updateWorkspaceConfiguration_workspaceId - The ID of the workspace to update.
Request Lenses
updateWorkspaceConfiguration_configuration :: Lens' UpdateWorkspaceConfiguration Text Source #
The new configuration string for the workspace. For more information about the format and configuration options available, see Working in your Grafana workspace.
updateWorkspaceConfiguration_workspaceId :: Lens' UpdateWorkspaceConfiguration Text Source #
The ID of the workspace to update.
Destructuring the Response
data UpdateWorkspaceConfigurationResponse Source #
See: newUpdateWorkspaceConfigurationResponse smart constructor.
Constructors
| UpdateWorkspaceConfigurationResponse' | |
Fields
| |
Instances
newUpdateWorkspaceConfigurationResponse Source #
Arguments
| :: Int | |
| -> UpdateWorkspaceConfigurationResponse |
Create a value of UpdateWorkspaceConfigurationResponse 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:UpdateWorkspaceConfigurationResponse', updateWorkspaceConfigurationResponse_httpStatus - The response's http status code.
Response Lenses
updateWorkspaceConfigurationResponse_httpStatus :: Lens' UpdateWorkspaceConfigurationResponse Int Source #
The response's http status code.