@aws-sdk/client-grafana 3.300.0 → 3.303.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,11 +16,10 @@ class AccessDeniedException extends GrafanaServiceException_1.GrafanaServiceExce
16
16
  }
17
17
  }
18
18
  exports.AccessDeniedException = AccessDeniedException;
19
- var AccountAccessType;
20
- (function (AccountAccessType) {
21
- AccountAccessType["CURRENT_ACCOUNT"] = "CURRENT_ACCOUNT";
22
- AccountAccessType["ORGANIZATION"] = "ORGANIZATION";
23
- })(AccountAccessType = exports.AccountAccessType || (exports.AccountAccessType = {}));
19
+ exports.AccountAccessType = {
20
+ CURRENT_ACCOUNT: "CURRENT_ACCOUNT",
21
+ ORGANIZATION: "ORGANIZATION",
22
+ };
24
23
  class ConflictException extends GrafanaServiceException_1.GrafanaServiceException {
25
24
  constructor(opts) {
26
25
  super({
@@ -100,13 +99,12 @@ class ThrottlingException extends GrafanaServiceException_1.GrafanaServiceExcept
100
99
  }
101
100
  }
102
101
  exports.ThrottlingException = ThrottlingException;
103
- var ValidationExceptionReason;
104
- (function (ValidationExceptionReason) {
105
- ValidationExceptionReason["CANNOT_PARSE"] = "CANNOT_PARSE";
106
- ValidationExceptionReason["FIELD_VALIDATION_FAILED"] = "FIELD_VALIDATION_FAILED";
107
- ValidationExceptionReason["OTHER"] = "OTHER";
108
- ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
109
- })(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
102
+ exports.ValidationExceptionReason = {
103
+ CANNOT_PARSE: "CANNOT_PARSE",
104
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
105
+ OTHER: "OTHER",
106
+ UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
107
+ };
110
108
  class ValidationException extends GrafanaServiceException_1.GrafanaServiceException {
111
109
  constructor(opts) {
112
110
  super({
@@ -122,56 +120,49 @@ class ValidationException extends GrafanaServiceException_1.GrafanaServiceExcept
122
120
  }
123
121
  }
124
122
  exports.ValidationException = ValidationException;
125
- var LicenseType;
126
- (function (LicenseType) {
127
- LicenseType["ENTERPRISE"] = "ENTERPRISE";
128
- LicenseType["ENTERPRISE_FREE_TRIAL"] = "ENTERPRISE_FREE_TRIAL";
129
- })(LicenseType = exports.LicenseType || (exports.LicenseType = {}));
130
- var AuthenticationProviderTypes;
131
- (function (AuthenticationProviderTypes) {
132
- AuthenticationProviderTypes["AWS_SSO"] = "AWS_SSO";
133
- AuthenticationProviderTypes["SAML"] = "SAML";
134
- })(AuthenticationProviderTypes = exports.AuthenticationProviderTypes || (exports.AuthenticationProviderTypes = {}));
135
- var SamlConfigurationStatus;
136
- (function (SamlConfigurationStatus) {
137
- SamlConfigurationStatus["CONFIGURED"] = "CONFIGURED";
138
- SamlConfigurationStatus["NOT_CONFIGURED"] = "NOT_CONFIGURED";
139
- })(SamlConfigurationStatus = exports.SamlConfigurationStatus || (exports.SamlConfigurationStatus = {}));
140
- var DataSourceType;
141
- (function (DataSourceType) {
142
- DataSourceType["AMAZON_OPENSEARCH_SERVICE"] = "AMAZON_OPENSEARCH_SERVICE";
143
- DataSourceType["ATHENA"] = "ATHENA";
144
- DataSourceType["CLOUDWATCH"] = "CLOUDWATCH";
145
- DataSourceType["PROMETHEUS"] = "PROMETHEUS";
146
- DataSourceType["REDSHIFT"] = "REDSHIFT";
147
- DataSourceType["SITEWISE"] = "SITEWISE";
148
- DataSourceType["TIMESTREAM"] = "TIMESTREAM";
149
- DataSourceType["TWINMAKER"] = "TWINMAKER";
150
- DataSourceType["XRAY"] = "XRAY";
151
- })(DataSourceType = exports.DataSourceType || (exports.DataSourceType = {}));
152
- var NotificationDestinationType;
153
- (function (NotificationDestinationType) {
154
- NotificationDestinationType["SNS"] = "SNS";
155
- })(NotificationDestinationType = exports.NotificationDestinationType || (exports.NotificationDestinationType = {}));
156
- var PermissionType;
157
- (function (PermissionType) {
158
- PermissionType["CUSTOMER_MANAGED"] = "CUSTOMER_MANAGED";
159
- PermissionType["SERVICE_MANAGED"] = "SERVICE_MANAGED";
160
- })(PermissionType = exports.PermissionType || (exports.PermissionType = {}));
161
- var WorkspaceStatus;
162
- (function (WorkspaceStatus) {
163
- WorkspaceStatus["ACTIVE"] = "ACTIVE";
164
- WorkspaceStatus["CREATING"] = "CREATING";
165
- WorkspaceStatus["CREATION_FAILED"] = "CREATION_FAILED";
166
- WorkspaceStatus["DELETING"] = "DELETING";
167
- WorkspaceStatus["DELETION_FAILED"] = "DELETION_FAILED";
168
- WorkspaceStatus["FAILED"] = "FAILED";
169
- WorkspaceStatus["LICENSE_REMOVAL_FAILED"] = "LICENSE_REMOVAL_FAILED";
170
- WorkspaceStatus["UPDATE_FAILED"] = "UPDATE_FAILED";
171
- WorkspaceStatus["UPDATING"] = "UPDATING";
172
- WorkspaceStatus["UPGRADE_FAILED"] = "UPGRADE_FAILED";
173
- WorkspaceStatus["UPGRADING"] = "UPGRADING";
174
- })(WorkspaceStatus = exports.WorkspaceStatus || (exports.WorkspaceStatus = {}));
123
+ exports.LicenseType = {
124
+ ENTERPRISE: "ENTERPRISE",
125
+ ENTERPRISE_FREE_TRIAL: "ENTERPRISE_FREE_TRIAL",
126
+ };
127
+ exports.AuthenticationProviderTypes = {
128
+ AWS_SSO: "AWS_SSO",
129
+ SAML: "SAML",
130
+ };
131
+ exports.SamlConfigurationStatus = {
132
+ CONFIGURED: "CONFIGURED",
133
+ NOT_CONFIGURED: "NOT_CONFIGURED",
134
+ };
135
+ exports.DataSourceType = {
136
+ AMAZON_OPENSEARCH_SERVICE: "AMAZON_OPENSEARCH_SERVICE",
137
+ ATHENA: "ATHENA",
138
+ CLOUDWATCH: "CLOUDWATCH",
139
+ PROMETHEUS: "PROMETHEUS",
140
+ REDSHIFT: "REDSHIFT",
141
+ SITEWISE: "SITEWISE",
142
+ TIMESTREAM: "TIMESTREAM",
143
+ TWINMAKER: "TWINMAKER",
144
+ XRAY: "XRAY",
145
+ };
146
+ exports.NotificationDestinationType = {
147
+ SNS: "SNS",
148
+ };
149
+ exports.PermissionType = {
150
+ CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
151
+ SERVICE_MANAGED: "SERVICE_MANAGED",
152
+ };
153
+ exports.WorkspaceStatus = {
154
+ ACTIVE: "ACTIVE",
155
+ CREATING: "CREATING",
156
+ CREATION_FAILED: "CREATION_FAILED",
157
+ DELETING: "DELETING",
158
+ DELETION_FAILED: "DELETION_FAILED",
159
+ FAILED: "FAILED",
160
+ LICENSE_REMOVAL_FAILED: "LICENSE_REMOVAL_FAILED",
161
+ UPDATE_FAILED: "UPDATE_FAILED",
162
+ UPDATING: "UPDATING",
163
+ UPGRADE_FAILED: "UPGRADE_FAILED",
164
+ UPGRADING: "UPGRADING",
165
+ };
175
166
  var IdpMetadata;
176
167
  (function (IdpMetadata) {
177
168
  IdpMetadata.visit = (value, visitor) => {
@@ -182,22 +173,19 @@ var IdpMetadata;
182
173
  return visitor._(value.$unknown[0], value.$unknown[1]);
183
174
  };
184
175
  })(IdpMetadata = exports.IdpMetadata || (exports.IdpMetadata = {}));
185
- var UserType;
186
- (function (UserType) {
187
- UserType["SSO_GROUP"] = "SSO_GROUP";
188
- UserType["SSO_USER"] = "SSO_USER";
189
- })(UserType = exports.UserType || (exports.UserType = {}));
190
- var Role;
191
- (function (Role) {
192
- Role["ADMIN"] = "ADMIN";
193
- Role["EDITOR"] = "EDITOR";
194
- Role["VIEWER"] = "VIEWER";
195
- })(Role = exports.Role || (exports.Role = {}));
196
- var UpdateAction;
197
- (function (UpdateAction) {
198
- UpdateAction["ADD"] = "ADD";
199
- UpdateAction["REVOKE"] = "REVOKE";
200
- })(UpdateAction = exports.UpdateAction || (exports.UpdateAction = {}));
176
+ exports.UserType = {
177
+ SSO_GROUP: "SSO_GROUP",
178
+ SSO_USER: "SSO_USER",
179
+ };
180
+ exports.Role = {
181
+ ADMIN: "ADMIN",
182
+ EDITOR: "EDITOR",
183
+ VIEWER: "VIEWER",
184
+ };
185
+ exports.UpdateAction = {
186
+ ADD: "ADD",
187
+ REVOKE: "REVOKE",
188
+ };
201
189
  const CreateWorkspaceApiKeyResponseFilterSensitiveLog = (obj) => ({
202
190
  ...obj,
203
191
  ...(obj.key && { key: smithy_client_1.SENSITIVE_STRING }),
@@ -12,11 +12,10 @@ export class AccessDeniedException extends __BaseException {
12
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
13
  }
14
14
  }
15
- export var AccountAccessType;
16
- (function (AccountAccessType) {
17
- AccountAccessType["CURRENT_ACCOUNT"] = "CURRENT_ACCOUNT";
18
- AccountAccessType["ORGANIZATION"] = "ORGANIZATION";
19
- })(AccountAccessType || (AccountAccessType = {}));
15
+ export const AccountAccessType = {
16
+ CURRENT_ACCOUNT: "CURRENT_ACCOUNT",
17
+ ORGANIZATION: "ORGANIZATION",
18
+ };
20
19
  export class ConflictException extends __BaseException {
21
20
  constructor(opts) {
22
21
  super({
@@ -91,13 +90,12 @@ export class ThrottlingException extends __BaseException {
91
90
  this.retryAfterSeconds = opts.retryAfterSeconds;
92
91
  }
93
92
  }
94
- export var ValidationExceptionReason;
95
- (function (ValidationExceptionReason) {
96
- ValidationExceptionReason["CANNOT_PARSE"] = "CANNOT_PARSE";
97
- ValidationExceptionReason["FIELD_VALIDATION_FAILED"] = "FIELD_VALIDATION_FAILED";
98
- ValidationExceptionReason["OTHER"] = "OTHER";
99
- ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
100
- })(ValidationExceptionReason || (ValidationExceptionReason = {}));
93
+ export const ValidationExceptionReason = {
94
+ CANNOT_PARSE: "CANNOT_PARSE",
95
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
96
+ OTHER: "OTHER",
97
+ UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
98
+ };
101
99
  export class ValidationException extends __BaseException {
102
100
  constructor(opts) {
103
101
  super({
@@ -112,56 +110,49 @@ export class ValidationException extends __BaseException {
112
110
  this.fieldList = opts.fieldList;
113
111
  }
114
112
  }
115
- export var LicenseType;
116
- (function (LicenseType) {
117
- LicenseType["ENTERPRISE"] = "ENTERPRISE";
118
- LicenseType["ENTERPRISE_FREE_TRIAL"] = "ENTERPRISE_FREE_TRIAL";
119
- })(LicenseType || (LicenseType = {}));
120
- export var AuthenticationProviderTypes;
121
- (function (AuthenticationProviderTypes) {
122
- AuthenticationProviderTypes["AWS_SSO"] = "AWS_SSO";
123
- AuthenticationProviderTypes["SAML"] = "SAML";
124
- })(AuthenticationProviderTypes || (AuthenticationProviderTypes = {}));
125
- export var SamlConfigurationStatus;
126
- (function (SamlConfigurationStatus) {
127
- SamlConfigurationStatus["CONFIGURED"] = "CONFIGURED";
128
- SamlConfigurationStatus["NOT_CONFIGURED"] = "NOT_CONFIGURED";
129
- })(SamlConfigurationStatus || (SamlConfigurationStatus = {}));
130
- export var DataSourceType;
131
- (function (DataSourceType) {
132
- DataSourceType["AMAZON_OPENSEARCH_SERVICE"] = "AMAZON_OPENSEARCH_SERVICE";
133
- DataSourceType["ATHENA"] = "ATHENA";
134
- DataSourceType["CLOUDWATCH"] = "CLOUDWATCH";
135
- DataSourceType["PROMETHEUS"] = "PROMETHEUS";
136
- DataSourceType["REDSHIFT"] = "REDSHIFT";
137
- DataSourceType["SITEWISE"] = "SITEWISE";
138
- DataSourceType["TIMESTREAM"] = "TIMESTREAM";
139
- DataSourceType["TWINMAKER"] = "TWINMAKER";
140
- DataSourceType["XRAY"] = "XRAY";
141
- })(DataSourceType || (DataSourceType = {}));
142
- export var NotificationDestinationType;
143
- (function (NotificationDestinationType) {
144
- NotificationDestinationType["SNS"] = "SNS";
145
- })(NotificationDestinationType || (NotificationDestinationType = {}));
146
- export var PermissionType;
147
- (function (PermissionType) {
148
- PermissionType["CUSTOMER_MANAGED"] = "CUSTOMER_MANAGED";
149
- PermissionType["SERVICE_MANAGED"] = "SERVICE_MANAGED";
150
- })(PermissionType || (PermissionType = {}));
151
- export var WorkspaceStatus;
152
- (function (WorkspaceStatus) {
153
- WorkspaceStatus["ACTIVE"] = "ACTIVE";
154
- WorkspaceStatus["CREATING"] = "CREATING";
155
- WorkspaceStatus["CREATION_FAILED"] = "CREATION_FAILED";
156
- WorkspaceStatus["DELETING"] = "DELETING";
157
- WorkspaceStatus["DELETION_FAILED"] = "DELETION_FAILED";
158
- WorkspaceStatus["FAILED"] = "FAILED";
159
- WorkspaceStatus["LICENSE_REMOVAL_FAILED"] = "LICENSE_REMOVAL_FAILED";
160
- WorkspaceStatus["UPDATE_FAILED"] = "UPDATE_FAILED";
161
- WorkspaceStatus["UPDATING"] = "UPDATING";
162
- WorkspaceStatus["UPGRADE_FAILED"] = "UPGRADE_FAILED";
163
- WorkspaceStatus["UPGRADING"] = "UPGRADING";
164
- })(WorkspaceStatus || (WorkspaceStatus = {}));
113
+ export const LicenseType = {
114
+ ENTERPRISE: "ENTERPRISE",
115
+ ENTERPRISE_FREE_TRIAL: "ENTERPRISE_FREE_TRIAL",
116
+ };
117
+ export const AuthenticationProviderTypes = {
118
+ AWS_SSO: "AWS_SSO",
119
+ SAML: "SAML",
120
+ };
121
+ export const SamlConfigurationStatus = {
122
+ CONFIGURED: "CONFIGURED",
123
+ NOT_CONFIGURED: "NOT_CONFIGURED",
124
+ };
125
+ export const DataSourceType = {
126
+ AMAZON_OPENSEARCH_SERVICE: "AMAZON_OPENSEARCH_SERVICE",
127
+ ATHENA: "ATHENA",
128
+ CLOUDWATCH: "CLOUDWATCH",
129
+ PROMETHEUS: "PROMETHEUS",
130
+ REDSHIFT: "REDSHIFT",
131
+ SITEWISE: "SITEWISE",
132
+ TIMESTREAM: "TIMESTREAM",
133
+ TWINMAKER: "TWINMAKER",
134
+ XRAY: "XRAY",
135
+ };
136
+ export const NotificationDestinationType = {
137
+ SNS: "SNS",
138
+ };
139
+ export const PermissionType = {
140
+ CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
141
+ SERVICE_MANAGED: "SERVICE_MANAGED",
142
+ };
143
+ export const WorkspaceStatus = {
144
+ ACTIVE: "ACTIVE",
145
+ CREATING: "CREATING",
146
+ CREATION_FAILED: "CREATION_FAILED",
147
+ DELETING: "DELETING",
148
+ DELETION_FAILED: "DELETION_FAILED",
149
+ FAILED: "FAILED",
150
+ LICENSE_REMOVAL_FAILED: "LICENSE_REMOVAL_FAILED",
151
+ UPDATE_FAILED: "UPDATE_FAILED",
152
+ UPDATING: "UPDATING",
153
+ UPGRADE_FAILED: "UPGRADE_FAILED",
154
+ UPGRADING: "UPGRADING",
155
+ };
165
156
  export var IdpMetadata;
166
157
  (function (IdpMetadata) {
167
158
  IdpMetadata.visit = (value, visitor) => {
@@ -172,22 +163,19 @@ export var IdpMetadata;
172
163
  return visitor._(value.$unknown[0], value.$unknown[1]);
173
164
  };
174
165
  })(IdpMetadata || (IdpMetadata = {}));
175
- export var UserType;
176
- (function (UserType) {
177
- UserType["SSO_GROUP"] = "SSO_GROUP";
178
- UserType["SSO_USER"] = "SSO_USER";
179
- })(UserType || (UserType = {}));
180
- export var Role;
181
- (function (Role) {
182
- Role["ADMIN"] = "ADMIN";
183
- Role["EDITOR"] = "EDITOR";
184
- Role["VIEWER"] = "VIEWER";
185
- })(Role || (Role = {}));
186
- export var UpdateAction;
187
- (function (UpdateAction) {
188
- UpdateAction["ADD"] = "ADD";
189
- UpdateAction["REVOKE"] = "REVOKE";
190
- })(UpdateAction || (UpdateAction = {}));
166
+ export const UserType = {
167
+ SSO_GROUP: "SSO_GROUP",
168
+ SSO_USER: "SSO_USER",
169
+ };
170
+ export const Role = {
171
+ ADMIN: "ADMIN",
172
+ EDITOR: "EDITOR",
173
+ VIEWER: "VIEWER",
174
+ };
175
+ export const UpdateAction = {
176
+ ADD: "ADD",
177
+ REVOKE: "REVOKE",
178
+ };
191
179
  export const CreateWorkspaceApiKeyResponseFilterSensitiveLog = (obj) => ({
192
180
  ...obj,
193
181
  ...(obj.key && { key: SENSITIVE_STRING }),
@@ -28,7 +28,7 @@ export interface AssociateLicenseCommandOutput extends AssociateLicenseResponse,
28
28
  * import { GrafanaClient, AssociateLicenseCommand } from "@aws-sdk/client-grafana"; // ES Modules import
29
29
  * // const { GrafanaClient, AssociateLicenseCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
30
30
  * const client = new GrafanaClient(config);
31
- * const input = {
31
+ * const input = { // AssociateLicenseRequest
32
32
  * workspaceId: "STRING_VALUE", // required
33
33
  * licenseType: "STRING_VALUE", // required
34
34
  * };
@@ -28,7 +28,7 @@ export interface CreateWorkspaceApiKeyCommandOutput extends CreateWorkspaceApiKe
28
28
  * import { GrafanaClient, CreateWorkspaceApiKeyCommand } from "@aws-sdk/client-grafana"; // ES Modules import
29
29
  * // const { GrafanaClient, CreateWorkspaceApiKeyCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
30
30
  * const client = new GrafanaClient(config);
31
- * const input = {
31
+ * const input = { // CreateWorkspaceApiKeyRequest
32
32
  * keyName: "STRING_VALUE", // required
33
33
  * keyRole: "STRING_VALUE", // required
34
34
  * secondsToLive: Number("int"), // required
@@ -30,44 +30,44 @@ export interface CreateWorkspaceCommandOutput extends CreateWorkspaceResponse, _
30
30
  * import { GrafanaClient, CreateWorkspaceCommand } from "@aws-sdk/client-grafana"; // ES Modules import
31
31
  * // const { GrafanaClient, CreateWorkspaceCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
32
32
  * const client = new GrafanaClient(config);
33
- * const input = {
33
+ * const input = { // CreateWorkspaceRequest
34
34
  * accountAccessType: "STRING_VALUE", // required
35
35
  * clientToken: "STRING_VALUE",
36
36
  * organizationRoleName: "STRING_VALUE",
37
37
  * permissionType: "STRING_VALUE", // required
38
38
  * stackSetName: "STRING_VALUE",
39
- * workspaceDataSources: [
39
+ * workspaceDataSources: [ // DataSourceTypesList
40
40
  * "STRING_VALUE",
41
41
  * ],
42
42
  * workspaceDescription: "STRING_VALUE",
43
43
  * workspaceName: "STRING_VALUE",
44
- * workspaceNotificationDestinations: [
44
+ * workspaceNotificationDestinations: [ // NotificationDestinationsList
45
45
  * "STRING_VALUE",
46
46
  * ],
47
- * workspaceOrganizationalUnits: [
47
+ * workspaceOrganizationalUnits: [ // OrganizationalUnitList
48
48
  * "STRING_VALUE",
49
49
  * ],
50
50
  * workspaceRoleArn: "STRING_VALUE",
51
- * authenticationProviders: [ // required
51
+ * authenticationProviders: [ // AuthenticationProviders // required
52
52
  * "STRING_VALUE",
53
53
  * ],
54
- * tags: {
54
+ * tags: { // TagMap
55
55
  * "<keys>": "STRING_VALUE",
56
56
  * },
57
- * vpcConfiguration: {
58
- * securityGroupIds: [ // required
57
+ * vpcConfiguration: { // VpcConfiguration
58
+ * securityGroupIds: [ // SecurityGroupIds // required
59
59
  * "STRING_VALUE",
60
60
  * ],
61
- * subnetIds: [ // required
61
+ * subnetIds: [ // SubnetIds // required
62
62
  * "STRING_VALUE",
63
63
  * ],
64
64
  * },
65
65
  * configuration: "STRING_VALUE",
66
- * networkAccessControl: {
67
- * prefixListIds: [ // required
66
+ * networkAccessControl: { // NetworkAccessConfiguration
67
+ * prefixListIds: [ // PrefixListIds // required
68
68
  * "STRING_VALUE",
69
69
  * ],
70
- * vpceIds: [ // required
70
+ * vpceIds: [ // VpceIds // required
71
71
  * "STRING_VALUE",
72
72
  * ],
73
73
  * },
@@ -26,7 +26,7 @@ export interface DeleteWorkspaceApiKeyCommandOutput extends DeleteWorkspaceApiKe
26
26
  * import { GrafanaClient, DeleteWorkspaceApiKeyCommand } from "@aws-sdk/client-grafana"; // ES Modules import
27
27
  * // const { GrafanaClient, DeleteWorkspaceApiKeyCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
28
28
  * const client = new GrafanaClient(config);
29
- * const input = {
29
+ * const input = { // DeleteWorkspaceApiKeyRequest
30
30
  * keyName: "STRING_VALUE", // required
31
31
  * workspaceId: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ export interface DeleteWorkspaceCommandOutput extends DeleteWorkspaceResponse, _
26
26
  * import { GrafanaClient, DeleteWorkspaceCommand } from "@aws-sdk/client-grafana"; // ES Modules import
27
27
  * // const { GrafanaClient, DeleteWorkspaceCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
28
28
  * const client = new GrafanaClient(config);
29
- * const input = {
29
+ * const input = { // DeleteWorkspaceRequest
30
30
  * workspaceId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteWorkspaceCommand(input);
@@ -27,7 +27,7 @@ export interface DescribeWorkspaceAuthenticationCommandOutput extends DescribeWo
27
27
  * import { GrafanaClient, DescribeWorkspaceAuthenticationCommand } from "@aws-sdk/client-grafana"; // ES Modules import
28
28
  * // const { GrafanaClient, DescribeWorkspaceAuthenticationCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
29
29
  * const client = new GrafanaClient(config);
30
- * const input = {
30
+ * const input = { // DescribeWorkspaceAuthenticationRequest
31
31
  * workspaceId: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new DescribeWorkspaceAuthenticationCommand(input);
@@ -26,7 +26,7 @@ export interface DescribeWorkspaceCommandOutput extends DescribeWorkspaceRespons
26
26
  * import { GrafanaClient, DescribeWorkspaceCommand } from "@aws-sdk/client-grafana"; // ES Modules import
27
27
  * // const { GrafanaClient, DescribeWorkspaceCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
28
28
  * const client = new GrafanaClient(config);
29
- * const input = {
29
+ * const input = { // DescribeWorkspaceRequest
30
30
  * workspaceId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DescribeWorkspaceCommand(input);
@@ -26,7 +26,7 @@ export interface DescribeWorkspaceConfigurationCommandOutput extends DescribeWor
26
26
  * import { GrafanaClient, DescribeWorkspaceConfigurationCommand } from "@aws-sdk/client-grafana"; // ES Modules import
27
27
  * // const { GrafanaClient, DescribeWorkspaceConfigurationCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
28
28
  * const client = new GrafanaClient(config);
29
- * const input = {
29
+ * const input = { // DescribeWorkspaceConfigurationRequest
30
30
  * workspaceId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DescribeWorkspaceConfigurationCommand(input);
@@ -26,7 +26,7 @@ export interface DisassociateLicenseCommandOutput extends DisassociateLicenseRes
26
26
  * import { GrafanaClient, DisassociateLicenseCommand } from "@aws-sdk/client-grafana"; // ES Modules import
27
27
  * // const { GrafanaClient, DisassociateLicenseCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
28
28
  * const client = new GrafanaClient(config);
29
- * const input = {
29
+ * const input = { // DisassociateLicenseRequest
30
30
  * workspaceId: "STRING_VALUE", // required
31
31
  * licenseType: "STRING_VALUE", // required
32
32
  * };
@@ -31,7 +31,7 @@ export interface ListPermissionsCommandOutput extends ListPermissionsResponse, _
31
31
  * import { GrafanaClient, ListPermissionsCommand } from "@aws-sdk/client-grafana"; // ES Modules import
32
32
  * // const { GrafanaClient, ListPermissionsCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
33
33
  * const client = new GrafanaClient(config);
34
- * const input = {
34
+ * const input = { // ListPermissionsRequest
35
35
  * maxResults: Number("int"),
36
36
  * nextToken: "STRING_VALUE",
37
37
  * userType: "STRING_VALUE",
@@ -29,7 +29,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
29
29
  * import { GrafanaClient, ListTagsForResourceCommand } from "@aws-sdk/client-grafana"; // ES Modules import
30
30
  * // const { GrafanaClient, ListTagsForResourceCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
31
31
  * const client = new GrafanaClient(config);
32
- * const input = {
32
+ * const input = { // ListTagsForResourceRequest
33
33
  * resourceArn: "STRING_VALUE", // required
34
34
  * };
35
35
  * const command = new ListTagsForResourceCommand(input);
@@ -27,7 +27,7 @@ export interface ListWorkspacesCommandOutput extends ListWorkspacesResponse, __M
27
27
  * import { GrafanaClient, ListWorkspacesCommand } from "@aws-sdk/client-grafana"; // ES Modules import
28
28
  * // const { GrafanaClient, ListWorkspacesCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
29
29
  * const client = new GrafanaClient(config);
30
- * const input = {
30
+ * const input = { // ListWorkspacesRequest
31
31
  * maxResults: Number("int"),
32
32
  * nextToken: "STRING_VALUE",
33
33
  * };
@@ -31,9 +31,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
31
31
  * import { GrafanaClient, TagResourceCommand } from "@aws-sdk/client-grafana"; // ES Modules import
32
32
  * // const { GrafanaClient, TagResourceCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
33
33
  * const client = new GrafanaClient(config);
34
- * const input = {
34
+ * const input = { // TagResourceRequest
35
35
  * resourceArn: "STRING_VALUE", // required
36
- * tags: { // required
36
+ * tags: { // TagMap // required
37
37
  * "<keys>": "STRING_VALUE",
38
38
  * },
39
39
  * };
@@ -27,9 +27,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
27
27
  * import { GrafanaClient, UntagResourceCommand } from "@aws-sdk/client-grafana"; // ES Modules import
28
28
  * // const { GrafanaClient, UntagResourceCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
29
29
  * const client = new GrafanaClient(config);
30
- * const input = {
30
+ * const input = { // UntagResourceRequest
31
31
  * resourceArn: "STRING_VALUE", // required
32
- * tagKeys: [ // required
32
+ * tagKeys: [ // TagKeys // required
33
33
  * "STRING_VALUE",
34
34
  * ],
35
35
  * };
@@ -27,13 +27,13 @@ export interface UpdatePermissionsCommandOutput extends UpdatePermissionsRespons
27
27
  * import { GrafanaClient, UpdatePermissionsCommand } from "@aws-sdk/client-grafana"; // ES Modules import
28
28
  * // const { GrafanaClient, UpdatePermissionsCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
29
29
  * const client = new GrafanaClient(config);
30
- * const input = {
31
- * updateInstructionBatch: [ // required
32
- * {
30
+ * const input = { // UpdatePermissionsRequest
31
+ * updateInstructionBatch: [ // UpdateInstructionBatch // required
32
+ * { // UpdateInstruction
33
33
  * action: "STRING_VALUE", // required
34
34
  * role: "STRING_VALUE", // required
35
- * users: [ // required
36
- * {
35
+ * users: [ // UserList // required
36
+ * { // User
37
37
  * id: "STRING_VALUE", // required
38
38
  * type: "STRING_VALUE", // required
39
39
  * },
@@ -33,17 +33,17 @@ export interface UpdateWorkspaceAuthenticationCommandOutput extends UpdateWorksp
33
33
  * import { GrafanaClient, UpdateWorkspaceAuthenticationCommand } from "@aws-sdk/client-grafana"; // ES Modules import
34
34
  * // const { GrafanaClient, UpdateWorkspaceAuthenticationCommand } = require("@aws-sdk/client-grafana"); // CommonJS import
35
35
  * const client = new GrafanaClient(config);
36
- * const input = {
36
+ * const input = { // UpdateWorkspaceAuthenticationRequest
37
37
  * workspaceId: "STRING_VALUE", // required
38
- * authenticationProviders: [ // required
38
+ * authenticationProviders: [ // AuthenticationProviders // required
39
39
  * "STRING_VALUE",
40
40
  * ],
41
- * samlConfiguration: {
42
- * idpMetadata: { // Union: only one key present
41
+ * samlConfiguration: { // SamlConfiguration
42
+ * idpMetadata: { // IdpMetadata Union: only one key present
43
43
  * url: "STRING_VALUE",
44
44
  * xml: "STRING_VALUE",
45
45
  * },
46
- * assertionAttributes: {
46
+ * assertionAttributes: { // AssertionAttributes
47
47
  * name: "STRING_VALUE",
48
48
  * login: "STRING_VALUE",
49
49
  * email: "STRING_VALUE",
@@ -51,15 +51,15 @@ export interface UpdateWorkspaceAuthenticationCommandOutput extends UpdateWorksp
51
51
  * role: "STRING_VALUE",
52
52
  * org: "STRING_VALUE",
53
53
  * },
54
- * roleValues: {
55
- * editor: [
54
+ * roleValues: { // RoleValues
55
+ * editor: [ // RoleValueList
56
56
  * "STRING_VALUE",
57
57
  * ],
58
58
  * admin: [
59
59
  * "STRING_VALUE",
60
60
  * ],
61
61
  * },
62
- * allowedOrganizations: [
62
+ * allowedOrganizations: [ // AllowedOrganizations
63
63
  * "STRING_VALUE",
64
64
  * ],
65
65
  * loginValidityDuration: Number("int"),