CreateWorkspaceApiKeyRequest

CreateWorkspaceApiKeyRequest schema from Amazon Managed Grafana API

DashboardsMonitoringObservabilityVisualization

Properties

Name Type Description
keyName object
keyRole object
secondsToLive object
View JSON Schema on GitHub

JSON Schema

amazon-managed-grafana-create-workspace-api-key-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-managed-grafana/refs/heads/main/json-schema/amazon-managed-grafana-create-workspace-api-key-request-schema.json",
  "title": "CreateWorkspaceApiKeyRequest",
  "description": "CreateWorkspaceApiKeyRequest schema from Amazon Managed Grafana API",
  "type": "object",
  "properties": {
    "keyName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ApiKeyName"
        },
        {
          "description": "Specifies the name of the key. Keynames must be unique to the workspace."
        }
      ]
    },
    "keyRole": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "<p>Specifies the permission level of the key.</p> <p> Valid values: <code>VIEWER</code>|<code>EDITOR</code>|<code>ADMIN</code> </p>"
        }
      ]
    },
    "secondsToLive": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CreateWorkspaceApiKeyRequestSecondsToLiveInteger"
        },
        {
          "description": "Specifies the time in seconds until the key expires. Keys can be valid for up to 30 days."
        }
      ]
    }
  },
  "required": [
    "keyName",
    "keyRole",
    "secondsToLive"
  ]
}