@aws-sdk/client-grafana 3.276.0 → 3.278.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.
@@ -52,7 +52,8 @@ export interface CreateWorkspaceApiKeyRequest {
52
52
  */
53
53
  keyRole: string | undefined;
54
54
  /**
55
- * <p>Specifies the time in seconds until the key expires. Keys can be valid for up to 30 days.</p>
55
+ * <p>Specifies the time in seconds until the key expires. Keys can be valid for up to 30
56
+ * days.</p>
56
57
  */
57
58
  secondsToLive: number | undefined;
58
59
  /**
@@ -66,8 +67,8 @@ export interface CreateWorkspaceApiKeyResponse {
66
67
  */
67
68
  keyName: string | undefined;
68
69
  /**
69
- * <p>The key token. Use this value as a bearer token to
70
- * authenticate HTTP requests to the workspace.</p>
70
+ * <p>The key token. Use this value as a bearer token to authenticate HTTP requests to the
71
+ * workspace.</p>
71
72
  */
72
73
  key: string | undefined;
73
74
  /**
@@ -162,7 +163,8 @@ export declare class ThrottlingException extends __BaseException {
162
163
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
163
164
  }
164
165
  /**
165
- * <p>A structure that contains information about a request parameter that caused an error.</p>
166
+ * <p>A structure that contains information about a request parameter that caused an
167
+ * error.</p>
166
168
  */
167
169
  export interface ValidationExceptionField {
168
170
  /**
@@ -220,24 +222,28 @@ export interface DeleteWorkspaceApiKeyResponse {
220
222
  workspaceId: string | undefined;
221
223
  }
222
224
  /**
223
- * <p>A structure that defines which attributes in the IdP assertion are to be used to define
224
- * information about the users authenticated by the IdP to use the workspace.</p>
225
+ * <p>A structure that defines which attributes in the IdP assertion are to be used to
226
+ * define information about the users authenticated by the IdP to use the workspace.</p>
225
227
  */
226
228
  export interface AssertionAttributes {
227
229
  /**
228
- * <p>The name of the attribute within the SAML assertion to use as the user full "friendly" names for SAML users.</p>
230
+ * <p>The name of the attribute within the SAML assertion to use as the user full "friendly"
231
+ * names for SAML users.</p>
229
232
  */
230
233
  name?: string;
231
234
  /**
232
- * <p>The name of the attribute within the SAML assertion to use as the login names for SAML users.</p>
235
+ * <p>The name of the attribute within the SAML assertion to use as the login names for SAML
236
+ * users.</p>
233
237
  */
234
238
  login?: string;
235
239
  /**
236
- * <p>The name of the attribute within the SAML assertion to use as the email names for SAML users.</p>
240
+ * <p>The name of the attribute within the SAML assertion to use as the email names for SAML
241
+ * users.</p>
237
242
  */
238
243
  email?: string;
239
244
  /**
240
- * <p>The name of the attribute within the SAML assertion to use as the user full "friendly" names for user groups.</p>
245
+ * <p>The name of the attribute within the SAML assertion to use as the user full "friendly"
246
+ * names for user groups.</p>
241
247
  */
242
248
  groups?: string;
243
249
  /**
@@ -245,7 +251,8 @@ export interface AssertionAttributes {
245
251
  */
246
252
  role?: string;
247
253
  /**
248
- * <p>The name of the attribute within the SAML assertion to use as the user full "friendly" names for the users' organizations.</p>
254
+ * <p>The name of the attribute within the SAML assertion to use as the user full "friendly"
255
+ * names for the users' organizations.</p>
249
256
  */
250
257
  org?: string;
251
258
  }
@@ -296,12 +303,13 @@ export declare enum SamlConfigurationStatus {
296
303
  */
297
304
  export interface AuthenticationSummary {
298
305
  /**
299
- * <p>Specifies whether the workspace uses SAML, IAM Identity Center, or both methods for user
300
- * authentication.</p>
306
+ * <p>Specifies whether the workspace uses SAML, IAM Identity Center, or both methods for
307
+ * user authentication.</p>
301
308
  */
302
309
  providers: (AuthenticationProviderTypes | string)[] | undefined;
303
310
  /**
304
- * <p>Specifies whether the workplace's user authentication method is fully configured.</p>
311
+ * <p>Specifies whether the workplace's user authentication method is fully
312
+ * configured.</p>
305
313
  */
306
314
  samlConfigurationStatus?: SamlConfigurationStatus | string;
307
315
  }
@@ -368,18 +376,18 @@ export interface NetworkAccessConfiguration {
368
376
  /**
369
377
  * <p>An array of Amazon VPC endpoint IDs for the workspace. You can create VPC
370
378
  * endpoints to your Amazon Managed Grafana workspace for access from within a VPC. If a
371
- * <code>NetworkAccessConfiguration</code> is specified then only VPC endpoints
379
+ * <code>NetworkAccessConfiguration</code> is specified then only VPC endpoints
372
380
  * specified here will be allowed to access the workspace.</p>
373
- * <p>VPC endpoint IDs have the format <code>vpce-<i>1a2b3c4d</i>
381
+ * <p>VPC endpoint IDs have the format
382
+ * <code>vpce-<i>1a2b3c4d</i>
374
383
  * </code>.</p>
375
- * <p>For more information about creating an interface VPC endpoint, see
376
- * <a href="https://docs.aws.amazon.com/grafana/latest/userguide/VPC-endpoints">Interface VPC endpoints</a> in the <i>Amazon Managed Grafana
377
- * User Guide</i>.</p>
384
+ * <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
385
+ * endpoints</a> in the <i>Amazon Managed Grafana User
386
+ * Guide</i>.</p>
378
387
  * <note>
379
388
  * <p>The only VPC endpoints that can be specified here are interface VPC endpoints for
380
- * Grafana workspaces (using the
381
- * <code>com.amazonaws.[region].grafana-workspace</code> service endpoint). Other VPC
382
- * endpoints will be ignored.</p>
389
+ * Grafana workspaces (using the <code>com.amazonaws.[region].grafana-workspace</code>
390
+ * service endpoint). Other VPC endpoints will be ignored.</p>
383
391
  * </note>
384
392
  */
385
393
  vpceIds: string[] | undefined;
@@ -447,11 +455,11 @@ export declare enum WorkspaceStatus {
447
455
  UPGRADING = "UPGRADING"
448
456
  }
449
457
  /**
450
- * <p>The configuration settings for an Amazon VPC that contains data sources
451
- * for your Grafana workspace to connect to.</p>
458
+ * <p>The configuration settings for an Amazon VPC that contains data sources for
459
+ * your Grafana workspace to connect to.</p>
452
460
  * <note>
453
- * <p>Provided <code>securityGroupIds</code> and <code>subnetIds</code>
454
- * must be part of the same VPC.</p>
461
+ * <p>Provided <code>securityGroupIds</code> and <code>subnetIds</code> must be part of
462
+ * the same VPC.</p>
455
463
  * </note>
456
464
  */
457
465
  export interface VpcConfiguration {
@@ -461,20 +469,22 @@ export interface VpcConfiguration {
461
469
  */
462
470
  securityGroupIds: string[] | undefined;
463
471
  /**
464
- * <p>The list of Amazon EC2 subnet IDs created in the Amazon VPC for
465
- * your Grafana workspace to connect. Duplicates not allowed.</p>
472
+ * <p>The list of Amazon EC2 subnet IDs created in the Amazon VPC for your
473
+ * Grafana workspace to connect. Duplicates not allowed.</p>
466
474
  */
467
475
  subnetIds: string[] | undefined;
468
476
  }
469
477
  /**
470
- * <p>A structure containing information about an Amazon Managed Grafana workspace in your account.</p>
478
+ * <p>A structure containing information about an Amazon Managed Grafana workspace in your
479
+ * account.</p>
471
480
  */
472
481
  export interface WorkspaceDescription {
473
482
  /**
474
- * <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
475
- * other accounts in the same organization. If this is <code>ORGANIZATION</code>, the
476
- * <code>workspaceOrganizationalUnits</code> parameter specifies which organizational units
477
- * the workspace can access.</p>
483
+ * <p>Specifies whether the workspace can access Amazon Web Services resources in this
484
+ * Amazon Web Services account only, or whether it can also access Amazon Web Services
485
+ * resources in other accounts in the same organization. If this is
486
+ * <code>ORGANIZATION</code>, the <code>workspaceOrganizationalUnits</code> parameter
487
+ * specifies which organizational units the workspace can access.</p>
478
488
  */
479
489
  accountAccessType?: AccountAccessType | string;
480
490
  /**
@@ -482,9 +492,11 @@ export interface WorkspaceDescription {
482
492
  */
483
493
  created: Date | undefined;
484
494
  /**
485
- * <p>Specifies the Amazon Web Services data sources that have been configured to have IAM
486
- * roles and permissions created to allow
487
- * Amazon Managed Grafana to read data from these sources.</p>
495
+ * <p>Specifies the Amazon Web Services data sources that have been configured to have
496
+ * IAM roles and permissions created to allow Amazon Managed Grafana to read
497
+ * data from these sources.</p>
498
+ * <p>This list is only used when the workspace was created through the Amazon Web Services
499
+ * console, and the <code>permissionType</code> is <code>SERVICE_MANAGED</code>.</p>
488
500
  */
489
501
  dataSources: (DataSourceType | string)[] | undefined;
490
502
  /**
@@ -512,13 +524,14 @@ export interface WorkspaceDescription {
512
524
  */
513
525
  name?: string;
514
526
  /**
515
- * <p>The name of the IAM role that is used to access resources through Organizations.</p>
527
+ * <p>The name of the IAM role that is used to access resources through
528
+ * Organizations.</p>
516
529
  */
517
530
  organizationRoleName?: string;
518
531
  /**
519
- * <p>The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM
520
- * roles and permissions for, to allow
521
- * Amazon Managed Grafana to use these channels.</p>
532
+ * <p>The Amazon Web Services notification channels that Amazon Managed Grafana can automatically
533
+ * create IAM roles and permissions for, to allow Amazon Managed Grafana to use
534
+ * these channels.</p>
522
535
  */
523
536
  notificationDestinations?: (NotificationDestinationType | string)[];
524
537
  /**
@@ -527,21 +540,27 @@ export interface WorkspaceDescription {
527
540
  */
528
541
  organizationalUnits?: string[];
529
542
  /**
530
- * <p>If this is <code>SERVICE_MANAGED</code>, Amazon Managed Grafana automatically creates the IAM roles
531
- * and provisions the permissions that the workspace needs to use Amazon Web Services data sources and notification channels.</p>
532
- * <p>If this is <code>CUSTOMER_MANAGED</code>, you manage those roles and permissions
533
- * yourself. If you are creating this workspace in a member account of an organization and that account is not a
534
- * delegated administrator account, and
535
- * you want the workspace to access data sources in other Amazon Web Services accounts in the
536
- * organization, you must choose <code>CUSTOMER_MANAGED</code>.</p>
537
- * <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
538
- * Amazon Web Services data sources and notification channels</a>
543
+ * <p>If this is <code>SERVICE_MANAGED</code>, and the workplace was created through the
544
+ * Amazon Managed Grafana console, then Amazon Managed Grafana automatically creates the
545
+ * IAM roles and provisions the permissions that the workspace needs to
546
+ * use Amazon Web Services data sources and notification channels.</p>
547
+ * <p>If this is <code>CUSTOMER_MANAGED</code>, you must manage those roles and permissions
548
+ * yourself.</p>
549
+ * <p>If you are working with a workspace in a member account of an organization and
550
+ * that account is not a delegated administrator account, and you want the workspace to
551
+ * access data sources in other Amazon Web Services accounts in the organization, this
552
+ * parameter must be set to <code>CUSTOMER_MANAGED</code>.</p>
553
+ * <p>For more information about converting between customer and service managed, see
554
+ * <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
555
+ * information about the roles and permissions that must be managed for customer managed
556
+ * workspaces, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/AMG-manage-permissions.html">Amazon Managed Grafana
557
+ * permissions and policies for Amazon Web Services data sources and notification
558
+ * channels</a>
539
559
  * </p>
540
560
  */
541
561
  permissionType?: PermissionType | string;
542
562
  /**
543
- * <p>The name of the CloudFormation stack set that is used to generate IAM roles
544
- * to be used for this workspace.</p>
563
+ * <p>The name of the CloudFormation stack set that is used to generate IAM roles to be used for this workspace.</p>
545
564
  */
546
565
  stackSetName?: string;
547
566
  /**
@@ -549,31 +568,33 @@ export interface WorkspaceDescription {
549
568
  */
550
569
  status: WorkspaceStatus | string | undefined;
551
570
  /**
552
- * <p>The IAM role that grants permissions to the Amazon Web Services resources that the
553
- * workspace will view data from. This role must already exist.</p>
571
+ * <p>The IAM role that grants permissions to the Amazon Web Services
572
+ * resources that the workspace will view data from. This role must already exist.</p>
554
573
  */
555
574
  workspaceRoleArn?: string;
556
575
  /**
557
- * <p>Specifies whether this workspace has a full Grafana Enterprise license or a free trial license.</p>
576
+ * <p>Specifies whether this workspace has a full Grafana Enterprise license or a free trial
577
+ * license.</p>
558
578
  */
559
579
  licenseType?: LicenseType | string;
560
580
  /**
561
- * <p>Specifies whether this workspace has already fully used its free trial for Grafana Enterprise.</p>
581
+ * <p>Specifies whether this workspace has already fully used its free trial for Grafana
582
+ * Enterprise.</p>
562
583
  */
563
584
  freeTrialConsumed?: boolean;
564
585
  /**
565
- * <p>If this workspace has a full Grafana Enterprise license, this specifies when the license ends and
566
- * will need to be renewed.</p>
586
+ * <p>If this workspace has a full Grafana Enterprise license, this specifies when the
587
+ * license ends and will need to be renewed.</p>
567
588
  */
568
589
  licenseExpiration?: Date;
569
590
  /**
570
- * <p>If this workspace is currently in the free trial period for Grafana Enterprise, this value specifies
571
- * when that free trial ends.</p>
591
+ * <p>If this workspace is currently in the free trial period for Grafana Enterprise, this
592
+ * value specifies when that free trial ends.</p>
572
593
  */
573
594
  freeTrialExpiration?: Date;
574
595
  /**
575
- * <p>A structure that describes whether the workspace uses SAML, IAM Identity Center, or both methods
576
- * for user authentication.</p>
596
+ * <p>A structure that describes whether the workspace uses SAML, IAM Identity Center, or
597
+ * both methods for user authentication.</p>
577
598
  */
578
599
  authentication: AuthenticationSummary | undefined;
579
600
  /**
@@ -581,8 +602,7 @@ export interface WorkspaceDescription {
581
602
  */
582
603
  tags?: Record<string, string>;
583
604
  /**
584
- * <p>The configuration for connecting to data sources in a private VPC
585
- * (Amazon Virtual Private Cloud).</p>
605
+ * <p>The configuration for connecting to data sources in a private VPC (Amazon Virtual Private Cloud).</p>
586
606
  */
587
607
  vpcConfiguration?: VpcConfiguration;
588
608
  /**
@@ -603,8 +623,7 @@ export interface DescribeWorkspaceAuthenticationRequest {
603
623
  workspaceId: string | undefined;
604
624
  }
605
625
  /**
606
- * <p>A structure containing information about how this workspace works with
607
- * IAM Identity Center. </p>
626
+ * <p>A structure containing information about how this workspace works with IAM Identity Center. </p>
608
627
  */
609
628
  export interface AwsSsoAuthentication {
610
629
  /**
@@ -614,9 +633,10 @@ export interface AwsSsoAuthentication {
614
633
  }
615
634
  /**
616
635
  * <p>A structure containing the identity provider (IdP) metadata used to integrate the
617
- * identity provider with this workspace. You can specify the metadata either by providing a
618
- * URL to its location in the <code>url</code> parameter, or by specifying the full metadata
619
- * in XML format in the <code>xml</code> parameter. Specifying both will cause an error.</p>
636
+ * identity provider with this workspace. You can specify the metadata either by providing
637
+ * a URL to its location in the <code>url</code> parameter, or by specifying the full
638
+ * metadata in XML format in the <code>xml</code> parameter. Specifying both will cause an
639
+ * error.</p>
620
640
  */
621
641
  export declare type IdpMetadata = IdpMetadata.UrlMember | IdpMetadata.XmlMember | IdpMetadata.$UnknownMember;
622
642
  export declare namespace IdpMetadata {
@@ -649,27 +669,25 @@ export declare namespace IdpMetadata {
649
669
  const visit: <T>(value: IdpMetadata, visitor: Visitor<T>) => T;
650
670
  }
651
671
  /**
652
- * <p>This structure defines which groups defined in the SAML assertion attribute are to
653
- * be mapped to the Grafana <code>Admin</code> and <code>Editor</code> roles in the
654
- * workspace. SAML authenticated users not part of <code>Admin</code> or
655
- * <code>Editor</code> role groups have <code>Viewer</code> permission over the
656
- * workspace.</p>
672
+ * <p>This structure defines which groups defined in the SAML assertion attribute are to be
673
+ * mapped to the Grafana <code>Admin</code> and <code>Editor</code> roles in the workspace.
674
+ * SAML authenticated users not part of <code>Admin</code> or <code>Editor</code> role
675
+ * groups have <code>Viewer</code> permission over the workspace.</p>
657
676
  */
658
677
  export interface RoleValues {
659
678
  /**
660
679
  * <p>A list of groups from the SAML assertion attribute to grant the Grafana
661
- * <code>Editor</code> role to.</p>
680
+ * <code>Editor</code> role to.</p>
662
681
  */
663
682
  editor?: string[];
664
683
  /**
665
684
  * <p>A list of groups from the SAML assertion attribute to grant the Grafana
666
- * <code>Admin</code> role to.</p>
685
+ * <code>Admin</code> role to.</p>
667
686
  */
668
687
  admin?: string[];
669
688
  }
670
689
  /**
671
- * <p>A structure containing information about how this workspace works with
672
- * SAML. </p>
690
+ * <p>A structure containing information about how this workspace works with SAML. </p>
673
691
  */
674
692
  export interface SamlConfiguration {
675
693
  /**
@@ -678,8 +696,9 @@ export interface SamlConfiguration {
678
696
  */
679
697
  idpMetadata: IdpMetadata | undefined;
680
698
  /**
681
- * <p>A structure that defines which attributes in the SAML assertion are to be used to define information about
682
- * the users authenticated by that IdP to use the workspace.</p>
699
+ * <p>A structure that defines which attributes in the SAML assertion are to be used to
700
+ * define information about the users authenticated by that IdP to use the
701
+ * workspace.</p>
683
702
  */
684
703
  assertionAttributes?: AssertionAttributes;
685
704
  /**
@@ -688,8 +707,8 @@ export interface SamlConfiguration {
688
707
  */
689
708
  roleValues?: RoleValues;
690
709
  /**
691
- * <p>Lists which organizations defined in the SAML assertion are allowed to use the Amazon Managed Grafana workspace.
692
- * If this is empty, all organizations in the assertion attribute have access.</p>
710
+ * <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
711
+ * have access.</p>
693
712
  */
694
713
  allowedOrganizations?: string[];
695
714
  /**
@@ -699,8 +718,7 @@ export interface SamlConfiguration {
699
718
  loginValidityDuration?: number;
700
719
  }
701
720
  /**
702
- * <p>A structure containing information about how this workspace works with
703
- * SAML. </p>
721
+ * <p>A structure containing information about how this workspace works with SAML. </p>
704
722
  */
705
723
  export interface SamlAuthentication {
706
724
  /**
@@ -708,38 +726,36 @@ export interface SamlAuthentication {
708
726
  */
709
727
  status: SamlConfigurationStatus | string | undefined;
710
728
  /**
711
- * <p>A structure containing details about how this workspace works with
712
- * SAML. </p>
729
+ * <p>A structure containing details about how this workspace works with SAML. </p>
713
730
  */
714
731
  configuration?: SamlConfiguration;
715
732
  }
716
733
  /**
717
- * <p>A structure containing information about the user authentication methods used by
718
- * the workspace.</p>
734
+ * <p>A structure containing information about the user authentication methods used by the
735
+ * workspace.</p>
719
736
  */
720
737
  export interface AuthenticationDescription {
721
738
  /**
722
- * <p>Specifies whether this workspace uses IAM Identity Center, SAML, or both methods
723
- * to authenticate users to use the Grafana console in the Amazon Managed Grafana
739
+ * <p>Specifies whether this workspace uses IAM Identity Center, SAML, or both methods to
740
+ * authenticate users to use the Grafana console in the Amazon Managed Grafana
724
741
  * workspace.</p>
725
742
  */
726
743
  providers: (AuthenticationProviderTypes | string)[] | undefined;
727
744
  /**
728
- * <p>A structure containing information about how this workspace works with
729
- * SAML, including what attributes within the assertion are to be mapped to
730
- * user information in the workspace. </p>
745
+ * <p>A structure containing information about how this workspace works with SAML, including
746
+ * what attributes within the assertion are to be mapped to user information in the
747
+ * workspace. </p>
731
748
  */
732
749
  saml?: SamlAuthentication;
733
750
  /**
734
- * <p>A structure containing information about how this workspace works with
735
- * IAM Identity Center. </p>
751
+ * <p>A structure containing information about how this workspace works with IAM Identity Center. </p>
736
752
  */
737
753
  awsSso?: AwsSsoAuthentication;
738
754
  }
739
755
  export interface DescribeWorkspaceAuthenticationResponse {
740
756
  /**
741
- * <p>A structure containing information about the authentication methods used in
742
- * the workspace.</p>
757
+ * <p>A structure containing information about the authentication methods used in the
758
+ * workspace.</p>
743
759
  */
744
760
  authentication: AuthenticationDescription | undefined;
745
761
  }
@@ -749,23 +765,23 @@ export interface UpdateWorkspaceAuthenticationRequest {
749
765
  */
750
766
  workspaceId: string | undefined;
751
767
  /**
752
- * <p>Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to Single Sign-On), or both to authenticate
753
- * users for using the Grafana console within a workspace. For more information,
754
- * see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/authentication-in-AMG.html">User authentication in
755
- * Amazon Managed Grafana</a>.</p>
768
+ * <p>Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to Single Sign-On), or both to
769
+ * authenticate users for using the Grafana console within a workspace. For more
770
+ * information, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/authentication-in-AMG.html">User authentication in
771
+ * Amazon Managed Grafana</a>.</p>
756
772
  */
757
773
  authenticationProviders: (AuthenticationProviderTypes | string)[] | undefined;
758
774
  /**
759
- * <p>If the workspace uses SAML, use this structure to
760
- * map SAML assertion attributes to workspace user information and
761
- * define which groups in the assertion attribute are to have the <code>Admin</code> and <code>Editor</code> roles
762
- * in the workspace.</p>
775
+ * <p>If the workspace uses SAML, use this structure to map SAML assertion attributes to
776
+ * workspace user information and define which groups in the assertion attribute are to
777
+ * have the <code>Admin</code> and <code>Editor</code> roles in the workspace.</p>
763
778
  */
764
779
  samlConfiguration?: SamlConfiguration;
765
780
  }
766
781
  export interface UpdateWorkspaceAuthenticationResponse {
767
782
  /**
768
- * <p>A structure that describes the user authentication for this workspace after the update is made.</p>
783
+ * <p>A structure that describes the user authentication for this workspace after the update
784
+ * is made.</p>
769
785
  */
770
786
  authentication: AuthenticationDescription | undefined;
771
787
  }
@@ -778,14 +794,16 @@ export interface DescribeWorkspaceConfigurationRequest {
778
794
  export interface DescribeWorkspaceConfigurationResponse {
779
795
  /**
780
796
  * <p>The configuration string for the workspace that you requested. For more information
781
- * 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>
797
+ * 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
798
+ * workspace</a>.</p>
782
799
  */
783
800
  configuration: __LazyJsonString | string | undefined;
784
801
  }
785
802
  export interface UpdateWorkspaceConfigurationRequest {
786
803
  /**
787
- * <p>The new configuration string for the workspace. For more information
788
- * 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>
804
+ * <p>The new configuration string for the workspace. For more information about the format
805
+ * and configuration options available, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/AMG-configure-workspace.html">Working in your Grafana
806
+ * workspace</a>.</p>
789
807
  */
790
808
  configuration: __LazyJsonString | string | undefined;
791
809
  /**
@@ -839,14 +857,13 @@ export interface ListPermissionsRequest {
839
857
  */
840
858
  maxResults?: number;
841
859
  /**
842
- * <p>The token to use when requesting the next set of results. You received this token from a previous
843
- * <code>ListPermissions</code> operation.</p>
860
+ * <p>The token to use when requesting the next set of results. You received this token from
861
+ * a previous <code>ListPermissions</code> operation.</p>
844
862
  */
845
863
  nextToken?: string;
846
864
  /**
847
- * <p>(Optional) If you specify <code>SSO_USER</code>, then only the permissions of IAM Identity Center users
848
- * are returned. If you specify <code>SSO_GROUP</code>, only the permissions of IAM Identity Center groups
849
- * are returned.</p>
865
+ * <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
866
+ * permissions of IAM Identity Center groups are returned.</p>
850
867
  */
851
868
  userType?: UserType | string;
852
869
  /**
@@ -882,7 +899,8 @@ export declare enum Role {
882
899
  export interface User {
883
900
  /**
884
901
  * <p>The ID of the user or group.</p>
885
- * <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>
902
+ * <p>Pattern:
903
+ * <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>
886
904
  * </p>
887
905
  */
888
906
  id: string | undefined;
@@ -893,7 +911,7 @@ export interface User {
893
911
  }
894
912
  /**
895
913
  * <p>A structure containing the identity of one user or group and the <code>Admin</code>,
896
- * <code>Editor</code>, or <code>Viewer</code> role that they have.</p>
914
+ * <code>Editor</code>, or <code>Viewer</code> role that they have.</p>
897
915
  */
898
916
  export interface PermissionEntry {
899
917
  /**
@@ -901,15 +919,15 @@ export interface PermissionEntry {
901
919
  */
902
920
  user: User | undefined;
903
921
  /**
904
- * <p>Specifies whether the user or group has the <code>Admin</code>,
905
- * <code>Editor</code>, or <code>Viewer</code> role.</p>
922
+ * <p>Specifies whether the user or group has the <code>Admin</code>, <code>Editor</code>,
923
+ * or <code>Viewer</code> role.</p>
906
924
  */
907
925
  role: Role | string | undefined;
908
926
  }
909
927
  export interface ListPermissionsResponse {
910
928
  /**
911
- * <p>The token to use in a subsequent <code>ListPermissions</code> operation to return
912
- * the next set of results.</p>
929
+ * <p>The token to use in a subsequent <code>ListPermissions</code> operation to return the
930
+ * next set of results.</p>
913
931
  */
914
932
  nextToken?: string;
915
933
  /**
@@ -928,8 +946,7 @@ export declare enum UpdateAction {
928
946
  REVOKE = "REVOKE"
929
947
  }
930
948
  /**
931
- * <p>Contains the instructions for one Grafana role permission update in a
932
- * <a href="https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdatePermissions.html">UpdatePermissions</a> operation.</p>
949
+ * <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>
933
950
  */
934
951
  export interface UpdateInstruction {
935
952
  /**
@@ -937,7 +954,8 @@ export interface UpdateInstruction {
937
954
  */
938
955
  action: UpdateAction | string | undefined;
939
956
  /**
940
- * <p>The role to add or revoke for the user or the group specified in <code>users</code>.</p>
957
+ * <p>The role to add or revoke for the user or the group specified in
958
+ * <code>users</code>.</p>
941
959
  */
942
960
  role: Role | string | undefined;
943
961
  /**
@@ -957,7 +975,7 @@ export interface UpdatePermissionsRequest {
957
975
  }
958
976
  /**
959
977
  * <p>A structure containing information about one error encountered while performing an
960
- * <a href="https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdatePermissions.html">UpdatePermissions</a> operation.</p>
978
+ * <a href="https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdatePermissions.html">UpdatePermissions</a> operation.</p>
961
979
  */
962
980
  export interface UpdateError {
963
981
  /**
@@ -985,8 +1003,8 @@ export interface TagResourceRequest {
985
1003
  */
986
1004
  resourceArn: string | undefined;
987
1005
  /**
988
- * <p>The list of tag keys and values to associate with the resource. You can associate tag keys only, tags (key and values) only
989
- * or a combination of tag keys and tags.</p>
1006
+ * <p>The list of tag keys and values to associate with the resource. You can associate tag
1007
+ * keys only, tags (key and values) only or a combination of tag keys and tags.</p>
990
1008
  */
991
1009
  tags: Record<string, string> | undefined;
992
1010
  }
@@ -994,7 +1012,7 @@ export interface TagResourceResponse {
994
1012
  }
995
1013
  export interface UntagResourceRequest {
996
1014
  /**
997
- * <p>The ARN of the resource the tag association is removed from. </p>
1015
+ * <p>The ARN of the resource the tag association is removed from. </p>
998
1016
  */
999
1017
  resourceArn: string | undefined;
1000
1018
  /**
@@ -1006,52 +1024,54 @@ export interface UntagResourceResponse {
1006
1024
  }
1007
1025
  export interface CreateWorkspaceRequest {
1008
1026
  /**
1009
- * <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
1010
- * other accounts in the same organization. If you specify <code>ORGANIZATION</code>, you must
1011
- * specify which organizational units the workspace can access in the
1012
- * <code>workspaceOrganizationalUnits</code> parameter.</p>
1027
+ * <p>Specifies whether the workspace can access Amazon Web Services resources in this
1028
+ * Amazon Web Services account only, or whether it can also access Amazon Web Services
1029
+ * resources in other accounts in the same organization. If you specify
1030
+ * <code>ORGANIZATION</code>, you must specify which organizational units the workspace
1031
+ * can access in the <code>workspaceOrganizationalUnits</code> parameter.</p>
1013
1032
  */
1014
1033
  accountAccessType: AccountAccessType | string | undefined;
1015
1034
  /**
1016
- * <p>A unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.</p>
1035
+ * <p>A unique, case-sensitive, user-provided identifier to ensure the idempotency of the
1036
+ * request.</p>
1017
1037
  */
1018
1038
  clientToken?: string;
1019
1039
  /**
1020
- * <p>The name of an IAM role that already exists to use with Organizations to access Amazon Web Services
1021
- * data sources and notification channels in other accounts in an organization.</p>
1040
+ * <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
1041
+ * in an organization.</p>
1022
1042
  */
1023
1043
  organizationRoleName?: string;
1024
1044
  /**
1025
- * <p>If you specify <code>SERVICE_MANAGED</code> on AWS Grafana console, Amazon Managed Grafana automatically creates
1026
- * the IAM roles and provisions the permissions that the workspace needs to use
1027
- * Amazon Web Services data sources and notification channels. In the CLI mode, the permissionType <code>SERVICE_MANAGED</code> will not create the IAM role
1028
- * for you. The ability for the Amazon Managed Grafana to create the IAM role on behalf of the user is supported only in the
1029
- * Amazon Managed Grafana AWS console. Use only the <code>CUSTOMER_MANAGED</code> permission type when creating a workspace in the CLI. </p>
1030
- * <p>If you specify <code>CUSTOMER_MANAGED</code>, you will manage those roles and
1031
- * permissions yourself. If you are creating this workspace in a member account of an
1032
- * organization that is not a delegated administrator account, and you want the workspace to access data sources in other Amazon Web Services
1033
- * accounts in the organization, you must choose <code>CUSTOMER_MANAGED</code>.</p>
1034
- * <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
1035
- * Amazon Web Services data sources and notification channels</a>.</p>
1045
+ * <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
1046
+ * permissions that the workspace needs to use Amazon Web Services data sources and
1047
+ * notification channels.</p>
1048
+ * <p>You must also specify a <code>workspaceRoleArn</code> for a role that you will
1049
+ * manage for the workspace to use when accessing those datasources and notification
1050
+ * channels.</p>
1051
+ * <p>The ability for Amazon Managed Grafana to create and update IAM roles on
1052
+ * behalf of the user is supported only in the Amazon Managed Grafana console, where this value
1053
+ * may be set to <code>SERVICE_MANAGED</code>.</p>
1054
+ * <note>
1055
+ * <p>Use only the <code>CUSTOMER_MANAGED</code> permission type when creating a
1056
+ * workspace with the API, CLI or Amazon Web Services CloudFormation. </p>
1057
+ * </note>
1058
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/AMG-manage-permissions.html">Amazon Managed Grafana
1059
+ * permissions and policies for Amazon Web Services data sources and notification
1060
+ * channels</a>.</p>
1036
1061
  */
1037
1062
  permissionType: PermissionType | string | undefined;
1038
1063
  /**
1039
- * <p>The name of the CloudFormation stack set to use to generate IAM roles
1040
- * to be used for this workspace.</p>
1064
+ * <p>The name of the CloudFormation stack set to use to generate IAM
1065
+ * roles to be used for this workspace.</p>
1041
1066
  */
1042
1067
  stackSetName?: string;
1043
1068
  /**
1044
- * <p>Specify the Amazon Web Services data sources that you want to be queried in this
1045
- * workspace. Specifying these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed Grafana to read data from these
1046
- * sources. You must still add them as data sources in the Grafana console in the
1047
- * workspace.</p>
1048
- * <p>If you don't specify a data source here, you can still add it as a data source in the
1049
- * workspace console later. However, you will then have to manually configure permissions for
1050
- * it.</p>
1069
+ * <p>This parameter is for internal use only, and should not be used.</p>
1051
1070
  */
1052
1071
  workspaceDataSources?: (DataSourceType | string)[];
1053
1072
  /**
1054
- * <p>A description for the workspace. This is used only to help you identify this workspace.</p>
1073
+ * <p>A description for the workspace. This is used only to help you identify this
1074
+ * workspace.</p>
1055
1075
  * <p>Pattern: <code>^[\\p{L}\\p{Z}\\p{N}\\p{P}]{0,2048}$</code>
1056
1076
  * </p>
1057
1077
  */
@@ -1061,9 +1081,10 @@ export interface CreateWorkspaceRequest {
1061
1081
  */
1062
1082
  workspaceName?: string;
1063
1083
  /**
1064
- * <p>Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying these
1065
- * data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow
1066
- * Amazon Managed Grafana to use these channels.</p>
1084
+ * <p>Specify the Amazon Web Services notification channels that you plan to use in this
1085
+ * workspace. Specifying these data sources here enables Amazon Managed Grafana to create
1086
+ * IAM roles and permissions that allow Amazon Managed Grafana to use these
1087
+ * channels.</p>
1067
1088
  */
1068
1089
  workspaceNotificationDestinations?: (NotificationDestinationType | string)[];
1069
1090
  /**
@@ -1072,15 +1093,16 @@ export interface CreateWorkspaceRequest {
1072
1093
  */
1073
1094
  workspaceOrganizationalUnits?: string[];
1074
1095
  /**
1075
- * <p>The workspace needs an IAM role that grants permissions to the Amazon Web Services resources that the
1076
- * workspace will view data from. If you already have a role that you want to use, specify it here. The permission type should be set to <code>CUSTOMER_MANAGED</code>.</p>
1096
+ * <p>Specified the IAM role that grants permissions to the Amazon Web Services resources that the workspace will view data from, including both data
1097
+ * sources and notification channels. You are responsible for managing the permissions
1098
+ * for this role as new data sources or notification channels are added. </p>
1077
1099
  */
1078
1100
  workspaceRoleArn?: string;
1079
1101
  /**
1080
- * <p>Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to Single Sign-On), or both to authenticate
1081
- * users for using the Grafana console within a workspace. For more information,
1082
- * see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/authentication-in-AMG.html">User authentication in
1083
- * Amazon Managed Grafana</a>.</p>
1102
+ * <p>Specifies whether this workspace uses SAML 2.0, IAM Identity Center (successor to Single Sign-On), or both to
1103
+ * authenticate users for using the Grafana console within a workspace. For more
1104
+ * information, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/authentication-in-AMG.html">User authentication in
1105
+ * Amazon Managed Grafana</a>.</p>
1084
1106
  */
1085
1107
  authenticationProviders: (AuthenticationProviderTypes | string)[] | undefined;
1086
1108
  /**
@@ -1088,13 +1110,14 @@ export interface CreateWorkspaceRequest {
1088
1110
  */
1089
1111
  tags?: Record<string, string>;
1090
1112
  /**
1091
- * <p>The configuration settings for an Amazon VPC that contains data sources
1092
- * for your Grafana workspace to connect to.</p>
1113
+ * <p>The configuration settings for an Amazon VPC that contains data sources for
1114
+ * your Grafana workspace to connect to.</p>
1093
1115
  */
1094
1116
  vpcConfiguration?: VpcConfiguration;
1095
1117
  /**
1096
- * <p>The configuration string for the workspace that you create. For more information
1097
- * 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>
1118
+ * <p>The configuration string for the workspace that you create. For more information about
1119
+ * 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
1120
+ * workspace</a>.</p>
1098
1121
  */
1099
1122
  configuration?: __LazyJsonString | string;
1100
1123
  /**
@@ -1183,8 +1206,8 @@ export interface WorkspaceSummary {
1183
1206
  name?: string;
1184
1207
  /**
1185
1208
  * <p>The Amazon Web Services notification channels that Amazon Managed Grafana can automatically
1186
- * create IAM roles and permissions for, which allows Amazon Managed Grafana to use
1187
- * these channels.</p>
1209
+ * create IAM roles and permissions for, which allows Amazon Managed Grafana to
1210
+ * use these channels.</p>
1188
1211
  */
1189
1212
  notificationDestinations?: (NotificationDestinationType | string)[];
1190
1213
  /**
@@ -1192,8 +1215,8 @@ export interface WorkspaceSummary {
1192
1215
  */
1193
1216
  status: WorkspaceStatus | string | undefined;
1194
1217
  /**
1195
- * <p>A structure containing information about the authentication methods used in
1196
- * the workspace.</p>
1218
+ * <p>A structure containing information about the authentication methods used in the
1219
+ * workspace.</p>
1197
1220
  */
1198
1221
  authentication: AuthenticationSummary | undefined;
1199
1222
  /**
@@ -1203,7 +1226,8 @@ export interface WorkspaceSummary {
1203
1226
  }
1204
1227
  export interface ListWorkspacesResponse {
1205
1228
  /**
1206
- * <p>An array of structures that contain some information about the workspaces in the account.</p>
1229
+ * <p>An array of structures that contain some information about the workspaces in the
1230
+ * account.</p>
1207
1231
  */
1208
1232
  workspaces: WorkspaceSummary[] | undefined;
1209
1233
  /**
@@ -1213,46 +1237,55 @@ export interface ListWorkspacesResponse {
1213
1237
  }
1214
1238
  export interface UpdateWorkspaceRequest {
1215
1239
  /**
1216
- * <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
1217
- * other accounts in the same organization. If you specify <code>ORGANIZATION</code>, you must
1218
- * specify which organizational units the workspace can access in the
1219
- * <code>workspaceOrganizationalUnits</code> parameter.</p>
1240
+ * <p>Specifies whether the workspace can access Amazon Web Services resources in this
1241
+ * Amazon Web Services account only, or whether it can also access Amazon Web Services
1242
+ * resources in other accounts in the same organization. If you specify
1243
+ * <code>ORGANIZATION</code>, you must specify which organizational units the workspace
1244
+ * can access in the <code>workspaceOrganizationalUnits</code> parameter.</p>
1220
1245
  */
1221
1246
  accountAccessType?: AccountAccessType | string;
1222
1247
  /**
1223
- * <p>The name of an IAM role that already exists to use to access resources through Organizations.</p>
1248
+ * <p>The name of an IAM role that already exists to use to access resources
1249
+ * through Organizations. This can only be used with a workspace that has the
1250
+ * <code>permissionType</code> set to <code>CUSTOMER_MANAGED</code>.</p>
1224
1251
  */
1225
1252
  organizationRoleName?: string;
1226
1253
  /**
1227
- * <p>If you specify <code>SERVICE_MANAGED</code>, Amazon Managed Grafana automatically creates
1228
- * the IAM roles and provisions the permissions that the workspace needs to use
1229
- * Amazon Web Services data sources and notification channels.</p>
1230
- * <p>If you specify <code>CUSTOMER_MANAGED</code>, you will manage those roles and
1231
- * permissions yourself. If you are creating this workspace in a member account of an
1232
- * organization and that account is not a delegated administrator account, and you want the workspace to access data sources in other Amazon Web Services
1233
- * accounts in the organization, you must choose <code>CUSTOMER_MANAGED</code>.</p>
1234
- * <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
1235
- * Amazon Web Services data sources and notification channels</a>
1254
+ * <p>Use this parameter if you want to change a workspace from <code>SERVICE_MANAGED</code>
1255
+ * to <code>CUSTOMER_MANAGED</code>. This allows you to manage the permissions that the
1256
+ * workspace uses to access datasources and notification channels. If the workspace is
1257
+ * in a member Amazon Web Services account of an organization, and that account is not
1258
+ * a delegated administrator account, and you want the workspace to access data sources in
1259
+ * other Amazon Web Services accounts in the organization, you must choose
1260
+ * <code>CUSTOMER_MANAGED</code>.</p>
1261
+ * <p>If you specify this as <code>CUSTOMER_MANAGED</code>, you must also specify a
1262
+ * <code>workspaceRoleArn</code> that the workspace will use for accessing Amazon Web Services
1263
+ * resources.</p>
1264
+ * <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
1265
+ * and notification channels</a>
1236
1266
  * </p>
1267
+ * <note>
1268
+ * <p>Do not use this to convert a <code>CUSTOMER_MANAGED</code> workspace to
1269
+ * <code>SERVICE_MANAGED</code>. Do not include this
1270
+ * parameter if you want to leave the workspace as <code>SERVICE_MANAGED</code>.</p>
1271
+ * <p>You can convert a <code>CUSTOMER_MANAGED</code> workspace to
1272
+ * <code>SERVICE_MANAGED</code> using the Amazon Managed Grafana console. For more
1273
+ * 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>
1274
+ * </note>
1237
1275
  */
1238
1276
  permissionType?: PermissionType | string;
1239
1277
  /**
1240
- * <p>The name of the CloudFormation stack set to use to generate IAM roles
1241
- * to be used for this workspace.</p>
1278
+ * <p>The name of the CloudFormation stack set to use to generate IAM
1279
+ * roles to be used for this workspace.</p>
1242
1280
  */
1243
1281
  stackSetName?: string;
1244
1282
  /**
1245
- * <p>Specify the Amazon Web Services data sources that you want to be queried in this
1246
- * workspace. Specifying these data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow Amazon Managed Grafana to read data from these
1247
- * sources. You must still add them as data sources in the Grafana console in the
1248
- * workspace.</p>
1249
- * <p>If you don't specify a data source here, you can still add it as a data source later in
1250
- * the workspace console. However, you will then have to manually configure permissions for
1251
- * it.</p>
1283
+ * <p>This parameter is for internal use only, and should not be used.</p>
1252
1284
  */
1253
1285
  workspaceDataSources?: (DataSourceType | string)[];
1254
1286
  /**
1255
- * <p>A description for the workspace. This is used only to help you identify this workspace.</p>
1287
+ * <p>A description for the workspace. This is used only to help you identify this
1288
+ * workspace.</p>
1256
1289
  */
1257
1290
  workspaceDescription?: string;
1258
1291
  /**
@@ -1264,9 +1297,10 @@ export interface UpdateWorkspaceRequest {
1264
1297
  */
1265
1298
  workspaceName?: string;
1266
1299
  /**
1267
- * <p>Specify the Amazon Web Services notification channels that you plan to use in this workspace. Specifying these
1268
- * data sources here enables Amazon Managed Grafana to create IAM roles and permissions that allow
1269
- * Amazon Managed Grafana to use these channels.</p>
1300
+ * <p>Specify the Amazon Web Services notification channels that you plan to use in this
1301
+ * workspace. Specifying these data sources here enables Amazon Managed Grafana to create
1302
+ * IAM roles and permissions that allow Amazon Managed Grafana to use these
1303
+ * channels.</p>
1270
1304
  */
1271
1305
  workspaceNotificationDestinations?: (NotificationDestinationType | string)[];
1272
1306
  /**
@@ -1275,16 +1309,16 @@ export interface UpdateWorkspaceRequest {
1275
1309
  */
1276
1310
  workspaceOrganizationalUnits?: string[];
1277
1311
  /**
1278
- * <p>The workspace needs an IAM role that grants permissions to the Amazon Web Services resources that the
1279
- * workspace will view data from. If you already have a role that you want to use, specify it here. If you omit
1280
- * this field and you specify some Amazon Web Services resources in <code>workspaceDataSources</code> or
1281
- * <code>workspaceNotificationDestinations</code>, a new IAM role with the necessary permissions is
1282
- * automatically created.</p>
1312
+ * <p>Specifies an IAM role that grants permissions to Amazon Web Services
1313
+ * resources that the workspace accesses, such as data sources and notification channels.
1314
+ * If this workspace has <code>permissionType</code>
1315
+ * <code>CUSTOMER_MANAGED</code>,
1316
+ * then this role is required.</p>
1283
1317
  */
1284
1318
  workspaceRoleArn?: string;
1285
1319
  /**
1286
- * <p>The configuration settings for an Amazon VPC that contains data sources
1287
- * for your Grafana workspace to connect to.</p>
1320
+ * <p>The configuration settings for an Amazon VPC that contains data sources for
1321
+ * your Grafana workspace to connect to.</p>
1288
1322
  */
1289
1323
  vpcConfiguration?: VpcConfiguration;
1290
1324
  /**
@@ -1305,8 +1339,8 @@ export interface UpdateWorkspaceRequest {
1305
1339
  networkAccessControl?: NetworkAccessConfiguration;
1306
1340
  /**
1307
1341
  * <p>Whether to remove the network access configuration from the workspace.</p>
1308
- * <p>Setting this to <code>true</code> and providing a <code>networkAccessControl</code>
1309
- * to set will return an error.</p>
1342
+ * <p>Setting this to <code>true</code> and providing a <code>networkAccessControl</code> to
1343
+ * set will return an error.</p>
1310
1344
  * <p>If you remove this configuration by setting this to <code>true</code>, then all IP
1311
1345
  * addresses and VPC endpoints will be allowed. Standard Grafana authentication and
1312
1346
  * authorization will still be required.</p>