1{
2  "version":"2.0",
3  "metadata":{
4    "apiVersion":"2020-08-18",
5    "endpointPrefix":"grafana",
6    "jsonVersion":"1.1",
7    "protocol":"rest-json",
8    "serviceFullName":"Amazon Managed Grafana",
9    "serviceId":"grafana",
10    "signatureVersion":"v4",
11    "signingName":"grafana",
12    "uid":"grafana-2020-08-18"
13  },
14  "operations":{
15    "AssociateLicense":{
16      "name":"AssociateLicense",
17      "http":{
18        "method":"POST",
19        "requestUri":"/workspaces/{workspaceId}/licenses/{licenseType}",
20        "responseCode":202
21      },
22      "input":{"shape":"AssociateLicenseRequest"},
23      "output":{"shape":"AssociateLicenseResponse"},
24      "errors":[
25        {"shape":"ResourceNotFoundException"},
26        {"shape":"ThrottlingException"},
27        {"shape":"ValidationException"},
28        {"shape":"AccessDeniedException"},
29        {"shape":"InternalServerException"}
30      ],
31      "documentation":"<p>Assigns a Grafana Enterprise license to a workspace. Upgrading to Grafana Enterprise incurs additional fees. For more information, see <a href=\"https://docs.aws.amazon.com/grafana/latest/userguide/upgrade-to-Grafana-Enterprise.html\">Upgrade a workspace to Grafana Enterprise</a>.</p>"
32    },
33    "CreateWorkspace":{
34      "name":"CreateWorkspace",
35      "http":{
36        "method":"POST",
37        "requestUri":"/workspaces",
38        "responseCode":202
39      },
40      "input":{"shape":"CreateWorkspaceRequest"},
41      "output":{"shape":"CreateWorkspaceResponse"},
42      "errors":[
43        {"shape":"ThrottlingException"},
44        {"shape":"ConflictException"},
45        {"shape":"ValidationException"},
46        {"shape":"AccessDeniedException"},
47        {"shape":"InternalServerException"},
48        {"shape":"ServiceQuotaExceededException"}
49      ],
50      "documentation":"<p>Creates a <i>workspace</i>. 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.</p> <p>Don't use <code>CreateWorkspace</code> to modify an existing workspace. Instead, use <a href=\"https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdateWorkspace.html\">UpdateWorkspace</a>.</p>",
51      "idempotent":true
52    },
53    "CreateWorkspaceApiKey":{
54      "name":"CreateWorkspaceApiKey",
55      "http":{
56        "method":"POST",
57        "requestUri":"/workspaces/{workspaceId}/apikeys",
58        "responseCode":200
59      },
60      "input":{"shape":"CreateWorkspaceApiKeyRequest"},
61      "output":{"shape":"CreateWorkspaceApiKeyResponse"},
62      "errors":[
63        {"shape":"ResourceNotFoundException"},
64        {"shape":"ThrottlingException"},
65        {"shape":"ConflictException"},
66        {"shape":"ValidationException"},
67        {"shape":"AccessDeniedException"},
68        {"shape":"InternalServerException"},
69        {"shape":"ServiceQuotaExceededException"}
70      ],
71      "documentation":"<p>Creates a Grafana API key for the workspace. This key can be used to authenticate requests sent to the workspace's HTTP API. See <a href=\"https://docs.aws.amazon.com/grafana/latest/userguide/Using-Grafana-APIs.html\">https://docs.aws.amazon.com/grafana/latest/userguide/Using-Grafana-APIs.html</a> for available APIs and example requests.</p>"
72    },
73    "DeleteWorkspace":{
74      "name":"DeleteWorkspace",
75      "http":{
76        "method":"DELETE",
77        "requestUri":"/workspaces/{workspaceId}",
78        "responseCode":202
79      },
80      "input":{"shape":"DeleteWorkspaceRequest"},
81      "output":{"shape":"DeleteWorkspaceResponse"},
82      "errors":[
83        {"shape":"ResourceNotFoundException"},
84        {"shape":"ThrottlingException"},
85        {"shape":"ConflictException"},
86        {"shape":"ValidationException"},
87        {"shape":"AccessDeniedException"},
88        {"shape":"InternalServerException"}
89      ],
90      "documentation":"<p>Deletes an Amazon Managed Grafana workspace.</p>",
91      "idempotent":true
92    },
93    "DeleteWorkspaceApiKey":{
94      "name":"DeleteWorkspaceApiKey",
95      "http":{
96        "method":"DELETE",
97        "requestUri":"/workspaces/{workspaceId}/apikeys/{keyName}",
98        "responseCode":200
99      },
100      "input":{"shape":"DeleteWorkspaceApiKeyRequest"},
101      "output":{"shape":"DeleteWorkspaceApiKeyResponse"},
102      "errors":[
103        {"shape":"ResourceNotFoundException"},
104        {"shape":"ThrottlingException"},
105        {"shape":"ConflictException"},
106        {"shape":"ValidationException"},
107        {"shape":"AccessDeniedException"},
108        {"shape":"InternalServerException"}
109      ],
110      "documentation":"<p>Deletes a Grafana API key for the workspace.</p>"
111    },
112    "DescribeWorkspace":{
113      "name":"DescribeWorkspace",
114      "http":{
115        "method":"GET",
116        "requestUri":"/workspaces/{workspaceId}",
117        "responseCode":200
118      },
119      "input":{"shape":"DescribeWorkspaceRequest"},
120      "output":{"shape":"DescribeWorkspaceResponse"},
121      "errors":[
122        {"shape":"ResourceNotFoundException"},
123        {"shape":"ThrottlingException"},
124        {"shape":"ValidationException"},
125        {"shape":"AccessDeniedException"},
126        {"shape":"InternalServerException"}
127      ],
128      "documentation":"<p>Displays information about one Amazon Managed Grafana workspace.</p>"
129    },
130    "DescribeWorkspaceAuthentication":{
131      "name":"DescribeWorkspaceAuthentication",
132      "http":{
133        "method":"GET",
134        "requestUri":"/workspaces/{workspaceId}/authentication",
135        "responseCode":200
136      },
137      "input":{"shape":"DescribeWorkspaceAuthenticationRequest"},
138      "output":{"shape":"DescribeWorkspaceAuthenticationResponse"},
139      "errors":[
140        {"shape":"ResourceNotFoundException"},
141        {"shape":"ThrottlingException"},
142        {"shape":"ValidationException"},
143        {"shape":"AccessDeniedException"},
144        {"shape":"InternalServerException"}
145      ],
146      "documentation":"<p>Displays information about the authentication methods used in one Amazon Managed Grafana workspace.</p>"
147    },
148    "DescribeWorkspaceConfiguration":{
149      "name":"DescribeWorkspaceConfiguration",
150      "http":{
151        "method":"GET",
152        "requestUri":"/workspaces/{workspaceId}/configuration",
153        "responseCode":200
154      },
155      "input":{"shape":"DescribeWorkspaceConfigurationRequest"},
156      "output":{"shape":"DescribeWorkspaceConfigurationResponse"},
157      "errors":[
158        {"shape":"ResourceNotFoundException"},
159        {"shape":"ThrottlingException"},
160        {"shape":"AccessDeniedException"},
161        {"shape":"InternalServerException"}
162      ],
163      "documentation":"<p>Gets the current configuration string for the given workspace.</p>"
164    },
165    "DisassociateLicense":{
166      "name":"DisassociateLicense",
167      "http":{
168        "method":"DELETE",
169        "requestUri":"/workspaces/{workspaceId}/licenses/{licenseType}",
170        "responseCode":202
171      },
172      "input":{"shape":"DisassociateLicenseRequest"},
173      "output":{"shape":"DisassociateLicenseResponse"},
174      "errors":[
175        {"shape":"ResourceNotFoundException"},
176        {"shape":"ThrottlingException"},
177        {"shape":"ValidationException"},
178        {"shape":"AccessDeniedException"},
179        {"shape":"InternalServerException"}
180      ],
181      "documentation":"<p>Removes the Grafana Enterprise license from a workspace.</p>"
182    },
183    "ListPermissions":{
184      "name":"ListPermissions",
185      "http":{
186        "method":"GET",
187        "requestUri":"/workspaces/{workspaceId}/permissions",
188        "responseCode":200
189      },
190      "input":{"shape":"ListPermissionsRequest"},
191      "output":{"shape":"ListPermissionsResponse"},
192      "errors":[
193        {"shape":"ResourceNotFoundException"},
194        {"shape":"ThrottlingException"},
195        {"shape":"ValidationException"},
196        {"shape":"AccessDeniedException"},
197        {"shape":"InternalServerException"}
198      ],
199      "documentation":"<p>Lists the users and groups who have the Grafana <code>Admin</code> and <code>Editor</code> roles in this workspace. If you use this operation without specifying <code>userId</code> or <code>groupId</code>, the operation returns the roles of all users and groups. If you specify a <code>userId</code> or a <code>groupId</code>, only the roles for that user or group are returned. If you do this, you can specify only one <code>userId</code> or one <code>groupId</code>.</p>"
200    },
201    "ListTagsForResource":{
202      "name":"ListTagsForResource",
203      "http":{
204        "method":"GET",
205        "requestUri":"/tags/{resourceArn}",
206        "responseCode":200
207      },
208      "input":{"shape":"ListTagsForResourceRequest"},
209      "output":{"shape":"ListTagsForResourceResponse"},
210      "errors":[
211        {"shape":"ResourceNotFoundException"},
212        {"shape":"ThrottlingException"},
213        {"shape":"ValidationException"},
214        {"shape":"AccessDeniedException"},
215        {"shape":"InternalServerException"}
216      ],
217      "documentation":"<p>The <code>ListTagsForResource</code> operation returns the tags that are associated with the Amazon Managed Service for Grafana resource specified by the <code>resourceArn</code>. Currently, the only resource that can be tagged is a workspace. </p>"
218    },
219    "ListVersions":{
220      "name":"ListVersions",
221      "http":{
222        "method":"GET",
223        "requestUri":"/versions",
224        "responseCode":200
225      },
226      "input":{"shape":"ListVersionsRequest"},
227      "output":{"shape":"ListVersionsResponse"},
228      "errors":[
229        {"shape":"ResourceNotFoundException"},
230        {"shape":"ThrottlingException"},
231        {"shape":"ValidationException"},
232        {"shape":"AccessDeniedException"},
233        {"shape":"InternalServerException"}
234      ],
235      "documentation":"<p>Lists available versions of Grafana. These are available when calling <code>CreateWorkspace</code>. Optionally, include a workspace to list the versions to which it can be upgraded.</p>"
236    },
237    "ListWorkspaces":{
238      "name":"ListWorkspaces",
239      "http":{
240        "method":"GET",
241        "requestUri":"/workspaces",
242        "responseCode":200
243      },
244      "input":{"shape":"ListWorkspacesRequest"},
245      "output":{"shape":"ListWorkspacesResponse"},
246      "errors":[
247        {"shape":"ThrottlingException"},
248        {"shape":"AccessDeniedException"},
249        {"shape":"InternalServerException"}
250      ],
251      "documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/AAMG/latest/APIReference/API_DescribeWorkspace.html\">DescribeWorkspace</a>.</p>"
252    },
253    "TagResource":{
254      "name":"TagResource",
255      "http":{
256        "method":"POST",
257        "requestUri":"/tags/{resourceArn}",
258        "responseCode":200
259      },
260      "input":{"shape":"TagResourceRequest"},
261      "output":{"shape":"TagResourceResponse"},
262      "errors":[
263        {"shape":"ResourceNotFoundException"},
264        {"shape":"ThrottlingException"},
265        {"shape":"ValidationException"},
266        {"shape":"AccessDeniedException"},
267        {"shape":"InternalServerException"}
268      ],
269      "documentation":"<p>The <code>TagResource</code> operation associates tags with an Amazon Managed Grafana resource. Currently, the only resource that can be tagged is workspaces. </p> <p>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.</p>"
270    },
271    "UntagResource":{
272      "name":"UntagResource",
273      "http":{
274        "method":"DELETE",
275        "requestUri":"/tags/{resourceArn}",
276        "responseCode":200
277      },
278      "input":{"shape":"UntagResourceRequest"},
279      "output":{"shape":"UntagResourceResponse"},
280      "errors":[
281        {"shape":"ResourceNotFoundException"},
282        {"shape":"ThrottlingException"},
283        {"shape":"ValidationException"},
284        {"shape":"AccessDeniedException"},
285        {"shape":"InternalServerException"}
286      ],
287      "documentation":"<p>The <code>UntagResource</code> operation removes the association of the tag with the Amazon Managed Grafana resource. </p>",
288      "idempotent":true
289    },
290    "UpdatePermissions":{
291      "name":"UpdatePermissions",
292      "http":{
293        "method":"PATCH",
294        "requestUri":"/workspaces/{workspaceId}/permissions",
295        "responseCode":200
296      },
297      "input":{"shape":"UpdatePermissionsRequest"},
298      "output":{"shape":"UpdatePermissionsResponse"},
299      "errors":[
300        {"shape":"ResourceNotFoundException"},
301        {"shape":"ThrottlingException"},
302        {"shape":"ValidationException"},
303        {"shape":"AccessDeniedException"},
304        {"shape":"InternalServerException"}
305      ],
306      "documentation":"<p>Updates which users in a workspace have the Grafana <code>Admin</code> or <code>Editor</code> roles.</p>"
307    },
308    "UpdateWorkspace":{
309      "name":"UpdateWorkspace",
310      "http":{
311        "method":"PUT",
312        "requestUri":"/workspaces/{workspaceId}",
313        "responseCode":202
314      },
315      "input":{"shape":"UpdateWorkspaceRequest"},
316      "output":{"shape":"UpdateWorkspaceResponse"},
317      "errors":[
318        {"shape":"ResourceNotFoundException"},
319        {"shape":"ThrottlingException"},
320        {"shape":"ConflictException"},
321        {"shape":"ValidationException"},
322        {"shape":"AccessDeniedException"},
323        {"shape":"InternalServerException"}
324      ],
325      "documentation":"<p>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.</p> <p>To modify the user authentication methods that the workspace uses, such as SAML or IAM Identity Center, use <a href=\"https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdateWorkspaceAuthentication.html\">UpdateWorkspaceAuthentication</a>.</p> <p>To modify which users in the workspace have the <code>Admin</code> and <code>Editor</code> Grafana roles, use <a href=\"https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdatePermissions.html\">UpdatePermissions</a>.</p>"
326    },
327    "UpdateWorkspaceAuthentication":{
328      "name":"UpdateWorkspaceAuthentication",
329      "http":{
330        "method":"POST",
331        "requestUri":"/workspaces/{workspaceId}/authentication",
332        "responseCode":200
333      },
334      "input":{"shape":"UpdateWorkspaceAuthenticationRequest"},
335      "output":{"shape":"UpdateWorkspaceAuthenticationResponse"},
336      "errors":[
337        {"shape":"ResourceNotFoundException"},
338        {"shape":"ThrottlingException"},
339        {"shape":"ConflictException"},
340        {"shape":"ValidationException"},
341        {"shape":"AccessDeniedException"},
342        {"shape":"InternalServerException"}
343      ],
344      "documentation":"<p>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 <code>Admin</code> and <code>Editor</code> roles in the workspace.</p> <note> <p>Changes to the authentication method for a workspace may take a few minutes to take effect.</p> </note>"
345    },
346    "UpdateWorkspaceConfiguration":{
347      "name":"UpdateWorkspaceConfiguration",
348      "http":{
349        "method":"PUT",
350        "requestUri":"/workspaces/{workspaceId}/configuration",
351        "responseCode":202
352      },
353      "input":{"shape":"UpdateWorkspaceConfigurationRequest"},
354      "output":{"shape":"UpdateWorkspaceConfigurationResponse"},
355      "errors":[
356        {"shape":"ResourceNotFoundException"},
357        {"shape":"ThrottlingException"},
358        {"shape":"ConflictException"},
359        {"shape":"ValidationException"},
360        {"shape":"AccessDeniedException"},
361        {"shape":"InternalServerException"}
362      ],
363      "documentation":"<p>Updates the configuration string for the given workspace</p>"
364    }
365  },
366  "shapes":{
367    "AccessDeniedException":{
368      "type":"structure",
369      "required":["message"],
370      "members":{
371        "message":{"shape":"String"}
372      },
373      "documentation":"<p>You do not have sufficient permissions to perform this action. </p>",
374      "error":{
375        "httpStatusCode":403,
376        "senderFault":true
377      },
378      "exception":true
379    },
380    "AccountAccessType":{
381      "type":"string",
382      "enum":[
383        "CURRENT_ACCOUNT",
384        "ORGANIZATION"
385      ]
386    },
387    "AllowedOrganization":{
388      "type":"string",
389      "max":256,
390      "min":1
391    },
392    "AllowedOrganizations":{
393      "type":"list",
394      "member":{"shape":"AllowedOrganization"}
395    },
396    "ApiKeyName":{
397      "type":"string",
398      "max":100,
399      "min":1
400    },
401    "ApiKeyToken":{
402      "type":"string",
403      "sensitive":true
404    },
405    "AssertionAttribute":{
406      "type":"string",
407      "max":256,
408      "min":1
409    },
410    "AssertionAttributes":{
411      "type":"structure",
412      "members":{
413        "email":{
414          "shape":"AssertionAttribute",
415          "documentation":"<p>The name of the attribute within the SAML assertion to use as the email names for SAML users.</p>"
416        },
417        "groups":{
418          "shape":"AssertionAttribute",
419          "documentation":"<p>The name of the attribute within the SAML assertion to use as the user full \"friendly\" names for user groups.</p>"
420        },
421        "login":{
422          "shape":"AssertionAttribute",
423          "documentation":"<p>The name of the attribute within the SAML assertion to use as the login names for SAML users.</p>"
424        },
425        "name":{
426          "shape":"AssertionAttribute",
427          "documentation":"<p>The name of the attribute within the SAML assertion to use as the user full \"friendly\" names for SAML users.</p>"
428        },
429        "org":{
430          "shape":"AssertionAttribute",
431          "documentation":"<p>The name of the attribute within the SAML assertion to use as the user full \"friendly\" names for the users' organizations.</p>"
432        },
433        "role":{
434          "shape":"AssertionAttribute",
435          "documentation":"<p>The name of the attribute within the SAML assertion to use as the user roles.</p>"
436        }
437      },
438      "documentation":"<p>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.</p>"
439    },
440    "AssociateLicenseRequest":{
441      "type":"structure",
442      "required":[
443        "licenseType",
444        "workspaceId"
445      ],
446      "members":{
447        "licenseType":{
448          "shape":"LicenseType",
449          "documentation":"<p>The type of license to associate with the workspace.</p>",
450          "location":"uri",
451          "locationName":"licenseType"
452        },
453        "workspaceId":{
454          "shape":"WorkspaceId",
455          "documentation":"<p>The ID of the workspace to associate the license with.</p>",
456          "location":"uri",
457          "locationName":"workspaceId"
458        }
459      }
460    },
461    "AssociateLicenseResponse":{
462      "type":"structure",
463      "required":["workspace"],
464      "members":{
465        "workspace":{
466          "shape":"WorkspaceDescription",
467          "documentation":"<p>A structure containing data about the workspace.</p>"
468        }
469      }
470    },
471    "AuthenticationDescription":{
472      "type":"structure",
473      "required":["providers"],
474      "members":{
475        "awsSso":{
476          "shape":"AwsSsoAuthentication",
477          "documentation":"<p>A structure containing information about how this workspace works with IAM Identity Center. </p>"
478        },
479        "providers":{
480          "shape":"AuthenticationProviders",
481          "documentation":"<p>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.</p>"
482        },
483        "saml":{
484          "shape":"SamlAuthentication",
485          "documentation":"<p>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. </p>"
486        }
487      },
488      "documentation":"<p>A structure containing information about the user authentication methods used by the workspace.</p>"
489    },
490    "AuthenticationProviderTypes":{
491      "type":"string",
492      "enum":[
493        "AWS_SSO",
494        "SAML"
495      ]
496    },
497    "AuthenticationProviders":{
498      "type":"list",
499      "member":{"shape":"AuthenticationProviderTypes"}
500    },
501    "AuthenticationSummary":{
502      "type":"structure",
503      "required":["providers"],
504      "members":{
505        "providers":{
506          "shape":"AuthenticationProviders",
507          "documentation":"<p>Specifies whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.</p>"
508        },
509        "samlConfigurationStatus":{
510          "shape":"SamlConfigurationStatus",
511          "documentation":"<p>Specifies whether the workplace's user authentication method is fully configured.</p>"
512        }
513      },
514      "documentation":"<p>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.</p>"
515    },
516    "AwsSsoAuthentication":{
517      "type":"structure",
518      "members":{
519        "ssoClientId":{
520          "shape":"SSOClientId",
521          "documentation":"<p>The ID of the IAM Identity Center-managed application that is created by Amazon Managed Grafana.</p>"
522        }
523      },
524      "documentation":"<p>A structure containing information about how this workspace works with IAM Identity Center. </p>"
525    },
526    "Boolean":{
527      "type":"boolean",
528      "box":true
529    },
530    "ClientToken":{
531      "type":"string",
532      "pattern":"^[!-~]{1,64}$"
533    },
534    "ConflictException":{
535      "type":"structure",
536      "required":[
537        "message",
538        "resourceId",
539        "resourceType"
540      ],
541      "members":{
542        "message":{
543          "shape":"String",
544          "documentation":"<p>A description of the error.</p>"
545        },
546        "resourceId":{
547          "shape":"String",
548          "documentation":"<p>The ID of the resource that is associated with the error.</p>"
549        },
550        "resourceType":{
551          "shape":"String",
552          "documentation":"<p>The type of the resource that is associated with the error.</p>"
553        }
554      },
555      "documentation":"<p>A resource was in an inconsistent state during an update or a deletion.</p>",
556      "error":{
557        "httpStatusCode":409,
558        "senderFault":true
559      },
560      "exception":true
561    },
562    "CreateWorkspaceApiKeyRequest":{
563      "type":"structure",
564      "required":[
565        "keyName",
566        "keyRole",
567        "secondsToLive",
568        "workspaceId"
569      ],
570      "members":{
571        "keyName":{
572          "shape":"ApiKeyName",
573          "documentation":"<p>Specifies the name of the key. Keynames must be unique to the workspace.</p>"
574        },
575        "keyRole":{
576          "shape":"String",
577          "documentation":"<p>Specifies the permission level of the key.</p> <p> Valid values: <code>VIEWER</code>|<code>EDITOR</code>|<code>ADMIN</code> </p>"
578        },
579        "secondsToLive":{
580          "shape":"CreateWorkspaceApiKeyRequestSecondsToLiveInteger",
581          "documentation":"<p>Specifies the time in seconds until the key expires. Keys can be valid for up to 30 days.</p>"
582        },
583        "workspaceId":{
584          "shape":"WorkspaceId",
585          "documentation":"<p>The ID of the workspace to create an API key.</p>",
586          "location":"uri",
587          "locationName":"workspaceId"
588        }
589      }
590    },
591    "CreateWorkspaceApiKeyRequestSecondsToLiveInteger":{
592      "type":"integer",
593      "box":true,
594      "max":2592000,
595      "min":1
596    },
597    "CreateWorkspaceApiKeyResponse":{
598      "type":"structure",
599      "required":[
600        "key",
601        "keyName",
602        "workspaceId"
603      ],
604      "members":{
605        "key":{
606          "shape":"ApiKeyToken",
607          "documentation":"<p>The key token. Use this value as a bearer token to authenticate HTTP requests to the workspace.</p>"
608        },
609        "keyName":{
610          "shape":"ApiKeyName",
611          "documentation":"<p>The name of the key that was created.</p>"
612        },
613        "workspaceId":{
614          "shape":"WorkspaceId",
615          "documentation":"<p>The ID of the workspace that the key is valid for.</p>"
616        }
617      }
618    },
619    "CreateWorkspaceRequest":{
620      "type":"structure",
621      "required":[
622        "accountAccessType",
623        "authenticationProviders",
624        "permissionType"
625      ],
626      "members":{
627        "accountAccessType":{
628          "shape":"AccountAccessType",
629          "documentation":"<p>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 <code>ORGANIZATION</code>, you must specify which organizational units the workspace can access in the <code>workspaceOrganizationalUnits</code> parameter.</p>"
630        },
631        "authenticationProviders":{
632          "shape":"AuthenticationProviders",
633          "documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/grafana/latest/userguide/authentication-in-AMG.html\">User authentication in Amazon Managed Grafana</a>.</p>"
634        },
635        "clientToken":{
636          "shape":"ClientToken",
637          "documentation":"<p>A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.</p>",
638          "idempotencyToken":true
639        },
640        "configuration":{
641          "shape":"OverridableConfigurationJson",
642          "documentation":"<p>The configuration string for the workspace that you create. For more information about the format and configuration options available, see <a href=\"https://docs.aws.amazon.com/grafana/latest/userguide/AMG-configure-workspace.html\">Working in your Grafana workspace</a>.</p>",
643          "jsonvalue":true
644        },
645        "grafanaVersion":{
646          "shape":"GrafanaVersion",
647          "documentation":"<p>Specifies the version of Grafana to support in the new workspace.</p> <p>To get a list of supported version, use the <code>ListVersions</code> operation.</p>"
648        },
649        "networkAccessControl":{
650          "shape":"NetworkAccessConfiguration",
651          "documentation":"<p>Configuration for network access to your workspace.</p> <p>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.</p> <p>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.</p>"
652        },
653        "organizationRoleName":{
654          "shape":"OrganizationRoleName",
655          "documentation":"<p>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.</p>"
656        },
657        "permissionType":{
658          "shape":"PermissionType",
659          "documentation":"<p>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.</p> <p>You must also specify a <code>workspaceRoleArn</code> for a role that you will manage for the workspace to use when accessing those datasources and notification channels.</p> <p>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 <code>SERVICE_MANAGED</code>.</p> <note> <p>Use only the <code>CUSTOMER_MANAGED</code> permission type when creating a workspace with the API, CLI or Amazon Web Services CloudFormation. </p> </note> <p>For more information, see <a href=\"https://docs.aws.amazon.com/grafana/latest/userguide/AMG-manage-permissions.html\">Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels</a>.</p>"
660        },
661        "stackSetName":{
662          "shape":"StackSetName",
663          "documentation":"<p>The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace.</p>"
664        },
665        "tags":{
666          "shape":"TagMap",
667          "documentation":"<p>The list of tags associated with the workspace.</p>"
668        },
669        "vpcConfiguration":{
670          "shape":"VpcConfiguration",
671          "documentation":"<p>The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to.</p> <note> <p>Connecting to a private VPC is not yet available in the Asia Pacific (Seoul) Region (ap-northeast-2).</p> </note>"
672        },
673        "workspaceDataSources":{
674          "shape":"DataSourceTypesList",
675          "documentation":"<p>This parameter is for internal use only, and should not be used.</p>"
676        },
677        "workspaceDescription":{
678          "shape":"Description",
679          "documentation":"<p>A description for the workspace. This is used only to help you identify this workspace.</p> <p>Pattern: <code>^[\\\\p{L}\\\\p{Z}\\\\p{N}\\\\p{P}]{0,2048}$</code> </p>"
680        },
681        "workspaceName":{
682          "shape":"WorkspaceName",
683          "documentation":"<p>The name for the workspace. It does not have to be unique.</p>"
684        },
685        "workspaceNotificationDestinations":{
686          "shape":"NotificationDestinationsList",
687          "documentation":"<p>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.</p>"
688        },
689        "workspaceOrganizationalUnits":{
690          "shape":"OrganizationalUnitList",
691          "documentation":"<p>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.</p>"
692        },
693        "workspaceRoleArn":{
694          "shape":"IamRoleArn",
695          "documentation":"<p>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. </p>"
696        }
697      }
698    },
699    "CreateWorkspaceResponse":{
700      "type":"structure",
701      "required":["workspace"],
702      "members":{
703        "workspace":{
704          "shape":"WorkspaceDescription",
705          "documentation":"<p>A structure containing data about the workspace that was created.</p>"
706        }
707      }
708    },
709    "DataSourceType":{
710      "type":"string",
711      "enum":[
712        "AMAZON_OPENSEARCH_SERVICE",
713        "CLOUDWATCH",
714        "PROMETHEUS",
715        "XRAY",
716        "TIMESTREAM",
717        "SITEWISE",
718        "ATHENA",
719        "REDSHIFT",
720        "TWINMAKER"
721      ]
722    },
723    "DataSourceTypesList":{
724      "type":"list",
725      "member":{"shape":"DataSourceType"}
726    },
727    "DeleteWorkspaceApiKeyRequest":{
728      "type":"structure",
729      "required":[
730        "keyName",
731        "workspaceId"
732      ],
733      "members":{
734        "keyName":{
735          "shape":"ApiKeyName",
736          "documentation":"<p>The name of the API key to delete.</p>",
737          "location":"uri",
738          "locationName":"keyName"
739        },
740        "workspaceId":{
741          "shape":"WorkspaceId",
742          "documentation":"<p>The ID of the workspace to delete.</p>",
743          "location":"uri",
744          "locationName":"workspaceId"
745        }
746      }
747    },
748    "DeleteWorkspaceApiKeyResponse":{
749      "type":"structure",
750      "required":[
751        "keyName",
752        "workspaceId"
753      ],
754      "members":{
755        "keyName":{
756          "shape":"ApiKeyName",
757          "documentation":"<p>The name of the key that was deleted.</p>"
758        },
759        "workspaceId":{
760          "shape":"WorkspaceId",
761          "documentation":"<p>The ID of the workspace where the key was deleted.</p>"
762        }
763      }
764    },
765    "DeleteWorkspaceRequest":{
766      "type":"structure",
767      "required":["workspaceId"],
768      "members":{
769        "workspaceId":{
770          "shape":"WorkspaceId",
771          "documentation":"<p>The ID of the workspace to delete.</p>",
772          "location":"uri",
773          "locationName":"workspaceId"
774        }
775      }
776    },
777    "DeleteWorkspaceResponse":{
778      "type":"structure",
779      "required":["workspace"],
780      "members":{
781        "workspace":{
782          "shape":"WorkspaceDescription",
783          "documentation":"<p>A structure containing information about the workspace that was deleted.</p>"
784        }
785      }
786    },
787    "DescribeWorkspaceAuthenticationRequest":{
788      "type":"structure",
789      "required":["workspaceId"],
790      "members":{
791        "workspaceId":{
792          "shape":"WorkspaceId",
793          "documentation":"<p>The ID of the workspace to return authentication information about.</p>",
794          "location":"uri",
795          "locationName":"workspaceId"
796        }
797      }
798    },
799    "DescribeWorkspaceAuthenticationResponse":{
800      "type":"structure",
801      "required":["authentication"],
802      "members":{
803        "authentication":{
804          "shape":"AuthenticationDescription",
805          "documentation":"<p>A structure containing information about the authentication methods used in the workspace.</p>"
806        }
807      }
808    },
809    "DescribeWorkspaceConfigurationRequest":{
810      "type":"structure",
811      "required":["workspaceId"],
812      "members":{
813        "workspaceId":{
814          "shape":"WorkspaceId",
815          "documentation":"<p>The ID of the workspace to get configuration information for.</p>",
816          "location":"uri",
817          "locationName":"workspaceId"
818        }
819      }
820    },
821    "DescribeWorkspaceConfigurationResponse":{
822      "type":"structure",
823      "required":["configuration"],
824      "members":{
825        "configuration":{
826          "shape":"OverridableConfigurationJson",
827          "documentation":"<p>The configuration string for the workspace that you requested. For more information about the format and configuration options available, see <a href=\"https://docs.aws.amazon.com/grafana/latest/userguide/AMG-configure-workspace.html\">Working in your Grafana workspace</a>.</p>",
828          "jsonvalue":true
829        },
830        "grafanaVersion":{
831          "shape":"GrafanaVersion",
832          "documentation":"<p>The supported Grafana version for the workspace.</p>"
833        }
834      }
835    },
836    "DescribeWorkspaceRequest":{
837      "type":"structure",
838      "required":["workspaceId"],
839      "members":{
840        "workspaceId":{
841          "shape":"WorkspaceId",
842          "documentation":"<p>The ID of the workspace to display information about.</p>",
843          "location":"uri",
844          "locationName":"workspaceId"
845        }
846      }
847    },
848    "DescribeWorkspaceResponse":{
849      "type":"structure",
850      "required":["workspace"],
851      "members":{
852        "workspace":{
853          "shape":"WorkspaceDescription",
854          "documentation":"<p>A structure containing information about the workspace.</p>"
855        }
856      }
857    },
858    "Description":{
859      "type":"string",
860      "max":2048,
861      "min":0,
862      "sensitive":true
863    },
864    "DisassociateLicenseRequest":{
865      "type":"structure",
866      "required":[
867        "licenseType",
868        "workspaceId"
869      ],
870      "members":{
871        "licenseType":{
872          "shape":"LicenseType",
873          "documentation":"<p>The type of license to remove from the workspace.</p>",
874          "location":"uri",
875          "locationName":"licenseType"
876        },
877        "workspaceId":{
878          "shape":"WorkspaceId",
879          "documentation":"<p>The ID of the workspace to remove the Grafana Enterprise license from.</p>",
880          "location":"uri",
881          "locationName":"workspaceId"
882        }
883      }
884    },
885    "DisassociateLicenseResponse":{
886      "type":"structure",
887      "required":["workspace"],
888      "members":{
889        "workspace":{
890          "shape":"WorkspaceDescription",
891          "documentation":"<p>A structure containing information about the workspace.</p>"
892        }
893      }
894    },
895    "Endpoint":{
896      "type":"string",
897      "max":2048,
898      "min":1
899    },
900    "GrafanaVersion":{
901      "type":"string",
902      "max":255,
903      "min":1
904    },
905    "GrafanaVersionList":{
906      "type":"list",
907      "member":{"shape":"GrafanaVersion"}
908    },
909    "IamRoleArn":{
910      "type":"string",
911      "max":2048,
912      "min":1,
913      "sensitive":true
914    },
915    "IdpMetadata":{
916      "type":"structure",
917      "members":{
918        "url":{
919          "shape":"IdpMetadataUrl",
920          "documentation":"<p>The URL of the location containing the IdP metadata.</p>"
921        },
922        "xml":{
923          "shape":"String",
924          "documentation":"<p>The full IdP metadata, in XML format.</p>"
925        }
926      },
927      "documentation":"<p>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 <code>url</code> parameter, or by specifying the full metadata in XML format in the <code>xml</code> parameter. Specifying both will cause an error.</p>",
928      "union":true
929    },
930    "IdpMetadataUrl":{
931      "type":"string",
932      "max":2048,
933      "min":1
934    },
935    "Integer":{
936      "type":"integer",
937      "box":true
938    },
939    "InternalServerException":{
940      "type":"structure",
941      "required":["message"],
942      "members":{
943        "message":{
944          "shape":"String",
945          "documentation":"<p>A description of the error.</p>"
946        },
947        "retryAfterSeconds":{
948          "shape":"Integer",
949          "documentation":"<p>How long to wait before you retry this operation.</p>",
950          "location":"header",
951          "locationName":"Retry-After"
952        }
953      },
954      "documentation":"<p>Unexpected error while processing the request. Retry the request.</p>",
955      "error":{"httpStatusCode":500},
956      "exception":true,
957      "fault":true,
958      "retryable":{"throttling":false}
959    },
960    "LicenseType":{
961      "type":"string",
962      "enum":[
963        "ENTERPRISE",
964        "ENTERPRISE_FREE_TRIAL"
965      ]
966    },
967    "ListPermissionsRequest":{
968      "type":"structure",
969      "required":["workspaceId"],
970      "members":{
971        "groupId":{
972          "shape":"SsoId",
973          "documentation":"<p>(Optional) Limits the results to only the group that matches this ID.</p>",
974          "location":"querystring",
975          "locationName":"groupId"
976        },
977        "maxResults":{
978          "shape":"ListPermissionsRequestMaxResultsInteger",
979          "documentation":"<p>The maximum number of results to include in the response.</p>",
980          "location":"querystring",
981          "locationName":"maxResults"
982        },
983        "nextToken":{
984          "shape":"PaginationToken",
985          "documentation":"<p>The token to use when requesting the next set of results. You received this token from a previous <code>ListPermissions</code> operation.</p>",
986          "location":"querystring",
987          "locationName":"nextToken"
988        },
989        "userId":{
990          "shape":"SsoId",
991          "documentation":"<p>(Optional) Limits the results to only the user that matches this ID.</p>",
992          "location":"querystring",
993          "locationName":"userId"
994        },
995        "userType":{
996          "shape":"UserType",
997          "documentation":"<p>(Optional) If you specify <code>SSO_USER</code>, then only the permissions of IAM Identity Center users are returned. If you specify <code>SSO_GROUP</code>, only the permissions of IAM Identity Center groups are returned.</p>",
998          "location":"querystring",
999          "locationName":"userType"
1000        },
1001        "workspaceId":{
1002          "shape":"WorkspaceId",
1003          "documentation":"<p>The ID of the workspace to list permissions for. This parameter is required.</p>",
1004          "location":"uri",
1005          "locationName":"workspaceId"
1006        }
1007      }
1008    },
1009    "ListPermissionsRequestMaxResultsInteger":{
1010      "type":"integer",
1011      "box":true,
1012      "max":100,
1013      "min":1
1014    },
1015    "ListPermissionsResponse":{
1016      "type":"structure",
1017      "required":["permissions"],
1018      "members":{
1019        "nextToken":{
1020          "shape":"PaginationToken",
1021          "documentation":"<p>The token to use in a subsequent <code>ListPermissions</code> operation to return the next set of results.</p>"
1022        },
1023        "permissions":{
1024          "shape":"PermissionEntryList",
1025          "documentation":"<p>The permissions returned by the operation.</p>"
1026        }
1027      }
1028    },
1029    "ListTagsForResourceRequest":{
1030      "type":"structure",
1031      "required":["resourceArn"],
1032      "members":{
1033        "resourceArn":{
1034          "shape":"String",
1035          "documentation":"<p>The ARN of the resource the list of tags are associated with.</p>",
1036          "location":"uri",
1037          "locationName":"resourceArn"
1038        }
1039      }
1040    },
1041    "ListTagsForResourceResponse":{
1042      "type":"structure",
1043      "members":{
1044        "tags":{
1045          "shape":"TagMap",
1046          "documentation":"<p>The list of tags that are associated with the resource.</p>"
1047        }
1048      }
1049    },
1050    "ListVersionsRequest":{
1051      "type":"structure",
1052      "members":{
1053        "maxResults":{
1054          "shape":"ListVersionsRequestMaxResultsInteger",
1055          "documentation":"<p>The maximum number of results to include in the response.</p>",
1056          "location":"querystring",
1057          "locationName":"maxResults"
1058        },
1059        "nextToken":{
1060          "shape":"PaginationToken",
1061          "documentation":"<p>The token to use when requesting the next set of results. You receive this token from a previous <code>ListVersions</code> operation.</p>",
1062          "location":"querystring",
1063          "locationName":"nextToken"
1064        },
1065        "workspaceId":{
1066          "shape":"WorkspaceId",
1067          "documentation":"<p>The ID of the workspace to list the available upgrade versions. If not included, lists all versions of Grafana that are supported for <code>CreateWorkspace</code>.</p>",
1068          "location":"querystring",
1069          "locationName":"workspace-id"
1070        }
1071      }
1072    },
1073    "ListVersionsRequestMaxResultsInteger":{
1074      "type":"integer",
1075      "box":true,
1076      "max":100,
1077      "min":1
1078    },
1079    "ListVersionsResponse":{
1080      "type":"structure",
1081      "members":{
1082        "grafanaVersions":{
1083          "shape":"GrafanaVersionList",
1084          "documentation":"<p>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.</p>"
1085        },
1086        "nextToken":{
1087          "shape":"PaginationToken",
1088          "documentation":"<p>The token to use in a subsequent <code>ListVersions</code> operation to return the next set of results.</p>"
1089        }
1090      }
1091    },
1092    "ListWorkspacesRequest":{
1093      "type":"structure",
1094      "members":{
1095        "maxResults":{
1096          "shape":"ListWorkspacesRequestMaxResultsInteger",
1097          "documentation":"<p>The maximum number of workspaces to include in the results.</p>",
1098          "location":"querystring",
1099          "locationName":"maxResults"
1100        },
1101        "nextToken":{
1102          "shape":"PaginationToken",
1103          "documentation":"<p>The token for the next set of workspaces to return. (You receive this token from a previous <code>ListWorkspaces</code> operation.)</p>",
1104          "location":"querystring",
1105          "locationName":"nextToken"
1106        }
1107      }
1108    },
1109    "ListWorkspacesRequestMaxResultsInteger":{
1110      "type":"integer",
1111      "box":true,
1112      "max":100,
1113      "min":1
1114    },
1115    "ListWorkspacesResponse":{
1116      "type":"structure",
1117      "required":["workspaces"],
1118      "members":{
1119        "nextToken":{
1120          "shape":"PaginationToken",
1121          "documentation":"<p>The token to use when requesting the next set of workspaces.</p>"
1122        },
1123        "workspaces":{
1124          "shape":"WorkspaceList",
1125          "documentation":"<p>An array of structures that contain some information about the workspaces in the account.</p>"
1126        }
1127      }
1128    },
1129    "LoginValidityDuration":{"type":"integer"},
1130    "NetworkAccessConfiguration":{
1131      "type":"structure",
1132      "required":[
1133        "prefixListIds",
1134        "vpceIds"
1135      ],
1136      "members":{
1137        "prefixListIds":{
1138          "shape":"PrefixListIds",
1139          "documentation":"<p>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.</p> <p>Prefix list IDs have the format <code>pl-<i>1a2b3c4d</i> </code>.</p> <p>For more information about prefix lists, see <a href=\"https://docs.aws.amazon.com/vpc/latest/userguide/managed-prefix-lists.html\">Group CIDR blocks using managed prefix lists</a>in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>"
1140        },
1141        "vpceIds":{
1142          "shape":"VpceIds",
1143          "documentation":"<p>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 <code>NetworkAccessConfiguration</code> 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.</p> <p>VPC endpoint IDs have the format <code>vpce-<i>1a2b3c4d</i> </code>.</p> <p>For more information about creating an interface VPC endpoint, see <a href=\"https://docs.aws.amazon.com/grafana/latest/userguide/VPC-endpoints\">Interface VPC endpoints</a> in the <i>Amazon Managed Grafana User Guide</i>.</p> <note> <p>The only VPC endpoints that can be specified here are interface VPC endpoints for Grafana workspaces (using the <code>com.amazonaws.[region].grafana-workspace</code> service endpoint). Other VPC endpoints are ignored.</p> </note>"
1144        }
1145      },
1146      "documentation":"<p>The configuration settings for in-bound network access to your workspace.</p> <p>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.</p> <p>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.</p> <p>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.</p> <note> <p>While both <code>prefixListIds</code> and <code>vpceIds</code> 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.</p> <p>If both are passed as empty arrays, no traffic is allowed to the workspace, because only <i>explicitly</i> allowed connections are accepted.</p> </note>"
1147    },
1148    "NotificationDestinationType":{
1149      "type":"string",
1150      "enum":["SNS"]
1151    },
1152    "NotificationDestinationsList":{
1153      "type":"list",
1154      "member":{"shape":"NotificationDestinationType"}
1155    },
1156    "OrganizationRoleName":{
1157      "type":"string",
1158      "max":2048,
1159      "min":1,
1160      "sensitive":true
1161    },
1162    "OrganizationalUnit":{"type":"string"},
1163    "OrganizationalUnitList":{
1164      "type":"list",
1165      "member":{"shape":"OrganizationalUnit"},
1166      "sensitive":true
1167    },
1168    "OverridableConfigurationJson":{
1169      "type":"string",
1170      "max":65536,
1171      "min":2
1172    },
1173    "PaginationToken":{"type":"string"},
1174    "PermissionEntry":{
1175      "type":"structure",
1176      "required":[
1177        "role",
1178        "user"
1179      ],
1180      "members":{
1181        "role":{
1182          "shape":"Role",
1183          "documentation":"<p>Specifies whether the user or group has the <code>Admin</code>, <code>Editor</code>, or <code>Viewer</code> role.</p>"
1184        },
1185        "user":{
1186          "shape":"User",
1187          "documentation":"<p>A structure with the ID of the user or group with this role.</p>"
1188        }
1189      },
1190      "documentation":"<p>A structure containing the identity of one user or group and the <code>Admin</code>, <code>Editor</code>, or <code>Viewer</code> role that they have.</p>"
1191    },
1192    "PermissionEntryList":{
1193      "type":"list",
1194      "member":{"shape":"PermissionEntry"}
1195    },
1196    "PermissionType":{
1197      "type":"string",
1198      "enum":[
1199        "CUSTOMER_MANAGED",
1200        "SERVICE_MANAGED"
1201      ]
1202    },
1203    "PrefixListId":{
1204      "type":"string",
1205      "max":100,
1206      "min":1
1207    },
1208    "PrefixListIds":{
1209      "type":"list",
1210      "member":{"shape":"PrefixListId"}
1211    },
1212    "ResourceNotFoundException":{
1213      "type":"structure",
1214      "required":[
1215        "message",
1216        "resourceId",
1217        "resourceType"
1218      ],
1219      "members":{
1220        "message":{
1221          "shape":"String",
1222          "documentation":"<p>The value of a parameter in the request caused an error.</p>"
1223        },
1224        "resourceId":{
1225          "shape":"String",
1226          "documentation":"<p>The ID of the resource that is associated with the error.</p>"
1227        },
1228        "resourceType":{
1229          "shape":"String",
1230          "documentation":"<p>The type of the resource that is associated with the error.</p>"
1231        }
1232      },
1233      "documentation":"<p>The request references a resource that does not exist.</p>",
1234      "error":{
1235        "httpStatusCode":404,
1236        "senderFault":true
1237      },
1238      "exception":true
1239    },
1240    "Role":{
1241      "type":"string",
1242      "enum":[
1243        "ADMIN",
1244        "EDITOR",
1245        "VIEWER"
1246      ]
1247    },
1248    "RoleValue":{
1249      "type":"string",
1250      "max":256,
1251      "min":1
1252    },
1253    "RoleValueList":{
1254      "type":"list",
1255      "member":{"shape":"RoleValue"},
1256      "sensitive":true
1257    },
1258    "RoleValues":{
1259      "type":"structure",
1260      "members":{
1261        "admin":{
1262          "shape":"RoleValueList",
1263          "documentation":"<p>A list of groups from the SAML assertion attribute to grant the Grafana <code>Admin</code> role to.</p>"
1264        },
1265        "editor":{
1266          "shape":"RoleValueList",
1267          "documentation":"<p>A list of groups from the SAML assertion attribute to grant the Grafana <code>Editor</code> role to.</p>"
1268        }
1269      },
1270      "documentation":"<p>This structure defines which groups defined in the SAML assertion attribute are to be mapped to the Grafana <code>Admin</code> and <code>Editor</code> roles in the workspace. SAML authenticated users not part of <code>Admin</code> or <code>Editor</code> role groups have <code>Viewer</code> permission over the workspace.</p>"
1271    },
1272    "SSOClientId":{"type":"string"},
1273    "SamlAuthentication":{
1274      "type":"structure",
1275      "required":["status"],
1276      "members":{
1277        "configuration":{
1278          "shape":"SamlConfiguration",
1279          "documentation":"<p>A structure containing details about how this workspace works with SAML. </p>"
1280        },
1281        "status":{
1282          "shape":"SamlConfigurationStatus",
1283          "documentation":"<p>Specifies whether the workspace's SAML configuration is complete.</p>"
1284        }
1285      },
1286      "documentation":"<p>A structure containing information about how this workspace works with SAML. </p>"
1287    },
1288    "SamlConfiguration":{
1289      "type":"structure",
1290      "required":["idpMetadata"],
1291      "members":{
1292        "allowedOrganizations":{
1293          "shape":"AllowedOrganizations",
1294          "documentation":"<p>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.</p>"
1295        },
1296        "assertionAttributes":{
1297          "shape":"AssertionAttributes",
1298          "documentation":"<p>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.</p>"
1299        },
1300        "idpMetadata":{
1301          "shape":"IdpMetadata",
1302          "documentation":"<p>A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.</p>"
1303        },
1304        "loginValidityDuration":{
1305          "shape":"LoginValidityDuration",
1306          "documentation":"<p>How long a sign-on session by a SAML user is valid, before the user has to sign on again.</p>"
1307        },
1308        "roleValues":{
1309          "shape":"RoleValues",
1310          "documentation":"<p>A structure containing arrays that map group names in the SAML assertion to the Grafana <code>Admin</code> and <code>Editor</code> roles in the workspace.</p>"
1311        }
1312      },
1313      "documentation":"<p>A structure containing information about how this workspace works with SAML. </p>"
1314    },
1315    "SamlConfigurationStatus":{
1316      "type":"string",
1317      "enum":[
1318        "CONFIGURED",
1319        "NOT_CONFIGURED"
1320      ]
1321    },
1322    "SecurityGroupId":{
1323      "type":"string",
1324      "max":255,
1325      "min":0
1326    },
1327    "SecurityGroupIds":{
1328      "type":"list",
1329      "member":{"shape":"SecurityGroupId"},
1330      "max":5,
1331      "min":1
1332    },
1333    "ServiceQuotaExceededException":{
1334      "type":"structure",
1335      "required":[
1336        "message",
1337        "quotaCode",
1338        "resourceId",
1339        "resourceType",
1340        "serviceCode"
1341      ],
1342      "members":{
1343        "message":{
1344          "shape":"String",
1345          "documentation":"<p>A description of the error.</p>"
1346        },
1347        "quotaCode":{
1348          "shape":"String",
1349          "documentation":"<p>The ID of the service quota that was exceeded.</p>"
1350        },
1351        "resourceId":{
1352          "shape":"String",
1353          "documentation":"<p>The ID of the resource that is associated with the error.</p>"
1354        },
1355        "resourceType":{
1356          "shape":"String",
1357          "documentation":"<p>The type of the resource that is associated with the error.</p>"
1358        },
1359        "serviceCode":{
1360          "shape":"String",
1361          "documentation":"<p>The value of a parameter in the request caused an error.</p>"
1362        }
1363      },
1364      "documentation":"<p>The request would cause a service quota to be exceeded.</p>",
1365      "error":{
1366        "httpStatusCode":402,
1367        "senderFault":true
1368      },
1369      "exception":true
1370    },
1371    "SsoId":{
1372      "type":"string",
1373      "max":47,
1374      "min":1
1375    },
1376    "StackSetName":{"type":"string"},
1377    "String":{"type":"string"},
1378    "SubnetId":{
1379      "type":"string",
1380      "max":255,
1381      "min":0
1382    },
1383    "SubnetIds":{
1384      "type":"list",
1385      "member":{"shape":"SubnetId"},
1386      "max":6,
1387      "min":2
1388    },
1389    "TagKey":{
1390      "type":"string",
1391      "max":128,
1392      "min":1
1393    },
1394    "TagKeys":{
1395      "type":"list",
1396      "member":{"shape":"TagKey"}
1397    },
1398    "TagMap":{
1399      "type":"map",
1400      "key":{"shape":"TagKey"},
1401      "value":{"shape":"TagValue"},
1402      "max":50,
1403      "min":0
1404    },
1405    "TagResourceRequest":{
1406      "type":"structure",
1407      "required":[
1408        "resourceArn",
1409        "tags"
1410      ],
1411      "members":{
1412        "resourceArn":{
1413          "shape":"String",
1414          "documentation":"<p>The ARN of the resource the tag is associated with.</p>",
1415          "location":"uri",
1416          "locationName":"resourceArn"
1417        },
1418        "tags":{
1419          "shape":"TagMap",
1420          "documentation":"<p>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.</p>"
1421        }
1422      }
1423    },
1424    "TagResourceResponse":{
1425      "type":"structure",
1426      "members":{
1427      }
1428    },
1429    "TagValue":{
1430      "type":"string",
1431      "max":256,
1432      "min":0
1433    },
1434    "ThrottlingException":{
1435      "type":"structure",
1436      "required":["message"],
1437      "members":{
1438        "message":{
1439          "shape":"String",
1440          "documentation":"<p>A description of the error.</p>"
1441        },
1442        "quotaCode":{
1443          "shape":"String",
1444          "documentation":"<p>The ID of the service quota that was exceeded.</p>"
1445        },
1446        "retryAfterSeconds":{
1447          "shape":"Integer",
1448          "documentation":"<p>The value of a parameter in the request caused an error.</p>",
1449          "location":"header",
1450          "locationName":"Retry-After"
1451        },
1452        "serviceCode":{
1453          "shape":"String",
1454          "documentation":"<p>The ID of the service that is associated with the error.</p>"
1455        }
1456      },
1457      "documentation":"<p>The request was denied because of request throttling. Retry the request.</p>",
1458      "error":{
1459        "httpStatusCode":429,
1460        "senderFault":true
1461      },
1462      "exception":true,
1463      "retryable":{"throttling":false}
1464    },
1465    "Timestamp":{"type":"timestamp"},
1466    "UntagResourceRequest":{
1467      "type":"structure",
1468      "required":[
1469        "resourceArn",
1470        "tagKeys"
1471      ],
1472      "members":{
1473        "resourceArn":{
1474          "shape":"String",
1475          "documentation":"<p>The ARN of the resource the tag association is removed from. </p>",
1476          "location":"uri",
1477          "locationName":"resourceArn"
1478        },
1479        "tagKeys":{
1480          "shape":"TagKeys",
1481          "documentation":"<p>The key values of the tag to be removed from the resource.</p>",
1482          "location":"querystring",
1483          "locationName":"tagKeys"
1484        }
1485      }
1486    },
1487    "UntagResourceResponse":{
1488      "type":"structure",
1489      "members":{
1490      }
1491    },
1492    "UpdateAction":{
1493      "type":"string",
1494      "enum":[
1495        "ADD",
1496        "REVOKE"
1497      ]
1498    },
1499    "UpdateError":{
1500      "type":"structure",
1501      "required":[
1502        "causedBy",
1503        "code",
1504        "message"
1505      ],
1506      "members":{
1507        "causedBy":{
1508          "shape":"UpdateInstruction",
1509          "documentation":"<p>Specifies which permission update caused the error.</p>"
1510        },
1511        "code":{
1512          "shape":"UpdateErrorCodeInteger",
1513          "documentation":"<p>The error code.</p>"
1514        },
1515        "message":{
1516          "shape":"String",
1517          "documentation":"<p>The message for this error.</p>"
1518        }
1519      },
1520      "documentation":"<p>A structure containing information about one error encountered while performing an <a href=\"https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdatePermissions.html\">UpdatePermissions</a> operation.</p>"
1521    },
1522    "UpdateErrorCodeInteger":{
1523      "type":"integer",
1524      "box":true,
1525      "max":999,
1526      "min":100
1527    },
1528    "UpdateErrorList":{
1529      "type":"list",
1530      "member":{"shape":"UpdateError"}
1531    },
1532    "UpdateInstruction":{
1533      "type":"structure",
1534      "required":[
1535        "action",
1536        "role",
1537        "users"
1538      ],
1539      "members":{
1540        "action":{
1541          "shape":"UpdateAction",
1542          "documentation":"<p>Specifies whether this update is to add or revoke role permissions.</p>"
1543        },
1544        "role":{
1545          "shape":"Role",
1546          "documentation":"<p>The role to add or revoke for the user or the group specified in <code>users</code>.</p>"
1547        },
1548        "users":{
1549          "shape":"UserList",
1550          "documentation":"<p>A structure that specifies the user or group to add or revoke the role for.</p>"
1551        }
1552      },
1553      "documentation":"<p>Contains the instructions for one Grafana role permission update in a <a href=\"https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdatePermissions.html\">UpdatePermissions</a> operation.</p>"
1554    },
1555    "UpdateInstructionBatch":{
1556      "type":"list",
1557      "member":{"shape":"UpdateInstruction"},
1558      "max":20,
1559      "min":0
1560    },
1561    "UpdatePermissionsRequest":{
1562      "type":"structure",
1563      "required":[
1564        "updateInstructionBatch",
1565        "workspaceId"
1566      ],
1567      "members":{
1568        "updateInstructionBatch":{
1569          "shape":"UpdateInstructionBatch",
1570          "documentation":"<p>An array of structures that contain the permission updates to make.</p>"
1571        },
1572        "workspaceId":{
1573          "shape":"WorkspaceId",
1574          "documentation":"<p>The ID of the workspace to update.</p>",
1575          "location":"uri",
1576          "locationName":"workspaceId"
1577        }
1578      }
1579    },
1580    "UpdatePermissionsResponse":{
1581      "type":"structure",
1582      "required":["errors"],
1583      "members":{
1584        "errors":{
1585          "shape":"UpdateErrorList",
1586          "documentation":"<p>An array of structures that contain the errors from the operation, if any.</p>"
1587        }
1588      }
1589    },
1590    "UpdateWorkspaceAuthenticationRequest":{
1591      "type":"structure",
1592      "required":[
1593        "authenticationProviders",
1594        "workspaceId"
1595      ],
1596      "members":{
1597        "authenticationProviders":{
1598          "shape":"AuthenticationProviders",
1599          "documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/grafana/latest/userguide/authentication-in-AMG.html\">User authentication in Amazon Managed Grafana</a>.</p>"
1600        },
1601        "samlConfiguration":{
1602          "shape":"SamlConfiguration",
1603          "documentation":"<p>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 <code>Admin</code> and <code>Editor</code> roles in the workspace.</p>"
1604        },
1605        "workspaceId":{
1606          "shape":"WorkspaceId",
1607          "documentation":"<p>The ID of the workspace to update the authentication for.</p>",
1608          "location":"uri",
1609          "locationName":"workspaceId"
1610        }
1611      }
1612    },
1613    "UpdateWorkspaceAuthenticationResponse":{
1614      "type":"structure",
1615      "required":["authentication"],
1616      "members":{
1617        "authentication":{
1618          "shape":"AuthenticationDescription",
1619          "documentation":"<p>A structure that describes the user authentication for this workspace after the update is made.</p>"
1620        }
1621      }
1622    },
1623    "UpdateWorkspaceConfigurationRequest":{
1624      "type":"structure",
1625      "required":[
1626        "configuration",
1627        "workspaceId"
1628      ],
1629      "members":{
1630        "configuration":{
1631          "shape":"OverridableConfigurationJson",
1632          "documentation":"<p>The new configuration string for the workspace. For more information about the format and configuration options available, see <a href=\"https://docs.aws.amazon.com/grafana/latest/userguide/AMG-configure-workspace.html\">Working in your Grafana workspace</a>.</p>",
1633          "jsonvalue":true
1634        },
1635        "grafanaVersion":{
1636          "shape":"GrafanaVersion",
1637          "documentation":"<p>Specifies the version of Grafana to support in the new workspace.</p> <p>Can only be used to upgrade (for example, from 8.4 to 9.4), not downgrade (for example, from 9.4 to 8.4).</p> <p>To know what versions are available to upgrade to for a specific workspace, see the <code>ListVersions</code> operation.</p>"
1638        },
1639        "workspaceId":{
1640          "shape":"WorkspaceId",
1641          "documentation":"<p>The ID of the workspace to update.</p>",
1642          "location":"uri",
1643          "locationName":"workspaceId"
1644        }
1645      }
1646    },
1647    "UpdateWorkspaceConfigurationResponse":{
1648      "type":"structure",
1649      "members":{
1650      }
1651    },
1652    "UpdateWorkspaceRequest":{
1653      "type":"structure",
1654      "required":["workspaceId"],
1655      "members":{
1656        "accountAccessType":{
1657          "shape":"AccountAccessType",
1658          "documentation":"<p>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 <code>ORGANIZATION</code>, you must specify which organizational units the workspace can access in the <code>workspaceOrganizationalUnits</code> parameter.</p>"
1659        },
1660        "networkAccessControl":{
1661          "shape":"NetworkAccessConfiguration",
1662          "documentation":"<p>The configuration settings for network access to your workspace.</p> <p>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.</p> <p>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.</p>"
1663        },
1664        "organizationRoleName":{
1665          "shape":"OrganizationRoleName",
1666          "documentation":"<p>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 <code>permissionType</code> set to <code>CUSTOMER_MANAGED</code>.</p>"
1667        },
1668        "permissionType":{
1669          "shape":"PermissionType",
1670          "documentation":"<p>Use this parameter if you want to change a workspace from <code>SERVICE_MANAGED</code> to <code>CUSTOMER_MANAGED</code>. 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 <code>CUSTOMER_MANAGED</code>.</p> <p>If you specify this as <code>CUSTOMER_MANAGED</code>, you must also specify a <code>workspaceRoleArn</code> that the workspace will use for accessing Amazon Web Services resources.</p> <p>For more information on the role and permissions needed, see <a href=\"https://docs.aws.amazon.com/grafana/latest/userguide/AMG-manage-permissions.html\">Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels</a> </p> <note> <p>Do not use this to convert a <code>CUSTOMER_MANAGED</code> workspace to <code>SERVICE_MANAGED</code>. Do not include this parameter if you want to leave the workspace as <code>SERVICE_MANAGED</code>.</p> <p>You can convert a <code>CUSTOMER_MANAGED</code> workspace to <code>SERVICE_MANAGED</code> using the Amazon Managed Grafana console. For more information, see <a href=\"https://docs.aws.amazon.com/grafana/latest/userguide/AMG-datasource-and-notification.html\">Managing permissions for data sources and notification channels</a>.</p> </note>"
1671        },
1672        "removeNetworkAccessConfiguration":{
1673          "shape":"Boolean",
1674          "documentation":"<p>Whether to remove the network access configuration from the workspace.</p> <p>Setting this to <code>true</code> and providing a <code>networkAccessControl</code> to set will return an error.</p> <p>If you remove this configuration by setting this to <code>true</code>, then all IP addresses and VPC endpoints will be allowed. Standard Grafana authentication and authorization will still be required.</p>"
1675        },
1676        "removeVpcConfiguration":{
1677          "shape":"Boolean",
1678          "documentation":"<p>Whether to remove the VPC configuration from the workspace.</p> <p>Setting this to <code>true</code> and providing a <code>vpcConfiguration</code> to set will return an error.</p>"
1679        },
1680        "stackSetName":{
1681          "shape":"StackSetName",
1682          "documentation":"<p>The name of the CloudFormation stack set to use to generate IAM roles to be used for this workspace.</p>"
1683        },
1684        "vpcConfiguration":{
1685          "shape":"VpcConfiguration",
1686          "documentation":"<p>The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to.</p>"
1687        },
1688        "workspaceDataSources":{
1689          "shape":"DataSourceTypesList",
1690          "documentation":"<p>This parameter is for internal use only, and should not be used.</p>"
1691        },
1692        "workspaceDescription":{
1693          "shape":"Description",
1694          "documentation":"<p>A description for the workspace. This is used only to help you identify this workspace.</p>"
1695        },
1696        "workspaceId":{
1697          "shape":"WorkspaceId",
1698          "documentation":"<p>The ID of the workspace to update.</p>",
1699          "location":"uri",
1700          "locationName":"workspaceId"
1701        },
1702        "workspaceName":{
1703          "shape":"WorkspaceName",
1704          "documentation":"<p>A new name for the workspace to update.</p>"
1705        },
1706        "workspaceNotificationDestinations":{
1707          "shape":"NotificationDestinationsList",
1708          "documentation":"<p>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.</p>"
1709        },
1710        "workspaceOrganizationalUnits":{
1711          "shape":"OrganizationalUnitList",
1712          "documentation":"<p>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.</p>"
1713        },
1714        "workspaceRoleArn":{
1715          "shape":"IamRoleArn",
1716          "documentation":"<p>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 <code>permissionType</code> <code>CUSTOMER_MANAGED</code>, then this role is required.</p>"
1717        }
1718      }
1719    },
1720    "UpdateWorkspaceResponse":{
1721      "type":"structure",
1722      "required":["workspace"],
1723      "members":{
1724        "workspace":{
1725          "shape":"WorkspaceDescription",
1726          "documentation":"<p>A structure containing data about the workspace that was created.</p>"
1727        }
1728      }
1729    },
1730    "User":{
1731      "type":"structure",
1732      "required":[
1733        "id",
1734        "type"
1735      ],
1736      "members":{
1737        "id":{
1738          "shape":"SsoId",
1739          "documentation":"<p>The ID of the user or group.</p> <p>Pattern: <code>^([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}$</code> </p>"
1740        },
1741        "type":{
1742          "shape":"UserType",
1743          "documentation":"<p>Specifies whether this is a single user or a group.</p>"
1744        }
1745      },
1746      "documentation":"<p>A structure that specifies one user or group in the workspace.</p>"
1747    },
1748    "UserList":{
1749      "type":"list",
1750      "member":{"shape":"User"}
1751    },
1752    "UserType":{
1753      "type":"string",
1754      "enum":[
1755        "SSO_USER",
1756        "SSO_GROUP"
1757      ]
1758    },
1759    "ValidationException":{
1760      "type":"structure",
1761      "required":[
1762        "message",
1763        "reason"
1764      ],
1765      "members":{
1766        "fieldList":{
1767          "shape":"ValidationExceptionFieldList",
1768          "documentation":"<p>A list of fields that might be associated with the error.</p>"
1769        },
1770        "message":{
1771          "shape":"String",
1772          "documentation":"<p>A description of the error.</p>"
1773        },
1774        "reason":{
1775          "shape":"ValidationExceptionReason",
1776          "documentation":"<p>The reason that the operation failed.</p>"
1777        }
1778      },
1779      "documentation":"<p>The value of a parameter in the request caused an error.</p>",
1780      "error":{
1781        "httpStatusCode":400,
1782        "senderFault":true
1783      },
1784      "exception":true
1785    },
1786    "ValidationExceptionField":{
1787      "type":"structure",
1788      "required":[
1789        "message",
1790        "name"
1791      ],
1792      "members":{
1793        "message":{
1794          "shape":"String",
1795          "documentation":"<p>A message describing why this field couldn't be validated.</p>"
1796        },
1797        "name":{
1798          "shape":"String",
1799          "documentation":"<p>The name of the field that caused the validation error.</p>"
1800        }
1801      },
1802      "documentation":"<p>A structure that contains information about a request parameter that caused an error.</p>"
1803    },
1804    "ValidationExceptionFieldList":{
1805      "type":"list",
1806      "member":{"shape":"ValidationExceptionField"}
1807    },
1808    "ValidationExceptionReason":{
1809      "type":"string",
1810      "enum":[
1811        "UNKNOWN_OPERATION",
1812        "CANNOT_PARSE",
1813        "FIELD_VALIDATION_FAILED",
1814        "OTHER"
1815      ]
1816    },
1817    "VpcConfiguration":{
1818      "type":"structure",
1819      "required":[
1820        "securityGroupIds",
1821        "subnetIds"
1822      ],
1823      "members":{
1824        "securityGroupIds":{
1825          "shape":"SecurityGroupIds",
1826          "documentation":"<p>The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect. Duplicates not allowed.</p>"
1827        },
1828        "subnetIds":{
1829          "shape":"SubnetIds",
1830          "documentation":"<p>The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect. Duplicates not allowed.</p>"
1831        }
1832      },
1833      "documentation":"<p>The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to.</p> <note> <p>Provided <code>securityGroupIds</code> and <code>subnetIds</code> must be part of the same VPC.</p> <p>Connecting to a private VPC is not yet available in the Asia Pacific (Seoul) Region (ap-northeast-2).</p> </note>"
1834    },
1835    "VpceId":{
1836      "type":"string",
1837      "max":100,
1838      "min":1
1839    },
1840    "VpceIds":{
1841      "type":"list",
1842      "member":{"shape":"VpceId"}
1843    },
1844    "WorkspaceDescription":{
1845      "type":"structure",
1846      "required":[
1847        "authentication",
1848        "created",
1849        "dataSources",
1850        "endpoint",
1851        "grafanaVersion",
1852        "id",
1853        "modified",
1854        "status"
1855      ],
1856      "members":{
1857        "accountAccessType":{
1858          "shape":"AccountAccessType",
1859          "documentation":"<p>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 <code>ORGANIZATION</code>, the <code>workspaceOrganizationalUnits</code> parameter specifies which organizational units the workspace can access.</p>"
1860        },
1861        "authentication":{
1862          "shape":"AuthenticationSummary",
1863          "documentation":"<p>A structure that describes whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.</p>"
1864        },
1865        "created":{
1866          "shape":"Timestamp",
1867          "documentation":"<p>The date that the workspace was created.</p>"
1868        },
1869        "dataSources":{
1870          "shape":"DataSourceTypesList",
1871          "documentation":"<p>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.</p> <p>This list is only used when the workspace was created through the Amazon Web Services console, and the <code>permissionType</code> is <code>SERVICE_MANAGED</code>.</p>"
1872        },
1873        "description":{
1874          "shape":"Description",
1875          "documentation":"<p>The user-defined description of the workspace.</p>"
1876        },
1877        "endpoint":{
1878          "shape":"Endpoint",
1879          "documentation":"<p>The URL that users can use to access the Grafana console in the workspace.</p>"
1880        },
1881        "freeTrialConsumed":{
1882          "shape":"Boolean",
1883          "documentation":"<p>Specifies whether this workspace has already fully used its free trial for Grafana Enterprise.</p>"
1884        },
1885        "freeTrialExpiration":{
1886          "shape":"Timestamp",
1887          "documentation":"<p>If this workspace is currently in the free trial period for Grafana Enterprise, this value specifies when that free trial ends.</p>"
1888        },
1889        "grafanaVersion":{
1890          "shape":"GrafanaVersion",
1891          "documentation":"<p>The version of Grafana supported in this workspace.</p>"
1892        },
1893        "id":{
1894          "shape":"WorkspaceId",
1895          "documentation":"<p>The unique ID of this workspace.</p>"
1896        },
1897        "licenseExpiration":{
1898          "shape":"Timestamp",
1899          "documentation":"<p>If this workspace has a full Grafana Enterprise license, this specifies when the license ends and will need to be renewed.</p>"
1900        },
1901        "licenseType":{
1902          "shape":"LicenseType",
1903          "documentation":"<p>Specifies whether this workspace has a full Grafana Enterprise license or a free trial license.</p>"
1904        },
1905        "modified":{
1906          "shape":"Timestamp",
1907          "documentation":"<p>The most recent date that the workspace was modified.</p>"
1908        },
1909        "name":{
1910          "shape":"WorkspaceName",
1911          "documentation":"<p>The name of the workspace.</p>"
1912        },
1913        "networkAccessControl":{
1914          "shape":"NetworkAccessConfiguration",
1915          "documentation":"<p>The configuration settings for network access to your workspace.</p>"
1916        },
1917        "notificationDestinations":{
1918          "shape":"NotificationDestinationsList",
1919          "documentation":"<p>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.</p>"
1920        },
1921        "organizationRoleName":{
1922          "shape":"OrganizationRoleName",
1923          "documentation":"<p>The name of the IAM role that is used to access resources through Organizations.</p>"
1924        },
1925        "organizationalUnits":{
1926          "shape":"OrganizationalUnitList",
1927          "documentation":"<p>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.</p>"
1928        },
1929        "permissionType":{
1930          "shape":"PermissionType",
1931          "documentation":"<p>If this is <code>SERVICE_MANAGED</code>, 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.</p> <p>If this is <code>CUSTOMER_MANAGED</code>, you must manage those roles and permissions yourself.</p> <p>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 <code>CUSTOMER_MANAGED</code>.</p> <p>For more information about converting between customer and service managed, see <a href=\"https://docs.aws.amazon.com/grafana/latest/userguide/AMG-datasource-and-notification.html\">Managing permissions for data sources and notification channels</a>. For more information about the roles and permissions that must be managed for customer managed workspaces, see <a href=\"https://docs.aws.amazon.com/grafana/latest/userguide/AMG-manage-permissions.html\">Amazon Managed Grafana permissions and policies for Amazon Web Services data sources and notification channels</a> </p>"
1932        },
1933        "stackSetName":{
1934          "shape":"StackSetName",
1935          "documentation":"<p>The name of the CloudFormation stack set that is used to generate IAM roles to be used for this workspace.</p>"
1936        },
1937        "status":{
1938          "shape":"WorkspaceStatus",
1939          "documentation":"<p>The current status of the workspace.</p>"
1940        },
1941        "tags":{
1942          "shape":"TagMap",
1943          "documentation":"<p>The list of tags associated with the workspace.</p>"
1944        },
1945        "vpcConfiguration":{
1946          "shape":"VpcConfiguration",
1947          "documentation":"<p>The configuration for connecting to data sources in a private VPC (Amazon Virtual Private Cloud).</p>"
1948        },
1949        "workspaceRoleArn":{
1950          "shape":"IamRoleArn",
1951          "documentation":"<p>The IAM role that grants permissions to the Amazon Web Services resources that the workspace will view data from. This role must already exist.</p>"
1952        }
1953      },
1954      "documentation":"<p>A structure containing information about an Amazon Managed Grafana workspace in your account.</p>"
1955    },
1956    "WorkspaceId":{
1957      "type":"string",
1958      "pattern":"^g-[0-9a-f]{10}$"
1959    },
1960    "WorkspaceList":{
1961      "type":"list",
1962      "member":{"shape":"WorkspaceSummary"}
1963    },
1964    "WorkspaceName":{
1965      "type":"string",
1966      "pattern":"^[a-zA-Z0-9-._~]{1,255}$",
1967      "sensitive":true
1968    },
1969    "WorkspaceStatus":{
1970      "type":"string",
1971      "enum":[
1972        "ACTIVE",
1973        "CREATING",
1974        "DELETING",
1975        "FAILED",
1976        "UPDATING",
1977        "UPGRADING",
1978        "DELETION_FAILED",
1979        "CREATION_FAILED",
1980        "UPDATE_FAILED",
1981        "UPGRADE_FAILED",
1982        "LICENSE_REMOVAL_FAILED",
1983        "VERSION_UPDATING",
1984        "VERSION_UPDATE_FAILED"
1985      ]
1986    },
1987    "WorkspaceSummary":{
1988      "type":"structure",
1989      "required":[
1990        "authentication",
1991        "created",
1992        "endpoint",
1993        "grafanaVersion",
1994        "id",
1995        "modified",
1996        "status"
1997      ],
1998      "members":{
1999        "authentication":{
2000          "shape":"AuthenticationSummary",
2001          "documentation":"<p>A structure containing information about the authentication methods used in the workspace.</p>"
2002        },
2003        "created":{
2004          "shape":"Timestamp",
2005          "documentation":"<p>The date that the workspace was created.</p>"
2006        },
2007        "description":{
2008          "shape":"Description",
2009          "documentation":"<p>The customer-entered description of the workspace.</p>"
2010        },
2011        "endpoint":{
2012          "shape":"Endpoint",
2013          "documentation":"<p>The URL endpoint to use to access the Grafana console in the workspace.</p>"
2014        },
2015        "grafanaVersion":{
2016          "shape":"GrafanaVersion",
2017          "documentation":"<p>The Grafana version that the workspace is running.</p>"
2018        },
2019        "id":{
2020          "shape":"WorkspaceId",
2021          "documentation":"<p>The unique ID of the workspace.</p>"
2022        },
2023        "modified":{
2024          "shape":"Timestamp",
2025          "documentation":"<p>The most recent date that the workspace was modified.</p>"
2026        },
2027        "name":{
2028          "shape":"WorkspaceName",
2029          "documentation":"<p>The name of the workspace.</p>"
2030        },
2031        "notificationDestinations":{
2032          "shape":"NotificationDestinationsList",
2033          "documentation":"<p>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.</p>"
2034        },
2035        "status":{
2036          "shape":"WorkspaceStatus",
2037          "documentation":"<p>The current status of the workspace.</p>"
2038        },
2039        "tags":{
2040          "shape":"TagMap",
2041          "documentation":"<p>The list of tags associated with the workspace.</p>"
2042        }
2043      },
2044      "documentation":"<p>A structure that contains some information about one workspace in the account.</p>"
2045    }
2046  },
2047  "documentation":"<p>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.</p> <p>With Amazon Managed Grafana, you create logically isolated Grafana servers called <i>workspaces</i>. 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. </p>"
2048}
2049