{ "version":"2.0", "metadata":{ "apiVersion":"2020-08-18", "endpointPrefix":"grafana", "jsonVersion":"1.1", "protocol":"rest-json", "serviceFullName":"Amazon Managed Grafana", "serviceId":"grafana", "signatureVersion":"v4", "signingName":"grafana", "uid":"grafana-2020-08-18" }, "operations":{ "AssociateLicense":{ "name":"AssociateLicense", "http":{ "method":"POST", "requestUri":"/workspaces/{workspaceId}/licenses/{licenseType}", "responseCode":202 }, "input":{"shape":"AssociateLicenseRequest"}, "output":{"shape":"AssociateLicenseResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"} ], "documentation":"

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.

" }, "CreateWorkspace":{ "name":"CreateWorkspace", "http":{ "method":"POST", "requestUri":"/workspaces", "responseCode":202 }, "input":{"shape":"CreateWorkspaceRequest"}, "output":{"shape":"CreateWorkspaceResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"

Creates a workspace. In a workspace, you can create Grafana dashboards and visualizations to analyze your metrics, logs, and traces. You don't have to build, package, or deploy any hardware to run the Grafana server.

Don't use `CreateWorkspace` to modify an existing workspace. Instead, use UpdateWorkspace.

", "idempotent":true }, "CreateWorkspaceApiKey":{ "name":"CreateWorkspaceApiKey", "http":{ "method":"POST", "requestUri":"/workspaces/{workspaceId}/apikeys", "responseCode":200 }, "input":{"shape":"CreateWorkspaceApiKeyRequest"}, "output":{"shape":"CreateWorkspaceApiKeyResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"

Creates a Grafana API key for the workspace. This key can be used to authenticate requests sent to the workspace's HTTP API. See https://docs.aws.amazon.com/grafana/latest/userguide/Using-Grafana-APIs.html for available APIs and example requests.

" }, "DeleteWorkspace":{ "name":"DeleteWorkspace", "http":{ "method":"DELETE", "requestUri":"/workspaces/{workspaceId}", "responseCode":202 }, "input":{"shape":"DeleteWorkspaceRequest"}, "output":{"shape":"DeleteWorkspaceResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"} ], "documentation":"

Deletes an Amazon Managed Grafana workspace.

", "idempotent":true }, "DeleteWorkspaceApiKey":{ "name":"DeleteWorkspaceApiKey", "http":{ "method":"DELETE", "requestUri":"/workspaces/{workspaceId}/apikeys/{keyName}", "responseCode":200 }, "input":{"shape":"DeleteWorkspaceApiKeyRequest"}, "output":{"shape":"DeleteWorkspaceApiKeyResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"} ], "documentation":"

Deletes a Grafana API key for the workspace.

" }, "DescribeWorkspace":{ "name":"DescribeWorkspace", "http":{ "method":"GET", "requestUri":"/workspaces/{workspaceId}", "responseCode":200 }, "input":{"shape":"DescribeWorkspaceRequest"}, "output":{"shape":"DescribeWorkspaceResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"} ], "documentation":"

Displays information about one Amazon Managed Grafana workspace.

" }, "DescribeWorkspaceAuthentication":{ "name":"DescribeWorkspaceAuthentication", "http":{ "method":"GET", "requestUri":"/workspaces/{workspaceId}/authentication", "responseCode":200 }, "input":{"shape":"DescribeWorkspaceAuthenticationRequest"}, "output":{"shape":"DescribeWorkspaceAuthenticationResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"} ], "documentation":"

Displays information about the authentication methods used in one Amazon Managed Grafana workspace.

" }, "DescribeWorkspaceConfiguration":{ "name":"DescribeWorkspaceConfiguration", "http":{ "method":"GET", "requestUri":"/workspaces/{workspaceId}/configuration", "responseCode":200 }, "input":{"shape":"DescribeWorkspaceConfigurationRequest"}, "output":{"shape":"DescribeWorkspaceConfigurationResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"} ], "documentation":"

Gets the current configuration string for the given workspace.

" }, "DisassociateLicense":{ "name":"DisassociateLicense", "http":{ "method":"DELETE", "requestUri":"/workspaces/{workspaceId}/licenses/{licenseType}", "responseCode":202 }, "input":{"shape":"DisassociateLicenseRequest"}, "output":{"shape":"DisassociateLicenseResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"} ], "documentation":"

Removes the Grafana Enterprise license from a workspace.

" }, "ListPermissions":{ "name":"ListPermissions", "http":{ "method":"GET", "requestUri":"/workspaces/{workspaceId}/permissions", "responseCode":200 }, "input":{"shape":"ListPermissionsRequest"}, "output":{"shape":"ListPermissionsResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"} ], "documentation":"

Lists the users and groups who have the Grafana `Admin` and `Editor` roles in this workspace. If you use this operation without specifying `userId` or `groupId`, the operation returns the roles of all users and groups. If you specify a `userId` or a `groupId`, only the roles for that user or group are returned. If you do this, you can specify only one `userId` or one `groupId`.

" }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ "method":"GET", "requestUri":"/tags/{resourceArn}", "responseCode":200 }, "input":{"shape":"ListTagsForResourceRequest"}, "output":{"shape":"ListTagsForResourceResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"} ], "documentation":"

The `ListTagsForResource` operation returns the tags that are associated with the Amazon Managed Service for Grafana resource specified by the `resourceArn`. Currently, the only resource that can be tagged is a workspace.

" }, "ListVersions":{ "name":"ListVersions", "http":{ "method":"GET", "requestUri":"/versions", "responseCode":200 }, "input":{"shape":"ListVersionsRequest"}, "output":{"shape":"ListVersionsResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"} ], "documentation":"

Lists available versions of Grafana. These are available when calling `CreateWorkspace`. Optionally, include a workspace to list the versions to which it can be upgraded.

" }, "ListWorkspaces":{ "name":"ListWorkspaces", "http":{ "method":"GET", "requestUri":"/workspaces", "responseCode":200 }, "input":{"shape":"ListWorkspacesRequest"}, "output":{"shape":"ListWorkspacesResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"} ], "documentation":"

Returns a list of Amazon Managed Grafana workspaces in the account, with some information about each workspace. For more complete information about one workspace, use DescribeWorkspace.

" }, "TagResource":{ "name":"TagResource", "http":{ "method":"POST", "requestUri":"/tags/{resourceArn}", "responseCode":200 }, "input":{"shape":"TagResourceRequest"}, "output":{"shape":"TagResourceResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"} ], "documentation":"

The `TagResource` operation associates tags with an Amazon Managed Grafana resource. Currently, the only resource that can be tagged is workspaces.

If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.

" }, "UntagResource":{ "name":"UntagResource", "http":{ "method":"DELETE", "requestUri":"/tags/{resourceArn}", "responseCode":200 }, "input":{"shape":"UntagResourceRequest"}, "output":{"shape":"UntagResourceResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"} ], "documentation":"

The `UntagResource` operation removes the association of the tag with the Amazon Managed Grafana resource.

", "idempotent":true }, "UpdatePermissions":{ "name":"UpdatePermissions", "http":{ "method":"PATCH", "requestUri":"/workspaces/{workspaceId}/permissions", "responseCode":200 }, "input":{"shape":"UpdatePermissionsRequest"}, "output":{"shape":"UpdatePermissionsResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"} ], "documentation":"

Updates which users in a workspace have the Grafana `Admin` or `Editor` roles.

" }, "UpdateWorkspace":{ "name":"UpdateWorkspace", "http":{ "method":"PUT", "requestUri":"/workspaces/{workspaceId}", "responseCode":202 }, "input":{"shape":"UpdateWorkspaceRequest"}, "output":{"shape":"UpdateWorkspaceResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"} ], "documentation":"

Modifies an existing Amazon Managed Grafana workspace. If you use this operation and omit any optional parameters, the existing values of those parameters are not changed.

To modify the user authentication methods that the workspace uses, such as SAML or IAM Identity Center, use UpdateWorkspaceAuthentication.

To modify which users in the workspace have the `Admin` and `Editor` Grafana roles, use UpdatePermissions.

" }, "UpdateWorkspaceAuthentication":{ "name":"UpdateWorkspaceAuthentication", "http":{ "method":"POST", "requestUri":"/workspaces/{workspaceId}/authentication", "responseCode":200 }, "input":{"shape":"UpdateWorkspaceAuthenticationRequest"}, "output":{"shape":"UpdateWorkspaceAuthenticationResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"} ], "documentation":"

Use this operation to define the identity provider (IdP) that this workspace authenticates users from, using SAML. You can also map SAML assertion attributes to workspace user information and define which groups in the assertion attribute are to have the `Admin` and `Editor` roles in the workspace.

Changes to the authentication method for a workspace may take a few minutes to take effect.

" }, "UpdateWorkspaceConfiguration":{ "name":"UpdateWorkspaceConfiguration", "http":{ "method":"PUT", "requestUri":"/workspaces/{workspaceId}/configuration", "responseCode":202 }, "input":{"shape":"UpdateWorkspaceConfigurationRequest"}, "output":{"shape":"UpdateWorkspaceConfigurationResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"InternalServerException"} ], "documentation":"

Updates the configuration string for the given workspace

" } }, "shapes":{ "AccessDeniedException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String"} }, "documentation":"

You do not have sufficient permissions to perform this action.

", "error":{ "httpStatusCode":403, "senderFault":true }, "exception":true }, "AccountAccessType":{ "type":"string", "enum":[ "CURRENT_ACCOUNT", "ORGANIZATION" ] }, "AllowedOrganization":{ "type":"string", "max":256, "min":1 }, "AllowedOrganizations":{ "type":"list", "member":{"shape":"AllowedOrganization"} }, "ApiKeyName":{ "type":"string", "max":100, "min":1 }, "ApiKeyToken":{ "type":"string", "sensitive":true }, "AssertionAttribute":{ "type":"string", "max":256, "min":1 }, "AssertionAttributes":{ "type":"structure", "members":{ "email":{ "shape":"AssertionAttribute", "documentation":"

The name of the attribute within the SAML assertion to use as the email names for SAML users.

" }, "groups":{ "shape":"AssertionAttribute", "documentation":"

The name of the attribute within the SAML assertion to use as the user full \"friendly\" names for user groups.

" }, "login":{ "shape":"AssertionAttribute", "documentation":"

The name of the attribute within the SAML assertion to use as the login names for SAML users.

" }, "name":{ "shape":"AssertionAttribute", "documentation":"

The name of the attribute within the SAML assertion to use as the user full \"friendly\" names for SAML users.

" }, "org":{ "shape":"AssertionAttribute", "documentation":"

The name of the attribute within the SAML assertion to use as the user full \"friendly\" names for the users' organizations.

" }, "role":{ "shape":"AssertionAttribute", "documentation":"

The name of the attribute within the SAML assertion to use as the user roles.

" } }, "documentation":"

A structure that defines which attributes in the IdP assertion are to be used to define information about the users authenticated by the IdP to use the workspace.

" }, "AssociateLicenseRequest":{ "type":"structure", "required":[ "licenseType", "workspaceId" ], "members":{ "licenseType":{ "shape":"LicenseType", "documentation":"

The type of license to associate with the workspace.

", "location":"uri", "locationName":"licenseType" }, "workspaceId":{ "shape":"WorkspaceId", "documentation":"

The ID of the workspace to associate the license with.

", "location":"uri", "locationName":"workspaceId" } } }, "AssociateLicenseResponse":{ "type":"structure", "required":["workspace"], "members":{ "workspace":{ "shape":"WorkspaceDescription", "documentation":"

A structure containing data about the workspace.

" } } }, "AuthenticationDescription":{ "type":"structure", "required":["providers"], "members":{ "awsSso":{ "shape":"AwsSsoAuthentication", "documentation":"

A structure containing information about how this workspace works with IAM Identity Center.

" }, "providers":{ "shape":"AuthenticationProviders", "documentation":"

Specifies whether this workspace uses IAM Identity Center, SAML, or both methods to authenticate users to use the Grafana console in the Amazon Managed Grafana workspace.

" }, "saml":{ "shape":"SamlAuthentication", "documentation":"

A structure containing information about how this workspace works with SAML, including what attributes within the assertion are to be mapped to user information in the workspace.

" } }, "documentation":"

A structure containing information about the user authentication methods used by the workspace.

" }, "AuthenticationProviderTypes":{ "type":"string", "enum":[ "AWS_SSO", "SAML" ] }, "AuthenticationProviders":{ "type":"list", "member":{"shape":"AuthenticationProviderTypes"} }, "AuthenticationSummary":{ "type":"structure", "required":["providers"], "members":{ "providers":{ "shape":"AuthenticationProviders", "documentation":"

Specifies whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.

" }, "samlConfigurationStatus":{ "shape":"SamlConfigurationStatus", "documentation":"

Specifies whether the workplace's user authentication method is fully configured.

" } }, "documentation":"

A structure that describes whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication, and whether that authentication is fully configured.

" }, "AwsSsoAuthentication":{ "type":"structure", "members":{ "ssoClientId":{ "shape":"SSOClientId", "documentation":"

The ID of the IAM Identity Center-managed application that is created by Amazon Managed Grafana.

" } }, "documentation":"

A structure containing information about how this workspace works with IAM Identity Center.

" }, "Boolean":{ "type":"boolean", "box":true }, "ClientToken":{ "type":"string", "pattern":"^[!-~]{1,64}$" }, "ConflictException":{ "type":"structure", "required":[ "message", "resourceId", "resourceType" ], "members":{ "message":{ "shape":"String", "documentation":"

A description of the error.

" }, "resourceId":{ "shape":"String", "documentation":"

The ID of the resource that is associated with the error.

" }, "resourceType":{ "shape":"String", "documentation":"

The type of the resource that is associated with the error.

" } }, "documentation":"

A resource was in an inconsistent state during an update or a deletion.

", "error":{ "httpStatusCode":409, "senderFault":true }, "exception":true }, "CreateWorkspaceApiKeyRequest":{ "type":"structure", "required":[ "keyName", "keyRole", "secondsToLive", "workspaceId" ], "members":{ "keyName":{ "shape":"ApiKeyName", "documentation":"

Specifies the name of the key. Keynames must be unique to the workspace.

" }, "keyRole":{ "shape":"String", "documentation":"

Specifies the permission level of the key.

Valid values: `VIEWER`|`EDITOR`|`ADMIN`

" }, "secondsToLive":{ "shape":"CreateWorkspaceApiKeyRequestSecondsToLiveInteger", "documentation":"

Specifies the time in seconds until the key expires. Keys can be valid for up to 30 days.

" }, "workspaceId":{ "shape":"WorkspaceId", "documentation":"

The ID of the workspace to create an API key.

", "location":"uri", "locationName":"workspaceId" } } }, "CreateWorkspaceApiKeyRequestSecondsToLiveInteger":{ "type":"integer", "box":true, "max":2592000, "min":1 }, "CreateWorkspaceApiKeyResponse":{ "type":"structure", "required":[ "key", "keyName", "workspaceId" ], "members":{ "key":{ "shape":"ApiKeyToken", "documentation":"

The key token. Use this value as a bearer token to authenticate HTTP requests to the workspace.

" }, "keyName":{ "shape":"ApiKeyName", "documentation":"

The name of the key that was created.

" }, "workspaceId":{ "shape":"WorkspaceId", "documentation":"

The ID of the workspace that the key is valid for.

" } } }, "CreateWorkspaceRequest":{ "type":"structure", "required":[ "accountAccessType", "authenticationProviders", "permissionType" ], "members":{ "accountAccessType":{ "shape":"AccountAccessType", "documentation":"

Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account only, or whether it can also access Amazon Web Services resources in other accounts in the same organization. If you specify `ORGANIZATION`, you must specify which organizational units the workspace can access in the `workspaceOrganizationalUnits` parameter.

" }, "authenticationProviders":{ "shape":"AuthenticationProviders", "documentation":"

Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to Single Sign-On), or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana.

" }, "clientToken":{ "shape":"ClientToken", "documentation":"

A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

", "idempotencyToken":true }, "configuration":{ "shape":"OverridableConfigurationJson", "documentation":"

The configuration string for the workspace that you create. For more information about the format and configuration options available, see Working in your Grafana workspace.

", "jsonvalue":true }, "grafanaVersion":{ "shape":"GrafanaVersion", "documentation":"

Specifies the version of Grafana to support in the new workspace.

To get a list of supported version, use the `ListVersions` operation.

" }, "networkAccessControl":{ "shape":"NetworkAccessConfiguration", "documentation":"

Configuration for network access to your workspace.

When this is configured, only listed IP addresses and VPC endpoints will be able to access your workspace. Standard Grafana authentication and authorization will still be required.

If this is not configured, or is removed, then all IP addresses and VPC endpoints will be allowed. Standard Grafana authentication and authorization will still be required.

" }, "organizationRoleName":{ "shape":"OrganizationRoleName", "documentation":"

The name of an IAM role that already exists to use with Organizations to access Amazon Web Services data sources and notification channels in other accounts in an organization.

" }, "permissionType":{ "shape":"PermissionType", "documentation":"

When creating a workspace through the Amazon Web Services API, CLI or Amazon Web Services CloudFormation, you must manage IAM roles and provision the permissions that the workspace needs to use Amazon Web Services data sources and notification channels.

You must also specify a `workspaceRoleArn` for a role that you will manage for the workspace to use when accessing those datasources and notification channels.

The ability for Amazon Managed Grafana to create and update IAM roles on behalf of the user is supported only in the Amazon Managed Grafana console, where this value may be set to `SERVICE_MANAGED`.

Use only the `CUSTOMER_MANAGED` permission type when creating a workspace with the API, CLI or Amazon Web Services CloudFormation.

For more information, see Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels.

" }, "stackSetName":{ "shape":"StackSetName", "documentation":"

The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace.

" }, "tags":{ "shape":"TagMap", "documentation":"

The list of tags associated with the workspace.

" }, "vpcConfiguration":{ "shape":"VpcConfiguration", "documentation":"

The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to.

Connecting to a private VPC is not yet available in the Asia Pacific (Seoul) Region (ap-northeast-2).

" }, "workspaceDataSources":{ "shape":"DataSourceTypesList", "documentation":"

This parameter is for internal use only, and should not be used.

" }, "workspaceDescription":{ "shape":"Description", "documentation":"

A description for the workspace. This is used only to help you identify this workspace.

Pattern: `^[\\\\p{L}\\\\p{Z}\\\\p{N}\\\\p{P}]{0,2048}$`

" }, "workspaceName":{ "shape":"WorkspaceName", "documentation":"

The name for the workspace. It does not have to be unique.

" }, "workspaceNotificationDestinations":{ "shape":"NotificationDestinationsList", "documentation":"

Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed Grafana to use these channels.

" }, "workspaceOrganizationalUnits":{ "shape":"OrganizationalUnitList", "documentation":"

Specifies the organizational units that this workspace is allowed to use data sources from, if this workspace is in an account that is part of an organization.

" }, "workspaceRoleArn":{ "shape":"IamRoleArn", "documentation":"

Specified the IAM role that grants permissions to the Amazon Web Services resources that the workspace will view data from, including both data sources and notification channels. You are responsible for managing the permissions for this role as new data sources or notification channels are added.

" } } }, "CreateWorkspaceResponse":{ "type":"structure", "required":["workspace"], "members":{ "workspace":{ "shape":"WorkspaceDescription", "documentation":"

A structure containing data about the workspace that was created.

" } } }, "DataSourceType":{ "type":"string", "enum":[ "AMAZON_OPENSEARCH_SERVICE", "CLOUDWATCH", "PROMETHEUS", "XRAY", "TIMESTREAM", "SITEWISE", "ATHENA", "REDSHIFT", "TWINMAKER" ] }, "DataSourceTypesList":{ "type":"list", "member":{"shape":"DataSourceType"} }, "DeleteWorkspaceApiKeyRequest":{ "type":"structure", "required":[ "keyName", "workspaceId" ], "members":{ "keyName":{ "shape":"ApiKeyName", "documentation":"

The name of the API key to delete.

", "location":"uri", "locationName":"keyName" }, "workspaceId":{ "shape":"WorkspaceId", "documentation":"

The ID of the workspace to delete.

", "location":"uri", "locationName":"workspaceId" } } }, "DeleteWorkspaceApiKeyResponse":{ "type":"structure", "required":[ "keyName", "workspaceId" ], "members":{ "keyName":{ "shape":"ApiKeyName", "documentation":"

The name of the key that was deleted.

" }, "workspaceId":{ "shape":"WorkspaceId", "documentation":"

The ID of the workspace where the key was deleted.

" } } }, "DeleteWorkspaceRequest":{ "type":"structure", "required":["workspaceId"], "members":{ "workspaceId":{ "shape":"WorkspaceId", "documentation":"

The ID of the workspace to delete.

", "location":"uri", "locationName":"workspaceId" } } }, "DeleteWorkspaceResponse":{ "type":"structure", "required":["workspace"], "members":{ "workspace":{ "shape":"WorkspaceDescription", "documentation":"

A structure containing information about the workspace that was deleted.

" } } }, "DescribeWorkspaceAuthenticationRequest":{ "type":"structure", "required":["workspaceId"], "members":{ "workspaceId":{ "shape":"WorkspaceId", "documentation":"

The ID of the workspace to return authentication information about.

", "location":"uri", "locationName":"workspaceId" } } }, "DescribeWorkspaceAuthenticationResponse":{ "type":"structure", "required":["authentication"], "members":{ "authentication":{ "shape":"AuthenticationDescription", "documentation":"

A structure containing information about the authentication methods used in the workspace.

" } } }, "DescribeWorkspaceConfigurationRequest":{ "type":"structure", "required":["workspaceId"], "members":{ "workspaceId":{ "shape":"WorkspaceId", "documentation":"

The ID of the workspace to get configuration information for.

", "location":"uri", "locationName":"workspaceId" } } }, "DescribeWorkspaceConfigurationResponse":{ "type":"structure", "required":["configuration"], "members":{ "configuration":{ "shape":"OverridableConfigurationJson", "documentation":"

The configuration string for the workspace that you requested. For more information about the format and configuration options available, see Working in your Grafana workspace.

", "jsonvalue":true }, "grafanaVersion":{ "shape":"GrafanaVersion", "documentation":"

The supported Grafana version for the workspace.

" } } }, "DescribeWorkspaceRequest":{ "type":"structure", "required":["workspaceId"], "members":{ "workspaceId":{ "shape":"WorkspaceId", "documentation":"

The ID of the workspace to display information about.

", "location":"uri", "locationName":"workspaceId" } } }, "DescribeWorkspaceResponse":{ "type":"structure", "required":["workspace"], "members":{ "workspace":{ "shape":"WorkspaceDescription", "documentation":"

A structure containing information about the workspace.

" } } }, "Description":{ "type":"string", "max":2048, "min":0, "sensitive":true }, "DisassociateLicenseRequest":{ "type":"structure", "required":[ "licenseType", "workspaceId" ], "members":{ "licenseType":{ "shape":"LicenseType", "documentation":"

The type of license to remove from the workspace.

", "location":"uri", "locationName":"licenseType" }, "workspaceId":{ "shape":"WorkspaceId", "documentation":"

The ID of the workspace to remove the Grafana Enterprise license from.

", "location":"uri", "locationName":"workspaceId" } } }, "DisassociateLicenseResponse":{ "type":"structure", "required":["workspace"], "members":{ "workspace":{ "shape":"WorkspaceDescription", "documentation":"

A structure containing information about the workspace.

" } } }, "Endpoint":{ "type":"string", "max":2048, "min":1 }, "GrafanaVersion":{ "type":"string", "max":255, "min":1 }, "GrafanaVersionList":{ "type":"list", "member":{"shape":"GrafanaVersion"} }, "IamRoleArn":{ "type":"string", "max":2048, "min":1, "sensitive":true }, "IdpMetadata":{ "type":"structure", "members":{ "url":{ "shape":"IdpMetadataUrl", "documentation":"

The URL of the location containing the IdP metadata.

" }, "xml":{ "shape":"String", "documentation":"

The full IdP metadata, in XML format.

" } }, "documentation":"

A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace. You can specify the metadata either by providing a URL to its location in the `url` parameter, or by specifying the full metadata in XML format in the `xml` parameter. Specifying both will cause an error.

", "union":true }, "IdpMetadataUrl":{ "type":"string", "max":2048, "min":1 }, "Integer":{ "type":"integer", "box":true }, "InternalServerException":{ "type":"structure", "required":["message"], "members":{ "message":{ "shape":"String", "documentation":"

A description of the error.

" }, "retryAfterSeconds":{ "shape":"Integer", "documentation":"

How long to wait before you retry this operation.

", "location":"header", "locationName":"Retry-After" } }, "documentation":"

Unexpected error while processing the request. Retry the request.

", "error":{"httpStatusCode":500}, "exception":true, "fault":true, "retryable":{"throttling":false} }, "LicenseType":{ "type":"string", "enum":[ "ENTERPRISE", "ENTERPRISE_FREE_TRIAL" ] }, "ListPermissionsRequest":{ "type":"structure", "required":["workspaceId"], "members":{ "groupId":{ "shape":"SsoId", "documentation":"

(Optional) Limits the results to only the group that matches this ID.

", "location":"querystring", "locationName":"groupId" }, "maxResults":{ "shape":"ListPermissionsRequestMaxResultsInteger", "documentation":"

The maximum number of results to include in the response.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The token to use when requesting the next set of results. You received this token from a previous `ListPermissions` operation.

", "location":"querystring", "locationName":"nextToken" }, "userId":{ "shape":"SsoId", "documentation":"

(Optional) Limits the results to only the user that matches this ID.

", "location":"querystring", "locationName":"userId" }, "userType":{ "shape":"UserType", "documentation":"

(Optional) If you specify `SSO_USER`, then only the permissions of IAM Identity Center users are returned. If you specify `SSO_GROUP`, only the permissions of IAM Identity Center groups are returned.

", "location":"querystring", "locationName":"userType" }, "workspaceId":{ "shape":"WorkspaceId", "documentation":"

The ID of the workspace to list permissions for. This parameter is required.

", "location":"uri", "locationName":"workspaceId" } } }, "ListPermissionsRequestMaxResultsInteger":{ "type":"integer", "box":true, "max":100, "min":1 }, "ListPermissionsResponse":{ "type":"structure", "required":["permissions"], "members":{ "nextToken":{ "shape":"PaginationToken", "documentation":"

The token to use in a subsequent `ListPermissions` operation to return the next set of results.

" }, "permissions":{ "shape":"PermissionEntryList", "documentation":"

The permissions returned by the operation.

" } } }, "ListTagsForResourceRequest":{ "type":"structure", "required":["resourceArn"], "members":{ "resourceArn":{ "shape":"String", "documentation":"

The ARN of the resource the list of tags are associated with.

", "location":"uri", "locationName":"resourceArn" } } }, "ListTagsForResourceResponse":{ "type":"structure", "members":{ "tags":{ "shape":"TagMap", "documentation":"

The list of tags that are associated with the resource.

" } } }, "ListVersionsRequest":{ "type":"structure", "members":{ "maxResults":{ "shape":"ListVersionsRequestMaxResultsInteger", "documentation":"

The maximum number of results to include in the response.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The token to use when requesting the next set of results. You receive this token from a previous `ListVersions` operation.

", "location":"querystring", "locationName":"nextToken" }, "workspaceId":{ "shape":"WorkspaceId", "documentation":"

The ID of the workspace to list the available upgrade versions. If not included, lists all versions of Grafana that are supported for `CreateWorkspace`.

", "location":"querystring", "locationName":"workspace-id" } } }, "ListVersionsRequestMaxResultsInteger":{ "type":"integer", "box":true, "max":100, "min":1 }, "ListVersionsResponse":{ "type":"structure", "members":{ "grafanaVersions":{ "shape":"GrafanaVersionList", "documentation":"

The Grafana versions available to create. If a workspace ID is included in the request, the Grafana versions to which this workspace can be upgraded.

" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The token to use in a subsequent `ListVersions` operation to return the next set of results.

" } } }, "ListWorkspacesRequest":{ "type":"structure", "members":{ "maxResults":{ "shape":"ListWorkspacesRequestMaxResultsInteger", "documentation":"

The maximum number of workspaces to include in the results.

", "location":"querystring", "locationName":"maxResults" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The token for the next set of workspaces to return. (You receive this token from a previous `ListWorkspaces` operation.)

", "location":"querystring", "locationName":"nextToken" } } }, "ListWorkspacesRequestMaxResultsInteger":{ "type":"integer", "box":true, "max":100, "min":1 }, "ListWorkspacesResponse":{ "type":"structure", "required":["workspaces"], "members":{ "nextToken":{ "shape":"PaginationToken", "documentation":"

The token to use when requesting the next set of workspaces.

" }, "workspaces":{ "shape":"WorkspaceList", "documentation":"

An array of structures that contain some information about the workspaces in the account.

" } } }, "LoginValidityDuration":{"type":"integer"}, "NetworkAccessConfiguration":{ "type":"structure", "required":[ "prefixListIds", "vpceIds" ], "members":{ "prefixListIds":{ "shape":"PrefixListIds", "documentation":"

An array of prefix list IDs. A prefix list is a list of CIDR ranges of IP addresses. The IP addresses specified are allowed to access your workspace. If the list is not included in the configuration (passed an empty array) then no IP addresses are allowed to access the workspace. You create a prefix list using the Amazon VPC console.

Prefix list IDs have the format `pl-1a2b3c4d` .

For more information about prefix lists, see Group CIDR blocks using managed prefix listsin the Amazon Virtual Private Cloud User Guide.

" }, "vpceIds":{ "shape":"VpceIds", "documentation":"

An array of Amazon VPC endpoint IDs for the workspace. You can create VPC endpoints to your Amazon Managed Grafana workspace for access from within a VPC. If a `NetworkAccessConfiguration` is specified then only VPC endpoints specified here are allowed to access the workspace. If you pass in an empty array of strings, then no VPCs are allowed to access the workspace.

VPC endpoint IDs have the format `vpce-1a2b3c4d` .

For more information about creating an interface VPC endpoint, see Interface VPC endpoints in the Amazon Managed Grafana User Guide.

The only VPC endpoints that can be specified here are interface VPC endpoints for Grafana workspaces (using the `com.amazonaws.[region].grafana-workspace` service endpoint). Other VPC endpoints are ignored.

" } }, "documentation":"

The configuration settings for in-bound network access to your workspace.

When this is configured, only listed IP addresses and VPC endpoints will be able to access your workspace. Standard Grafana authentication and authorization are still required.

Access is granted to a caller that is in either the IP address list or the VPC endpoint list - they do not need to be in both.

If this is not configured, or is removed, then all IP addresses and VPC endpoints are allowed. Standard Grafana authentication and authorization are still required.

While both `prefixListIds` and `vpceIds` are required, you can pass in an empty array of strings for either parameter if you do not want to allow any of that type.

If both are passed as empty arrays, no traffic is allowed to the workspace, because only explicitly allowed connections are accepted.

" }, "NotificationDestinationType":{ "type":"string", "enum":["SNS"] }, "NotificationDestinationsList":{ "type":"list", "member":{"shape":"NotificationDestinationType"} }, "OrganizationRoleName":{ "type":"string", "max":2048, "min":1, "sensitive":true }, "OrganizationalUnit":{"type":"string"}, "OrganizationalUnitList":{ "type":"list", "member":{"shape":"OrganizationalUnit"}, "sensitive":true }, "OverridableConfigurationJson":{ "type":"string", "max":65536, "min":2 }, "PaginationToken":{"type":"string"}, "PermissionEntry":{ "type":"structure", "required":[ "role", "user" ], "members":{ "role":{ "shape":"Role", "documentation":"

Specifies whether the user or group has the `Admin`, `Editor`, or `Viewer` role.

" }, "user":{ "shape":"User", "documentation":"

A structure with the ID of the user or group with this role.

" } }, "documentation":"

A structure containing the identity of one user or group and the `Admin`, `Editor`, or `Viewer` role that they have.

" }, "PermissionEntryList":{ "type":"list", "member":{"shape":"PermissionEntry"} }, "PermissionType":{ "type":"string", "enum":[ "CUSTOMER_MANAGED", "SERVICE_MANAGED" ] }, "PrefixListId":{ "type":"string", "max":100, "min":1 }, "PrefixListIds":{ "type":"list", "member":{"shape":"PrefixListId"} }, "ResourceNotFoundException":{ "type":"structure", "required":[ "message", "resourceId", "resourceType" ], "members":{ "message":{ "shape":"String", "documentation":"

The value of a parameter in the request caused an error.

" }, "resourceId":{ "shape":"String", "documentation":"

The ID of the resource that is associated with the error.

" }, "resourceType":{ "shape":"String", "documentation":"

The type of the resource that is associated with the error.

" } }, "documentation":"

The request references a resource that does not exist.

", "error":{ "httpStatusCode":404, "senderFault":true }, "exception":true }, "Role":{ "type":"string", "enum":[ "ADMIN", "EDITOR", "VIEWER" ] }, "RoleValue":{ "type":"string", "max":256, "min":1 }, "RoleValueList":{ "type":"list", "member":{"shape":"RoleValue"}, "sensitive":true }, "RoleValues":{ "type":"structure", "members":{ "admin":{ "shape":"RoleValueList", "documentation":"

A list of groups from the SAML assertion attribute to grant the Grafana `Admin` role to.

" }, "editor":{ "shape":"RoleValueList", "documentation":"

A list of groups from the SAML assertion attribute to grant the Grafana `Editor` role to.

" } }, "documentation":"

This structure defines which groups defined in the SAML assertion attribute are to be mapped to the Grafana `Admin` and `Editor` roles in the workspace. SAML authenticated users not part of `Admin` or `Editor` role groups have `Viewer` permission over the workspace.

" }, "SSOClientId":{"type":"string"}, "SamlAuthentication":{ "type":"structure", "required":["status"], "members":{ "configuration":{ "shape":"SamlConfiguration", "documentation":"

A structure containing details about how this workspace works with SAML.

" }, "status":{ "shape":"SamlConfigurationStatus", "documentation":"

Specifies whether the workspace's SAML configuration is complete.

" } }, "documentation":"

A structure containing information about how this workspace works with SAML.

" }, "SamlConfiguration":{ "type":"structure", "required":["idpMetadata"], "members":{ "allowedOrganizations":{ "shape":"AllowedOrganizations", "documentation":"

Lists which organizations defined in the SAML assertion are allowed to use the Amazon Managed Grafana workspace. If this is empty, all organizations in the assertion attribute have access.

" }, "assertionAttributes":{ "shape":"AssertionAttributes", "documentation":"

A structure that defines which attributes in the SAML assertion are to be used to define information about the users authenticated by that IdP to use the workspace.

" }, "idpMetadata":{ "shape":"IdpMetadata", "documentation":"

A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.

" }, "loginValidityDuration":{ "shape":"LoginValidityDuration", "documentation":"

How long a sign-on session by a SAML user is valid, before the user has to sign on again.

" }, "roleValues":{ "shape":"RoleValues", "documentation":"

A structure containing arrays that map group names in the SAML assertion to the Grafana `Admin` and `Editor` roles in the workspace.

" } }, "documentation":"

A structure containing information about how this workspace works with SAML.

" }, "SamlConfigurationStatus":{ "type":"string", "enum":[ "CONFIGURED", "NOT_CONFIGURED" ] }, "SecurityGroupId":{ "type":"string", "max":255, "min":0 }, "SecurityGroupIds":{ "type":"list", "member":{"shape":"SecurityGroupId"}, "max":5, "min":1 }, "ServiceQuotaExceededException":{ "type":"structure", "required":[ "message", "quotaCode", "resourceId", "resourceType", "serviceCode" ], "members":{ "message":{ "shape":"String", "documentation":"

A description of the error.

" }, "quotaCode":{ "shape":"String", "documentation":"

The ID of the service quota that was exceeded.

" }, "resourceId":{ "shape":"String", "documentation":"

The ID of the resource that is associated with the error.

" }, "resourceType":{ "shape":"String", "documentation":"

The type of the resource that is associated with the error.

" }, "serviceCode":{ "shape":"String", "documentation":"

The value of a parameter in the request caused an error.

" } }, "documentation":"

The request would cause a service quota to be exceeded.

", "error":{ "httpStatusCode":402, "senderFault":true }, "exception":true }, "SsoId":{ "type":"string", "max":47, "min":1 }, "StackSetName":{"type":"string"}, "String":{"type":"string"}, "SubnetId":{ "type":"string", "max":255, "min":0 }, "SubnetIds":{ "type":"list", "member":{"shape":"SubnetId"}, "max":6, "min":2 }, "TagKey":{ "type":"string", "max":128, "min":1 }, "TagKeys":{ "type":"list", "member":{"shape":"TagKey"} }, "TagMap":{ "type":"map", "key":{"shape":"TagKey"}, "value":{"shape":"TagValue"}, "max":50, "min":0 }, "TagResourceRequest":{ "type":"structure", "required":[ "resourceArn", "tags" ], "members":{ "resourceArn":{ "shape":"String", "documentation":"

The ARN of the resource the tag is associated with.

", "location":"uri", "locationName":"resourceArn" }, "tags":{ "shape":"TagMap", "documentation":"

The list of tag keys and values to associate with the resource. You can associate tag keys only, tags (key and values) only or a combination of tag keys and tags.

" } } }, "TagResourceResponse":{ "type":"structure", "members":{ } }, "TagValue":{ "type":"string", "max":256, "min":0 }, "ThrottlingException":{ "type":"structure", "required":["message"], "members":{ "message":{ "shape":"String", "documentation":"

A description of the error.

" }, "quotaCode":{ "shape":"String", "documentation":"

The ID of the service quota that was exceeded.

" }, "retryAfterSeconds":{ "shape":"Integer", "documentation":"

The value of a parameter in the request caused an error.

", "location":"header", "locationName":"Retry-After" }, "serviceCode":{ "shape":"String", "documentation":"

The ID of the service that is associated with the error.

" } }, "documentation":"

The request was denied because of request throttling. Retry the request.

", "error":{ "httpStatusCode":429, "senderFault":true }, "exception":true, "retryable":{"throttling":false} }, "Timestamp":{"type":"timestamp"}, "UntagResourceRequest":{ "type":"structure", "required":[ "resourceArn", "tagKeys" ], "members":{ "resourceArn":{ "shape":"String", "documentation":"

The ARN of the resource the tag association is removed from.

", "location":"uri", "locationName":"resourceArn" }, "tagKeys":{ "shape":"TagKeys", "documentation":"

The key values of the tag to be removed from the resource.

", "location":"querystring", "locationName":"tagKeys" } } }, "UntagResourceResponse":{ "type":"structure", "members":{ } }, "UpdateAction":{ "type":"string", "enum":[ "ADD", "REVOKE" ] }, "UpdateError":{ "type":"structure", "required":[ "causedBy", "code", "message" ], "members":{ "causedBy":{ "shape":"UpdateInstruction", "documentation":"

Specifies which permission update caused the error.

" }, "code":{ "shape":"UpdateErrorCodeInteger", "documentation":"

The error code.

" }, "message":{ "shape":"String", "documentation":"

The message for this error.

" } }, "documentation":"

A structure containing information about one error encountered while performing an UpdatePermissions operation.

" }, "UpdateErrorCodeInteger":{ "type":"integer", "box":true, "max":999, "min":100 }, "UpdateErrorList":{ "type":"list", "member":{"shape":"UpdateError"} }, "UpdateInstruction":{ "type":"structure", "required":[ "action", "role", "users" ], "members":{ "action":{ "shape":"UpdateAction", "documentation":"

Specifies whether this update is to add or revoke role permissions.

" }, "role":{ "shape":"Role", "documentation":"

The role to add or revoke for the user or the group specified in `users`.

" }, "users":{ "shape":"UserList", "documentation":"

A structure that specifies the user or group to add or revoke the role for.

" } }, "documentation":"

Contains the instructions for one Grafana role permission update in a UpdatePermissions operation.

" }, "UpdateInstructionBatch":{ "type":"list", "member":{"shape":"UpdateInstruction"}, "max":20, "min":0 }, "UpdatePermissionsRequest":{ "type":"structure", "required":[ "updateInstructionBatch", "workspaceId" ], "members":{ "updateInstructionBatch":{ "shape":"UpdateInstructionBatch", "documentation":"

An array of structures that contain the permission updates to make.

" }, "workspaceId":{ "shape":"WorkspaceId", "documentation":"

The ID of the workspace to update.

", "location":"uri", "locationName":"workspaceId" } } }, "UpdatePermissionsResponse":{ "type":"structure", "required":["errors"], "members":{ "errors":{ "shape":"UpdateErrorList", "documentation":"

An array of structures that contain the errors from the operation, if any.

" } } }, "UpdateWorkspaceAuthenticationRequest":{ "type":"structure", "required":[ "authenticationProviders", "workspaceId" ], "members":{ "authenticationProviders":{ "shape":"AuthenticationProviders", "documentation":"

Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to Single Sign-On), or both to authenticate users for using the Grafana console within a workspace. For more information, see User authentication in Amazon Managed Grafana.

" }, "samlConfiguration":{ "shape":"SamlConfiguration", "documentation":"

If the workspace uses SAML, use this structure to map SAML assertion attributes to workspace user information and define which groups in the assertion attribute are to have the `Admin` and `Editor` roles in the workspace.

" }, "workspaceId":{ "shape":"WorkspaceId", "documentation":"

The ID of the workspace to update the authentication for.

", "location":"uri", "locationName":"workspaceId" } } }, "UpdateWorkspaceAuthenticationResponse":{ "type":"structure", "required":["authentication"], "members":{ "authentication":{ "shape":"AuthenticationDescription", "documentation":"

A structure that describes the user authentication for this workspace after the update is made.

" } } }, "UpdateWorkspaceConfigurationRequest":{ "type":"structure", "required":[ "configuration", "workspaceId" ], "members":{ "configuration":{ "shape":"OverridableConfigurationJson", "documentation":"

The new configuration string for the workspace. For more information about the format and configuration options available, see Working in your Grafana workspace.

", "jsonvalue":true }, "grafanaVersion":{ "shape":"GrafanaVersion", "documentation":"

Specifies the version of Grafana to support in the new workspace.

Can only be used to upgrade (for example, from 8.4 to 9.4), not downgrade (for example, from 9.4 to 8.4).

To know what versions are available to upgrade to for a specific workspace, see the `ListVersions` operation.

" }, "workspaceId":{ "shape":"WorkspaceId", "documentation":"

The ID of the workspace to update.

", "location":"uri", "locationName":"workspaceId" } } }, "UpdateWorkspaceConfigurationResponse":{ "type":"structure", "members":{ } }, "UpdateWorkspaceRequest":{ "type":"structure", "required":["workspaceId"], "members":{ "accountAccessType":{ "shape":"AccountAccessType", "documentation":"

Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account only, or whether it can also access Amazon Web Services resources in other accounts in the same organization. If you specify `ORGANIZATION`, you must specify which organizational units the workspace can access in the `workspaceOrganizationalUnits` parameter.

" }, "networkAccessControl":{ "shape":"NetworkAccessConfiguration", "documentation":"

The configuration settings for network access to your workspace.

When this is configured, only listed IP addresses and VPC endpoints will be able to access your workspace. Standard Grafana authentication and authorization will still be required.

If this is not configured, or is removed, then all IP addresses and VPC endpoints will be allowed. Standard Grafana authentication and authorization will still be required.

" }, "organizationRoleName":{ "shape":"OrganizationRoleName", "documentation":"

The name of an IAM role that already exists to use to access resources through Organizations. This can only be used with a workspace that has the `permissionType` set to `CUSTOMER_MANAGED`.

" }, "permissionType":{ "shape":"PermissionType", "documentation":"

Use this parameter if you want to change a workspace from `SERVICE_MANAGED` to `CUSTOMER_MANAGED`. This allows you to manage the permissions that the workspace uses to access datasources and notification channels. If the workspace is in a member Amazon Web Services account of an organization, and that account is not a delegated administrator account, and you want the workspace to access data sources in other Amazon Web Services accounts in the organization, you must choose `CUSTOMER_MANAGED`.

If you specify this as `CUSTOMER_MANAGED`, you must also specify a `workspaceRoleArn` that the workspace will use for accessing Amazon Web Services resources.

For more information on the role and permissions needed, see Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels

Do not use this to convert a `CUSTOMER_MANAGED` workspace to `SERVICE_MANAGED`. Do not include this parameter if you want to leave the workspace as `SERVICE_MANAGED`.

You can convert a `CUSTOMER_MANAGED` workspace to `SERVICE_MANAGED` using the Amazon Managed Grafana console. For more information, see Managing permissions for data sources and notification channels.

" }, "removeNetworkAccessConfiguration":{ "shape":"Boolean", "documentation":"

Whether to remove the network access configuration from the workspace.

Setting this to `true` and providing a `networkAccessControl` to set will return an error.

If you remove this configuration by setting this to `true`, then all IP addresses and VPC endpoints will be allowed. Standard Grafana authentication and authorization will still be required.

" }, "removeVpcConfiguration":{ "shape":"Boolean", "documentation":"

Whether to remove the VPC configuration from the workspace.

Setting this to `true` and providing a `vpcConfiguration` to set will return an error.

" }, "stackSetName":{ "shape":"StackSetName", "documentation":"

The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace.

" }, "vpcConfiguration":{ "shape":"VpcConfiguration", "documentation":"

The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to.

" }, "workspaceDataSources":{ "shape":"DataSourceTypesList", "documentation":"

This parameter is for internal use only, and should not be used.

" }, "workspaceDescription":{ "shape":"Description", "documentation":"

A description for the workspace. This is used only to help you identify this workspace.

" }, "workspaceId":{ "shape":"WorkspaceId", "documentation":"

The ID of the workspace to update.

", "location":"uri", "locationName":"workspaceId" }, "workspaceName":{ "shape":"WorkspaceName", "documentation":"

A new name for the workspace to update.

" }, "workspaceNotificationDestinations":{ "shape":"NotificationDestinationsList", "documentation":"

Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed Grafana to use these channels.

" }, "workspaceOrganizationalUnits":{ "shape":"OrganizationalUnitList", "documentation":"

Specifies the organizational units that this workspace is allowed to use data sources from, if this workspace is in an account that is part of an organization.

" }, "workspaceRoleArn":{ "shape":"IamRoleArn", "documentation":"

Specifies an IAM role that grants permissions to Amazon Web Services resources that the workspace accesses, such as data sources and notification channels. If this workspace has `permissionType` `CUSTOMER_MANAGED`, then this role is required.

" } } }, "UpdateWorkspaceResponse":{ "type":"structure", "required":["workspace"], "members":{ "workspace":{ "shape":"WorkspaceDescription", "documentation":"

A structure containing data about the workspace that was created.

" } } }, "User":{ "type":"structure", "required":[ "id", "type" ], "members":{ "id":{ "shape":"SsoId", "documentation":"

The ID of the user or group.

Pattern: `^([0-9a-fA-F]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$`

" }, "type":{ "shape":"UserType", "documentation":"

Specifies whether this is a single user or a group.

" } }, "documentation":"

A structure that specifies one user or group in the workspace.

" }, "UserList":{ "type":"list", "member":{"shape":"User"} }, "UserType":{ "type":"string", "enum":[ "SSO_USER", "SSO_GROUP" ] }, "ValidationException":{ "type":"structure", "required":[ "message", "reason" ], "members":{ "fieldList":{ "shape":"ValidationExceptionFieldList", "documentation":"

A list of fields that might be associated with the error.

" }, "message":{ "shape":"String", "documentation":"

A description of the error.

" }, "reason":{ "shape":"ValidationExceptionReason", "documentation":"

The reason that the operation failed.

" } }, "documentation":"

The value of a parameter in the request caused an error.

", "error":{ "httpStatusCode":400, "senderFault":true }, "exception":true }, "ValidationExceptionField":{ "type":"structure", "required":[ "message", "name" ], "members":{ "message":{ "shape":"String", "documentation":"

A message describing why this field couldn't be validated.

" }, "name":{ "shape":"String", "documentation":"

The name of the field that caused the validation error.

" } }, "documentation":"

A structure that contains information about a request parameter that caused an error.

" }, "ValidationExceptionFieldList":{ "type":"list", "member":{"shape":"ValidationExceptionField"} }, "ValidationExceptionReason":{ "type":"string", "enum":[ "UNKNOWN_OPERATION", "CANNOT_PARSE", "FIELD_VALIDATION_FAILED", "OTHER" ] }, "VpcConfiguration":{ "type":"structure", "required":[ "securityGroupIds", "subnetIds" ], "members":{ "securityGroupIds":{ "shape":"SecurityGroupIds", "documentation":"

The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect. Duplicates not allowed.

" }, "subnetIds":{ "shape":"SubnetIds", "documentation":"

The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect. Duplicates not allowed.

" } }, "documentation":"

The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to.

Provided `securityGroupIds` and `subnetIds` must be part of the same VPC.

Connecting to a private VPC is not yet available in the Asia Pacific (Seoul) Region (ap-northeast-2).

" }, "VpceId":{ "type":"string", "max":100, "min":1 }, "VpceIds":{ "type":"list", "member":{"shape":"VpceId"} }, "WorkspaceDescription":{ "type":"structure", "required":[ "authentication", "created", "dataSources", "endpoint", "grafanaVersion", "id", "modified", "status" ], "members":{ "accountAccessType":{ "shape":"AccountAccessType", "documentation":"

Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account only, or whether it can also access Amazon Web Services resources in other accounts in the same organization. If this is `ORGANIZATION`, the `workspaceOrganizationalUnits` parameter specifies which organizational units the workspace can access.

" }, "authentication":{ "shape":"AuthenticationSummary", "documentation":"

A structure that describes whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.

" }, "created":{ "shape":"Timestamp", "documentation":"

The date that the workspace was created.

" }, "dataSources":{ "shape":"DataSourceTypesList", "documentation":"

Specifies the Amazon Web Services data sources that have been configured to have IAM roles and permissions created to allow Amazon Managed Grafana to read data from these sources.

This list is only used when the workspace was created through the Amazon Web Services console, and the `permissionType` is `SERVICE_MANAGED`.

" }, "description":{ "shape":"Description", "documentation":"

The user-defined description of the workspace.

" }, "endpoint":{ "shape":"Endpoint", "documentation":"

The URL that users can use to access the Grafana console in the workspace.

" }, "freeTrialConsumed":{ "shape":"Boolean", "documentation":"

Specifies whether this workspace has already fully used its free trial for Grafana Enterprise.

" }, "freeTrialExpiration":{ "shape":"Timestamp", "documentation":"

If this workspace is currently in the free trial period for Grafana Enterprise, this value specifies when that free trial ends.

" }, "grafanaVersion":{ "shape":"GrafanaVersion", "documentation":"

The version of Grafana supported in this workspace.

" }, "id":{ "shape":"WorkspaceId", "documentation":"

The unique ID of this workspace.

" }, "licenseExpiration":{ "shape":"Timestamp", "documentation":"

If this workspace has a full Grafana Enterprise license, this specifies when the license ends and will need to be renewed.

" }, "licenseType":{ "shape":"LicenseType", "documentation":"

Specifies whether this workspace has a full Grafana Enterprise license or a free trial license.

" }, "modified":{ "shape":"Timestamp", "documentation":"

The most recent date that the workspace was modified.

" }, "name":{ "shape":"WorkspaceName", "documentation":"

The name of the workspace.

" }, "networkAccessControl":{ "shape":"NetworkAccessConfiguration", "documentation":"

The configuration settings for network access to your workspace.

" }, "notificationDestinations":{ "shape":"NotificationDestinationsList", "documentation":"

The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, to allow Amazon Managed Grafana to use these channels.

" }, "organizationRoleName":{ "shape":"OrganizationRoleName", "documentation":"

The name of the IAM role that is used to access resources through Organizations.

" }, "organizationalUnits":{ "shape":"OrganizationalUnitList", "documentation":"

Specifies the organizational units that this workspace is allowed to use data sources from, if this workspace is in an account that is part of an organization.

" }, "permissionType":{ "shape":"PermissionType", "documentation":"

If this is `SERVICE_MANAGED`, and the workplace was created through the Amazon Managed Grafana console, then Amazon Managed Grafana automatically creates the IAM roles and provisions the permissions that the workspace needs to use Amazon Web Services data sources and notification channels.

If this is `CUSTOMER_MANAGED`, you must manage those roles and permissions yourself.

If you are working with a workspace in a member account of an organization and that account is not a delegated administrator account, and you want the workspace to access data sources in other Amazon Web Services accounts in the organization, this parameter must be set to `CUSTOMER_MANAGED`.

For more information about converting between customer and service managed, see Managing permissions for data sources and notification channels. For more information about the roles and permissions that must be managed for customer managed workspaces, see Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels

" }, "stackSetName":{ "shape":"StackSetName", "documentation":"

The name of the CloudFormation stack set that is used to generate IAM roles to be used for this workspace.

" }, "status":{ "shape":"WorkspaceStatus", "documentation":"

The current status of the workspace.

" }, "tags":{ "shape":"TagMap", "documentation":"

The list of tags associated with the workspace.

" }, "vpcConfiguration":{ "shape":"VpcConfiguration", "documentation":"

The configuration for connecting to data sources in a private VPC (Amazon Virtual Private Cloud).

" }, "workspaceRoleArn":{ "shape":"IamRoleArn", "documentation":"

The IAM role that grants permissions to the Amazon Web Services resources that the workspace will view data from. This role must already exist.

" } }, "documentation":"

A structure containing information about an Amazon Managed Grafana workspace in your account.

" }, "WorkspaceId":{ "type":"string", "pattern":"^g-[0-9a-f]{10}$" }, "WorkspaceList":{ "type":"list", "member":{"shape":"WorkspaceSummary"} }, "WorkspaceName":{ "type":"string", "pattern":"^[a-zA-Z0-9-._~]{1,255}$", "sensitive":true }, "WorkspaceStatus":{ "type":"string", "enum":[ "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED", "VERSION_UPDATING", "VERSION_UPDATE_FAILED" ] }, "WorkspaceSummary":{ "type":"structure", "required":[ "authentication", "created", "endpoint", "grafanaVersion", "id", "modified", "status" ], "members":{ "authentication":{ "shape":"AuthenticationSummary", "documentation":"

A structure containing information about the authentication methods used in the workspace.

" }, "created":{ "shape":"Timestamp", "documentation":"

The date that the workspace was created.

" }, "description":{ "shape":"Description", "documentation":"

The customer-entered description of the workspace.

" }, "endpoint":{ "shape":"Endpoint", "documentation":"

The URL endpoint to use to access the Grafana console in the workspace.

" }, "grafanaVersion":{ "shape":"GrafanaVersion", "documentation":"

The Grafana version that the workspace is running.

" }, "id":{ "shape":"WorkspaceId", "documentation":"

The unique ID of the workspace.

" }, "modified":{ "shape":"Timestamp", "documentation":"

The most recent date that the workspace was modified.

" }, "name":{ "shape":"WorkspaceName", "documentation":"

The name of the workspace.

" }, "notificationDestinations":{ "shape":"NotificationDestinationsList", "documentation":"

The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, which allows Amazon Managed Grafana to use these channels.

" }, "status":{ "shape":"WorkspaceStatus", "documentation":"

The current status of the workspace.

" }, "tags":{ "shape":"TagMap", "documentation":"

The list of tags associated with the workspace.

" } }, "documentation":"

A structure that contains some information about one workspace in the account.

" } }, "documentation":"

Amazon Managed Grafana is a fully managed and secure data visualization service that you can use to instantly query, correlate, and visualize operational metrics, logs, and traces from multiple sources. Amazon Managed Grafana makes it easy to deploy, operate, and scale Grafana, a widely deployed data visualization tool that is popular for its extensible data support.

With Amazon Managed Grafana, you create logically isolated Grafana servers called workspaces. In a workspace, you can create Grafana dashboards and visualizations to analyze your metrics, logs, and traces without having to build, package, or deploy any hardware to run Grafana servers.

" }