amazonka-grafana-2.0: Amazon Managed Grafana SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Grafana.Types.WorkspaceDescription

Description

 
Synopsis

Documentation

data WorkspaceDescription Source #

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

See: newWorkspaceDescription smart constructor.

Constructors

WorkspaceDescription' 

Fields

  • accountAccessType :: Maybe AccountAccessType

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

  • description :: Maybe (Sensitive Text)

    The user-defined description of the workspace.

  • freeTrialConsumed :: Maybe Bool

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

  • freeTrialExpiration :: Maybe POSIX

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

  • licenseExpiration :: Maybe POSIX

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

  • licenseType :: Maybe LicenseType

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

  • name :: Maybe (Sensitive Text)

    The name of the workspace.

  • notificationDestinations :: Maybe [NotificationDestinationType]

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

  • organizationRoleName :: Maybe (Sensitive Text)

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

  • organizationalUnits :: Maybe (Sensitive [Text])

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

  • permissionType :: Maybe PermissionType

    If this is Service Managed, Amazon Managed Grafana automatically creates the IAM roles and provisions the permissions that the workspace needs to use Amazon Web Services data sources and notification channels.

    If this is CUSTOMER_MANAGED, you manage those roles and permissions yourself. If you are creating this 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, you must choose CUSTOMER_MANAGED.

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

  • stackSetName :: Maybe Text

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

  • tags :: Maybe (HashMap Text Text)

    The list of tags associated with the workspace.

  • vpcConfiguration :: Maybe VpcConfiguration

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

  • workspaceRoleArn :: Maybe (Sensitive Text)

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

  • authentication :: AuthenticationSummary

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

  • created :: POSIX

    The date that the workspace was created.

  • dataSources :: [DataSourceType]

    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.

  • endpoint :: Text

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

  • grafanaVersion :: Text

    The version of Grafana supported in this workspace.

  • id :: Text

    The unique ID of this workspace.

  • modified :: POSIX

    The most recent date that the workspace was modified.

  • status :: WorkspaceStatus

    The current status of the workspace.

Instances

Instances details
FromJSON WorkspaceDescription Source # 
Instance details

Defined in Amazonka.Grafana.Types.WorkspaceDescription

Generic WorkspaceDescription Source # 
Instance details

Defined in Amazonka.Grafana.Types.WorkspaceDescription

Associated Types

type Rep WorkspaceDescription :: Type -> Type #

Show WorkspaceDescription Source # 
Instance details

Defined in Amazonka.Grafana.Types.WorkspaceDescription

NFData WorkspaceDescription Source # 
Instance details

Defined in Amazonka.Grafana.Types.WorkspaceDescription

Methods

rnf :: WorkspaceDescription -> () #

Eq WorkspaceDescription Source # 
Instance details

Defined in Amazonka.Grafana.Types.WorkspaceDescription

Hashable WorkspaceDescription Source # 
Instance details

Defined in Amazonka.Grafana.Types.WorkspaceDescription

type Rep WorkspaceDescription Source # 
Instance details

Defined in Amazonka.Grafana.Types.WorkspaceDescription

type Rep WorkspaceDescription = D1 ('MetaData "WorkspaceDescription" "Amazonka.Grafana.Types.WorkspaceDescription" "amazonka-grafana-2.0-1hXXW2cgZWZJGJ3AoD5xOB" 'False) (C1 ('MetaCons "WorkspaceDescription'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "accountAccessType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AccountAccessType)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "freeTrialConsumed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "freeTrialExpiration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "licenseExpiration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "licenseType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LicenseType)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "notificationDestinations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NotificationDestinationType])))) :*: (S1 ('MetaSel ('Just "organizationRoleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "organizationalUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive [Text]))) :*: S1 ('MetaSel ('Just "permissionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PermissionType)))))) :*: (((S1 ('MetaSel ('Just "stackSetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "vpcConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfiguration)))) :*: (S1 ('MetaSel ('Just "workspaceRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "authentication") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AuthenticationSummary) :*: S1 ('MetaSel ('Just "created") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))) :*: ((S1 ('MetaSel ('Just "dataSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [DataSourceType]) :*: (S1 ('MetaSel ('Just "endpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "grafanaVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "modified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 WorkspaceStatus)))))))

newWorkspaceDescription Source #

Create a value of WorkspaceDescription with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:accountAccessType:WorkspaceDescription', workspaceDescription_accountAccessType - Specifies whether the workspace can access Amazon Web Services resources in this Amazon Web Services account only, or whether it can also access Amazon Web Services resources in other accounts in the same organization. If this is ORGANIZATION, the workspaceOrganizationalUnits parameter specifies which organizational units the workspace can access.

$sel:description:WorkspaceDescription', workspaceDescription_description - The user-defined description of the workspace.

$sel:freeTrialConsumed:WorkspaceDescription', workspaceDescription_freeTrialConsumed - Specifies whether this workspace has already fully used its free trial for Grafana Enterprise.

$sel:freeTrialExpiration:WorkspaceDescription', workspaceDescription_freeTrialExpiration - If this workspace is currently in the free trial period for Grafana Enterprise, this value specifies when that free trial ends.

$sel:licenseExpiration:WorkspaceDescription', workspaceDescription_licenseExpiration - If this workspace has a full Grafana Enterprise license, this specifies when the license ends and will need to be renewed.

$sel:licenseType:WorkspaceDescription', workspaceDescription_licenseType - Specifies whether this workspace has a full Grafana Enterprise license or a free trial license.

$sel:name:WorkspaceDescription', workspaceDescription_name - The name of the workspace.

$sel:notificationDestinations:WorkspaceDescription', workspaceDescription_notificationDestinations - 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.

$sel:organizationRoleName:WorkspaceDescription', workspaceDescription_organizationRoleName - The name of the IAM role that is used to access resources through Organizations.

$sel:organizationalUnits:WorkspaceDescription', workspaceDescription_organizationalUnits - 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.

$sel:permissionType:WorkspaceDescription', workspaceDescription_permissionType - If this is Service Managed, Amazon Managed Grafana automatically creates the IAM roles and provisions the permissions that the workspace needs to use Amazon Web Services data sources and notification channels.

If this is CUSTOMER_MANAGED, you manage those roles and permissions yourself. If you are creating this 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, you must choose CUSTOMER_MANAGED.

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

$sel:stackSetName:WorkspaceDescription', workspaceDescription_stackSetName - The name of the CloudFormation stack set that is used to generate IAM roles to be used for this workspace.

$sel:tags:WorkspaceDescription', workspaceDescription_tags - The list of tags associated with the workspace.

$sel:vpcConfiguration:WorkspaceDescription', workspaceDescription_vpcConfiguration - The configuration for connecting to data sources in a private VPC (Amazon Virtual Private Cloud).

$sel:workspaceRoleArn:WorkspaceDescription', workspaceDescription_workspaceRoleArn - The IAM role that grants permissions to the Amazon Web Services resources that the workspace will view data from. This role must already exist.

$sel:authentication:WorkspaceDescription', workspaceDescription_authentication - A structure that describes whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.

$sel:created:WorkspaceDescription', workspaceDescription_created - The date that the workspace was created.

$sel:dataSources:WorkspaceDescription', workspaceDescription_dataSources - 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.

$sel:endpoint:WorkspaceDescription', workspaceDescription_endpoint - The URL that users can use to access the Grafana console in the workspace.

$sel:grafanaVersion:WorkspaceDescription', workspaceDescription_grafanaVersion - The version of Grafana supported in this workspace.

$sel:id:WorkspaceDescription', workspaceDescription_id - The unique ID of this workspace.

$sel:modified:WorkspaceDescription', workspaceDescription_modified - The most recent date that the workspace was modified.

$sel:status:WorkspaceDescription', workspaceDescription_status - The current status of the workspace.

workspaceDescription_accountAccessType :: Lens' WorkspaceDescription (Maybe AccountAccessType) Source #

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

workspaceDescription_description :: Lens' WorkspaceDescription (Maybe Text) Source #

The user-defined description of the workspace.

workspaceDescription_freeTrialConsumed :: Lens' WorkspaceDescription (Maybe Bool) Source #

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

workspaceDescription_freeTrialExpiration :: Lens' WorkspaceDescription (Maybe UTCTime) Source #

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

workspaceDescription_licenseExpiration :: Lens' WorkspaceDescription (Maybe UTCTime) Source #

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

workspaceDescription_licenseType :: Lens' WorkspaceDescription (Maybe LicenseType) Source #

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

workspaceDescription_notificationDestinations :: Lens' WorkspaceDescription (Maybe [NotificationDestinationType]) Source #

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.

workspaceDescription_organizationRoleName :: Lens' WorkspaceDescription (Maybe Text) Source #

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

workspaceDescription_organizationalUnits :: Lens' WorkspaceDescription (Maybe [Text]) Source #

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.

workspaceDescription_permissionType :: Lens' WorkspaceDescription (Maybe PermissionType) Source #

If this is Service Managed, Amazon Managed Grafana automatically creates the IAM roles and provisions the permissions that the workspace needs to use Amazon Web Services data sources and notification channels.

If this is CUSTOMER_MANAGED, you manage those roles and permissions yourself. If you are creating this 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, you must choose CUSTOMER_MANAGED.

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

workspaceDescription_stackSetName :: Lens' WorkspaceDescription (Maybe Text) Source #

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

workspaceDescription_tags :: Lens' WorkspaceDescription (Maybe (HashMap Text Text)) Source #

The list of tags associated with the workspace.

workspaceDescription_vpcConfiguration :: Lens' WorkspaceDescription (Maybe VpcConfiguration) Source #

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

workspaceDescription_workspaceRoleArn :: Lens' WorkspaceDescription (Maybe Text) Source #

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

workspaceDescription_authentication :: Lens' WorkspaceDescription AuthenticationSummary Source #

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

workspaceDescription_created :: Lens' WorkspaceDescription UTCTime Source #

The date that the workspace was created.

workspaceDescription_dataSources :: Lens' WorkspaceDescription [DataSourceType] Source #

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.

workspaceDescription_endpoint :: Lens' WorkspaceDescription Text Source #

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

workspaceDescription_grafanaVersion :: Lens' WorkspaceDescription Text Source #

The version of Grafana supported in this workspace.

workspaceDescription_id :: Lens' WorkspaceDescription Text Source #

The unique ID of this workspace.

workspaceDescription_modified :: Lens' WorkspaceDescription UTCTime Source #

The most recent date that the workspace was modified.