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 |
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.
UpdateWorkspaceConfiguration' | |
|
Instances
newUpdateWorkspaceConfiguration Source #
:: 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.
UpdateWorkspaceConfigurationResponse' | |
|
Instances
Generic UpdateWorkspaceConfigurationResponse Source # | |
Defined in Amazonka.Grafana.UpdateWorkspaceConfiguration type Rep UpdateWorkspaceConfigurationResponse :: Type -> Type # | |
Read UpdateWorkspaceConfigurationResponse Source # | |
Show UpdateWorkspaceConfigurationResponse Source # | |
NFData UpdateWorkspaceConfigurationResponse Source # | |
Defined in Amazonka.Grafana.UpdateWorkspaceConfiguration rnf :: UpdateWorkspaceConfigurationResponse -> () # | |
Eq UpdateWorkspaceConfigurationResponse Source # | |
type Rep UpdateWorkspaceConfigurationResponse Source # | |
Defined in Amazonka.Grafana.UpdateWorkspaceConfiguration type Rep UpdateWorkspaceConfigurationResponse = D1 ('MetaData "UpdateWorkspaceConfigurationResponse" "Amazonka.Grafana.UpdateWorkspaceConfiguration" "amazonka-grafana-2.0-1hXXW2cgZWZJGJ3AoD5xOB" 'False) (C1 ('MetaCons "UpdateWorkspaceConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateWorkspaceConfigurationResponse Source #
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.