Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- Service Configuration
- Errors
- AccountAccessType
- AuthenticationProviderTypes
- DataSourceType
- LicenseType
- NotificationDestinationType
- PermissionType
- Role
- SamlConfigurationStatus
- UpdateAction
- UserType
- WorkspaceStatus
- AssertionAttributes
- AuthenticationDescription
- AuthenticationSummary
- AwsSsoAuthentication
- IdpMetadata
- PermissionEntry
- RoleValues
- SamlAuthentication
- SamlConfiguration
- UpdateError
- UpdateInstruction
- User
- VpcConfiguration
- WorkspaceDescription
- WorkspaceSummary
Synopsis
- defaultService :: Service
- _AccessDeniedException :: AsError a => Fold a ServiceError
- _ConflictException :: AsError a => Fold a ServiceError
- _InternalServerException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ServiceQuotaExceededException :: AsError a => Fold a ServiceError
- _ThrottlingException :: AsError a => Fold a ServiceError
- _ValidationException :: AsError a => Fold a ServiceError
- newtype AccountAccessType where
- newtype AuthenticationProviderTypes where
- newtype DataSourceType where
- DataSourceType' { }
- pattern DataSourceType_AMAZON_OPENSEARCH_SERVICE :: DataSourceType
- pattern DataSourceType_ATHENA :: DataSourceType
- pattern DataSourceType_CLOUDWATCH :: DataSourceType
- pattern DataSourceType_PROMETHEUS :: DataSourceType
- pattern DataSourceType_REDSHIFT :: DataSourceType
- pattern DataSourceType_SITEWISE :: DataSourceType
- pattern DataSourceType_TIMESTREAM :: DataSourceType
- pattern DataSourceType_TWINMAKER :: DataSourceType
- pattern DataSourceType_XRAY :: DataSourceType
- newtype LicenseType where
- LicenseType' { }
- pattern LicenseType_ENTERPRISE :: LicenseType
- pattern LicenseType_ENTERPRISE_FREE_TRIAL :: LicenseType
- newtype NotificationDestinationType where
- newtype PermissionType where
- PermissionType' { }
- pattern PermissionType_CUSTOMER_MANAGED :: PermissionType
- pattern PermissionType_SERVICE_MANAGED :: PermissionType
- newtype Role where
- Role' { }
- pattern Role_ADMIN :: Role
- pattern Role_EDITOR :: Role
- pattern Role_VIEWER :: Role
- newtype SamlConfigurationStatus where
- newtype UpdateAction where
- UpdateAction' { }
- pattern UpdateAction_ADD :: UpdateAction
- pattern UpdateAction_REVOKE :: UpdateAction
- newtype UserType where
- UserType' {
- fromUserType :: Text
- pattern UserType_SSO_GROUP :: UserType
- pattern UserType_SSO_USER :: UserType
- UserType' {
- newtype WorkspaceStatus where
- WorkspaceStatus' { }
- pattern WorkspaceStatus_ACTIVE :: WorkspaceStatus
- pattern WorkspaceStatus_CREATING :: WorkspaceStatus
- pattern WorkspaceStatus_CREATION_FAILED :: WorkspaceStatus
- pattern WorkspaceStatus_DELETING :: WorkspaceStatus
- pattern WorkspaceStatus_DELETION_FAILED :: WorkspaceStatus
- pattern WorkspaceStatus_FAILED :: WorkspaceStatus
- pattern WorkspaceStatus_LICENSE_REMOVAL_FAILED :: WorkspaceStatus
- pattern WorkspaceStatus_UPDATE_FAILED :: WorkspaceStatus
- pattern WorkspaceStatus_UPDATING :: WorkspaceStatus
- pattern WorkspaceStatus_UPGRADE_FAILED :: WorkspaceStatus
- pattern WorkspaceStatus_UPGRADING :: WorkspaceStatus
- data AssertionAttributes = AssertionAttributes' {}
- newAssertionAttributes :: AssertionAttributes
- assertionAttributes_email :: Lens' AssertionAttributes (Maybe Text)
- assertionAttributes_groups :: Lens' AssertionAttributes (Maybe Text)
- assertionAttributes_login :: Lens' AssertionAttributes (Maybe Text)
- assertionAttributes_name :: Lens' AssertionAttributes (Maybe Text)
- assertionAttributes_org :: Lens' AssertionAttributes (Maybe Text)
- assertionAttributes_role :: Lens' AssertionAttributes (Maybe Text)
- data AuthenticationDescription = AuthenticationDescription' {}
- newAuthenticationDescription :: AuthenticationDescription
- authenticationDescription_awsSso :: Lens' AuthenticationDescription (Maybe AwsSsoAuthentication)
- authenticationDescription_saml :: Lens' AuthenticationDescription (Maybe SamlAuthentication)
- authenticationDescription_providers :: Lens' AuthenticationDescription [AuthenticationProviderTypes]
- data AuthenticationSummary = AuthenticationSummary' {}
- newAuthenticationSummary :: AuthenticationSummary
- authenticationSummary_samlConfigurationStatus :: Lens' AuthenticationSummary (Maybe SamlConfigurationStatus)
- authenticationSummary_providers :: Lens' AuthenticationSummary [AuthenticationProviderTypes]
- data AwsSsoAuthentication = AwsSsoAuthentication' {
- ssoClientId :: Maybe Text
- newAwsSsoAuthentication :: AwsSsoAuthentication
- awsSsoAuthentication_ssoClientId :: Lens' AwsSsoAuthentication (Maybe Text)
- data IdpMetadata = IdpMetadata' {}
- newIdpMetadata :: IdpMetadata
- idpMetadata_url :: Lens' IdpMetadata (Maybe Text)
- idpMetadata_xml :: Lens' IdpMetadata (Maybe Text)
- data PermissionEntry = PermissionEntry' {}
- newPermissionEntry :: Role -> User -> PermissionEntry
- permissionEntry_role :: Lens' PermissionEntry Role
- permissionEntry_user :: Lens' PermissionEntry User
- data RoleValues = RoleValues' {}
- newRoleValues :: RoleValues
- roleValues_admin :: Lens' RoleValues (Maybe [Text])
- roleValues_editor :: Lens' RoleValues (Maybe [Text])
- data SamlAuthentication = SamlAuthentication' {}
- newSamlAuthentication :: SamlConfigurationStatus -> SamlAuthentication
- samlAuthentication_configuration :: Lens' SamlAuthentication (Maybe SamlConfiguration)
- samlAuthentication_status :: Lens' SamlAuthentication SamlConfigurationStatus
- data SamlConfiguration = SamlConfiguration' {}
- newSamlConfiguration :: IdpMetadata -> SamlConfiguration
- samlConfiguration_allowedOrganizations :: Lens' SamlConfiguration (Maybe [Text])
- samlConfiguration_assertionAttributes :: Lens' SamlConfiguration (Maybe AssertionAttributes)
- samlConfiguration_loginValidityDuration :: Lens' SamlConfiguration (Maybe Int)
- samlConfiguration_roleValues :: Lens' SamlConfiguration (Maybe RoleValues)
- samlConfiguration_idpMetadata :: Lens' SamlConfiguration IdpMetadata
- data UpdateError = UpdateError' {}
- newUpdateError :: UpdateInstruction -> Natural -> Text -> UpdateError
- updateError_causedBy :: Lens' UpdateError UpdateInstruction
- updateError_code :: Lens' UpdateError Natural
- updateError_message :: Lens' UpdateError Text
- data UpdateInstruction = UpdateInstruction' {}
- newUpdateInstruction :: UpdateAction -> Role -> UpdateInstruction
- updateInstruction_action :: Lens' UpdateInstruction UpdateAction
- updateInstruction_role :: Lens' UpdateInstruction Role
- updateInstruction_users :: Lens' UpdateInstruction [User]
- data User = User' {}
- newUser :: Text -> UserType -> User
- user_id :: Lens' User Text
- user_type :: Lens' User UserType
- data VpcConfiguration = VpcConfiguration' {}
- newVpcConfiguration :: NonEmpty Text -> NonEmpty Text -> VpcConfiguration
- vpcConfiguration_securityGroupIds :: Lens' VpcConfiguration (NonEmpty Text)
- vpcConfiguration_subnetIds :: Lens' VpcConfiguration (NonEmpty Text)
- data WorkspaceDescription = WorkspaceDescription' {
- accountAccessType :: Maybe AccountAccessType
- description :: Maybe (Sensitive Text)
- freeTrialConsumed :: Maybe Bool
- freeTrialExpiration :: Maybe POSIX
- licenseExpiration :: Maybe POSIX
- licenseType :: Maybe LicenseType
- name :: Maybe (Sensitive Text)
- notificationDestinations :: Maybe [NotificationDestinationType]
- organizationRoleName :: Maybe (Sensitive Text)
- organizationalUnits :: Maybe (Sensitive [Text])
- permissionType :: Maybe PermissionType
- stackSetName :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- vpcConfiguration :: Maybe VpcConfiguration
- workspaceRoleArn :: Maybe (Sensitive Text)
- authentication :: AuthenticationSummary
- created :: POSIX
- dataSources :: [DataSourceType]
- endpoint :: Text
- grafanaVersion :: Text
- id :: Text
- modified :: POSIX
- status :: WorkspaceStatus
- newWorkspaceDescription :: AuthenticationSummary -> UTCTime -> Text -> Text -> Text -> UTCTime -> WorkspaceStatus -> WorkspaceDescription
- workspaceDescription_accountAccessType :: Lens' WorkspaceDescription (Maybe AccountAccessType)
- workspaceDescription_description :: Lens' WorkspaceDescription (Maybe Text)
- workspaceDescription_freeTrialConsumed :: Lens' WorkspaceDescription (Maybe Bool)
- workspaceDescription_freeTrialExpiration :: Lens' WorkspaceDescription (Maybe UTCTime)
- workspaceDescription_licenseExpiration :: Lens' WorkspaceDescription (Maybe UTCTime)
- workspaceDescription_licenseType :: Lens' WorkspaceDescription (Maybe LicenseType)
- workspaceDescription_name :: Lens' WorkspaceDescription (Maybe Text)
- workspaceDescription_notificationDestinations :: Lens' WorkspaceDescription (Maybe [NotificationDestinationType])
- workspaceDescription_organizationRoleName :: Lens' WorkspaceDescription (Maybe Text)
- workspaceDescription_organizationalUnits :: Lens' WorkspaceDescription (Maybe [Text])
- workspaceDescription_permissionType :: Lens' WorkspaceDescription (Maybe PermissionType)
- workspaceDescription_stackSetName :: Lens' WorkspaceDescription (Maybe Text)
- workspaceDescription_tags :: Lens' WorkspaceDescription (Maybe (HashMap Text Text))
- workspaceDescription_vpcConfiguration :: Lens' WorkspaceDescription (Maybe VpcConfiguration)
- workspaceDescription_workspaceRoleArn :: Lens' WorkspaceDescription (Maybe Text)
- workspaceDescription_authentication :: Lens' WorkspaceDescription AuthenticationSummary
- workspaceDescription_created :: Lens' WorkspaceDescription UTCTime
- workspaceDescription_dataSources :: Lens' WorkspaceDescription [DataSourceType]
- workspaceDescription_endpoint :: Lens' WorkspaceDescription Text
- workspaceDescription_grafanaVersion :: Lens' WorkspaceDescription Text
- workspaceDescription_id :: Lens' WorkspaceDescription Text
- workspaceDescription_modified :: Lens' WorkspaceDescription UTCTime
- workspaceDescription_status :: Lens' WorkspaceDescription WorkspaceStatus
- data WorkspaceSummary = WorkspaceSummary' {
- description :: Maybe (Sensitive Text)
- name :: Maybe (Sensitive Text)
- notificationDestinations :: Maybe [NotificationDestinationType]
- tags :: Maybe (HashMap Text Text)
- authentication :: AuthenticationSummary
- created :: POSIX
- endpoint :: Text
- grafanaVersion :: Text
- id :: Text
- modified :: POSIX
- status :: WorkspaceStatus
- newWorkspaceSummary :: AuthenticationSummary -> UTCTime -> Text -> Text -> Text -> UTCTime -> WorkspaceStatus -> WorkspaceSummary
- workspaceSummary_description :: Lens' WorkspaceSummary (Maybe Text)
- workspaceSummary_name :: Lens' WorkspaceSummary (Maybe Text)
- workspaceSummary_notificationDestinations :: Lens' WorkspaceSummary (Maybe [NotificationDestinationType])
- workspaceSummary_tags :: Lens' WorkspaceSummary (Maybe (HashMap Text Text))
- workspaceSummary_authentication :: Lens' WorkspaceSummary AuthenticationSummary
- workspaceSummary_created :: Lens' WorkspaceSummary UTCTime
- workspaceSummary_endpoint :: Lens' WorkspaceSummary Text
- workspaceSummary_grafanaVersion :: Lens' WorkspaceSummary Text
- workspaceSummary_id :: Lens' WorkspaceSummary Text
- workspaceSummary_modified :: Lens' WorkspaceSummary UTCTime
- workspaceSummary_status :: Lens' WorkspaceSummary WorkspaceStatus
Service Configuration
defaultService :: Service Source #
API version 2020-08-18
of the Amazon Managed Grafana SDK configuration.
Errors
_AccessDeniedException :: AsError a => Fold a ServiceError Source #
You do not have sufficient permissions to perform this action.
_ConflictException :: AsError a => Fold a ServiceError Source #
A resource was in an inconsistent state during an update or a deletion.
_InternalServerException :: AsError a => Fold a ServiceError Source #
Unexpected error while processing the request. Retry the request.
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
The request references a resource that does not exist.
_ServiceQuotaExceededException :: AsError a => Fold a ServiceError Source #
The request would cause a service quota to be exceeded.
_ThrottlingException :: AsError a => Fold a ServiceError Source #
The request was denied because of request throttling. Retry the request.
_ValidationException :: AsError a => Fold a ServiceError Source #
The value of a parameter in the request caused an error.
AccountAccessType
newtype AccountAccessType Source #
pattern AccountAccessType_CURRENT_ACCOUNT :: AccountAccessType | |
pattern AccountAccessType_ORGANIZATION :: AccountAccessType |
Instances
AuthenticationProviderTypes
newtype AuthenticationProviderTypes Source #
pattern AuthenticationProviderTypes_AWS_SSO :: AuthenticationProviderTypes | |
pattern AuthenticationProviderTypes_SAML :: AuthenticationProviderTypes |
Instances
DataSourceType
newtype DataSourceType Source #
pattern DataSourceType_AMAZON_OPENSEARCH_SERVICE :: DataSourceType | |
pattern DataSourceType_ATHENA :: DataSourceType | |
pattern DataSourceType_CLOUDWATCH :: DataSourceType | |
pattern DataSourceType_PROMETHEUS :: DataSourceType | |
pattern DataSourceType_REDSHIFT :: DataSourceType | |
pattern DataSourceType_SITEWISE :: DataSourceType | |
pattern DataSourceType_TIMESTREAM :: DataSourceType | |
pattern DataSourceType_TWINMAKER :: DataSourceType | |
pattern DataSourceType_XRAY :: DataSourceType |
Instances
LicenseType
newtype LicenseType Source #
pattern LicenseType_ENTERPRISE :: LicenseType | |
pattern LicenseType_ENTERPRISE_FREE_TRIAL :: LicenseType |
Instances
NotificationDestinationType
newtype NotificationDestinationType Source #
Instances
PermissionType
newtype PermissionType Source #
pattern PermissionType_CUSTOMER_MANAGED :: PermissionType | |
pattern PermissionType_SERVICE_MANAGED :: PermissionType |
Instances
Role
pattern Role_ADMIN :: Role | |
pattern Role_EDITOR :: Role | |
pattern Role_VIEWER :: Role |
Instances
SamlConfigurationStatus
newtype SamlConfigurationStatus Source #
pattern SamlConfigurationStatus_CONFIGURED :: SamlConfigurationStatus | |
pattern SamlConfigurationStatus_NOT_CONFIGURED :: SamlConfigurationStatus |
Instances
UpdateAction
newtype UpdateAction Source #
pattern UpdateAction_ADD :: UpdateAction | |
pattern UpdateAction_REVOKE :: UpdateAction |
Instances
UserType
pattern UserType_SSO_GROUP :: UserType | |
pattern UserType_SSO_USER :: UserType |
Instances
WorkspaceStatus
newtype WorkspaceStatus Source #
pattern WorkspaceStatus_ACTIVE :: WorkspaceStatus | |
pattern WorkspaceStatus_CREATING :: WorkspaceStatus | |
pattern WorkspaceStatus_CREATION_FAILED :: WorkspaceStatus | |
pattern WorkspaceStatus_DELETING :: WorkspaceStatus | |
pattern WorkspaceStatus_DELETION_FAILED :: WorkspaceStatus | |
pattern WorkspaceStatus_FAILED :: WorkspaceStatus | |
pattern WorkspaceStatus_LICENSE_REMOVAL_FAILED :: WorkspaceStatus | |
pattern WorkspaceStatus_UPDATE_FAILED :: WorkspaceStatus | |
pattern WorkspaceStatus_UPDATING :: WorkspaceStatus | |
pattern WorkspaceStatus_UPGRADE_FAILED :: WorkspaceStatus | |
pattern WorkspaceStatus_UPGRADING :: WorkspaceStatus |
Instances
AssertionAttributes
data AssertionAttributes Source #
A structure that defines which attributes in the IdP assertion are to be used to define information about the users authenticated by the IdP to use the workspace.
See: newAssertionAttributes
smart constructor.
AssertionAttributes' | |
|
Instances
newAssertionAttributes :: AssertionAttributes Source #
Create a value of AssertionAttributes
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:email:AssertionAttributes'
, assertionAttributes_email
- The name of the attribute within the SAML assertion to use as the email
names for SAML users.
$sel:groups:AssertionAttributes'
, assertionAttributes_groups
- The name of the attribute within the SAML assertion to use as the user
full "friendly" names for user groups.
$sel:login:AssertionAttributes'
, assertionAttributes_login
- The name of the attribute within the SAML assertion to use as the login
names for SAML users.
$sel:name:AssertionAttributes'
, assertionAttributes_name
- The name of the attribute within the SAML assertion to use as the user
full "friendly" names for SAML users.
$sel:org:AssertionAttributes'
, assertionAttributes_org
- The name of the attribute within the SAML assertion to use as the user
full "friendly" names for the users' organizations.
$sel:role':AssertionAttributes'
, assertionAttributes_role
- The name of the attribute within the SAML assertion to use as the user
roles.
assertionAttributes_email :: Lens' AssertionAttributes (Maybe Text) Source #
The name of the attribute within the SAML assertion to use as the email names for SAML users.
assertionAttributes_groups :: Lens' AssertionAttributes (Maybe Text) Source #
The name of the attribute within the SAML assertion to use as the user full "friendly" names for user groups.
assertionAttributes_login :: Lens' AssertionAttributes (Maybe Text) Source #
The name of the attribute within the SAML assertion to use as the login names for SAML users.
assertionAttributes_name :: Lens' AssertionAttributes (Maybe Text) Source #
The name of the attribute within the SAML assertion to use as the user full "friendly" names for SAML users.
assertionAttributes_org :: Lens' AssertionAttributes (Maybe Text) Source #
The name of the attribute within the SAML assertion to use as the user full "friendly" names for the users' organizations.
assertionAttributes_role :: Lens' AssertionAttributes (Maybe Text) Source #
The name of the attribute within the SAML assertion to use as the user roles.
AuthenticationDescription
data AuthenticationDescription Source #
A structure containing information about the user authentication methods used by the workspace.
See: newAuthenticationDescription
smart constructor.
AuthenticationDescription' | |
|
Instances
newAuthenticationDescription :: AuthenticationDescription Source #
Create a value of AuthenticationDescription
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:awsSso:AuthenticationDescription'
, authenticationDescription_awsSso
- A structure containing information about how this workspace works with
IAM Identity Center.
$sel:saml:AuthenticationDescription'
, authenticationDescription_saml
- A structure containing information about how this workspace works with
SAML, including what attributes within the assertion are to be mapped to
user information in the workspace.
$sel:providers:AuthenticationDescription'
, authenticationDescription_providers
- Specifies whether this workspace uses IAM Identity Center, SAML, or both
methods to authenticate users to use the Grafana console in the Amazon
Managed Grafana workspace.
authenticationDescription_awsSso :: Lens' AuthenticationDescription (Maybe AwsSsoAuthentication) Source #
A structure containing information about how this workspace works with IAM Identity Center.
authenticationDescription_saml :: Lens' AuthenticationDescription (Maybe SamlAuthentication) Source #
A structure containing information about how this workspace works with SAML, including what attributes within the assertion are to be mapped to user information in the workspace.
authenticationDescription_providers :: Lens' AuthenticationDescription [AuthenticationProviderTypes] Source #
Specifies whether this workspace uses IAM Identity Center, SAML, or both methods to authenticate users to use the Grafana console in the Amazon Managed Grafana workspace.
AuthenticationSummary
data AuthenticationSummary Source #
A structure that describes whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication, and whether that authentication is fully configured.
See: newAuthenticationSummary
smart constructor.
AuthenticationSummary' | |
|
Instances
newAuthenticationSummary :: AuthenticationSummary Source #
Create a value of AuthenticationSummary
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:samlConfigurationStatus:AuthenticationSummary'
, authenticationSummary_samlConfigurationStatus
- Specifies whether the workplace's user authentication method is fully
configured.
$sel:providers:AuthenticationSummary'
, authenticationSummary_providers
- Specifies whether the workspace uses SAML, IAM Identity Center, or both
methods for user authentication.
authenticationSummary_samlConfigurationStatus :: Lens' AuthenticationSummary (Maybe SamlConfigurationStatus) Source #
Specifies whether the workplace's user authentication method is fully configured.
authenticationSummary_providers :: Lens' AuthenticationSummary [AuthenticationProviderTypes] Source #
Specifies whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.
AwsSsoAuthentication
data AwsSsoAuthentication Source #
A structure containing information about how this workspace works with IAM Identity Center.
See: newAwsSsoAuthentication
smart constructor.
AwsSsoAuthentication' | |
|
Instances
newAwsSsoAuthentication :: AwsSsoAuthentication Source #
Create a value of AwsSsoAuthentication
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:ssoClientId:AwsSsoAuthentication'
, awsSsoAuthentication_ssoClientId
- The ID of the IAM Identity Center-managed application that is created by
Amazon Managed Grafana.
awsSsoAuthentication_ssoClientId :: Lens' AwsSsoAuthentication (Maybe Text) Source #
The ID of the IAM Identity Center-managed application that is created by Amazon Managed Grafana.
IdpMetadata
data IdpMetadata Source #
A structure containing the identity provider (IdP) metadata used to
integrate the identity provider with this workspace. You can specify the
metadata either by providing a URL to its location in the url
parameter, or by specifying the full metadata in XML format in the xml
parameter. Specifying both will cause an error.
See: newIdpMetadata
smart constructor.
Instances
newIdpMetadata :: IdpMetadata Source #
Create a value of IdpMetadata
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:url:IdpMetadata'
, idpMetadata_url
- The URL of the location containing the IdP metadata.
$sel:xml:IdpMetadata'
, idpMetadata_xml
- The full IdP metadata, in XML format.
idpMetadata_url :: Lens' IdpMetadata (Maybe Text) Source #
The URL of the location containing the IdP metadata.
idpMetadata_xml :: Lens' IdpMetadata (Maybe Text) Source #
The full IdP metadata, in XML format.
PermissionEntry
data PermissionEntry Source #
A structure containing the identity of one user or group and the
Admin
, Editor
, or Viewer
role that they have.
See: newPermissionEntry
smart constructor.
Instances
Create a value of PermissionEntry
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:role':PermissionEntry'
, permissionEntry_role
- Specifies whether the user or group has the Admin
, Editor
, or
Viewer
role.
$sel:user:PermissionEntry'
, permissionEntry_user
- A structure with the ID of the user or group with this role.
permissionEntry_role :: Lens' PermissionEntry Role Source #
Specifies whether the user or group has the Admin
, Editor
, or
Viewer
role.
permissionEntry_user :: Lens' PermissionEntry User Source #
A structure with the ID of the user or group with this role.
RoleValues
data RoleValues Source #
This structure defines which groups defined in the SAML assertion
attribute are to be mapped to the Grafana Admin
and Editor
roles in
the workspace. SAML authenticated users not part of Admin
or Editor
role groups have Viewer
permission over the workspace.
See: newRoleValues
smart constructor.
Instances
newRoleValues :: RoleValues Source #
Create a value of RoleValues
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:admin:RoleValues'
, roleValues_admin
- A list of groups from the SAML assertion attribute to grant the Grafana
Admin
role to.
$sel:editor:RoleValues'
, roleValues_editor
- A list of groups from the SAML assertion attribute to grant the Grafana
Editor
role to.
roleValues_admin :: Lens' RoleValues (Maybe [Text]) Source #
A list of groups from the SAML assertion attribute to grant the Grafana
Admin
role to.
roleValues_editor :: Lens' RoleValues (Maybe [Text]) Source #
A list of groups from the SAML assertion attribute to grant the Grafana
Editor
role to.
SamlAuthentication
data SamlAuthentication Source #
A structure containing information about how this workspace works with SAML.
See: newSamlAuthentication
smart constructor.
SamlAuthentication' | |
|
Instances
newSamlAuthentication Source #
Create a value of SamlAuthentication
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:configuration:SamlAuthentication'
, samlAuthentication_configuration
- A structure containing details about how this workspace works with SAML.
$sel:status:SamlAuthentication'
, samlAuthentication_status
- Specifies whether the workspace's SAML configuration is complete.
samlAuthentication_configuration :: Lens' SamlAuthentication (Maybe SamlConfiguration) Source #
A structure containing details about how this workspace works with SAML.
samlAuthentication_status :: Lens' SamlAuthentication SamlConfigurationStatus Source #
Specifies whether the workspace's SAML configuration is complete.
SamlConfiguration
data SamlConfiguration Source #
A structure containing information about how this workspace works with SAML.
See: newSamlConfiguration
smart constructor.
SamlConfiguration' | |
|
Instances
Create a value of SamlConfiguration
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:allowedOrganizations:SamlConfiguration'
, samlConfiguration_allowedOrganizations
- Lists which organizations defined in the SAML assertion are allowed to
use the Amazon Managed Grafana workspace. If this is empty, all
organizations in the assertion attribute have access.
$sel:assertionAttributes:SamlConfiguration'
, samlConfiguration_assertionAttributes
- A structure that defines which attributes in the SAML assertion are to
be used to define information about the users authenticated by that IdP
to use the workspace.
$sel:loginValidityDuration:SamlConfiguration'
, samlConfiguration_loginValidityDuration
- How long a sign-on session by a SAML user is valid, before the user has
to sign on again.
$sel:roleValues:SamlConfiguration'
, samlConfiguration_roleValues
- A structure containing arrays that map group names in the SAML assertion
to the Grafana Admin
and Editor
roles in the workspace.
$sel:idpMetadata:SamlConfiguration'
, samlConfiguration_idpMetadata
- A structure containing the identity provider (IdP) metadata used to
integrate the identity provider with this workspace.
samlConfiguration_allowedOrganizations :: Lens' SamlConfiguration (Maybe [Text]) Source #
Lists which organizations defined in the SAML assertion are allowed to use the Amazon Managed Grafana workspace. If this is empty, all organizations in the assertion attribute have access.
samlConfiguration_assertionAttributes :: Lens' SamlConfiguration (Maybe AssertionAttributes) Source #
A structure that defines which attributes in the SAML assertion are to be used to define information about the users authenticated by that IdP to use the workspace.
samlConfiguration_loginValidityDuration :: Lens' SamlConfiguration (Maybe Int) Source #
How long a sign-on session by a SAML user is valid, before the user has to sign on again.
samlConfiguration_roleValues :: Lens' SamlConfiguration (Maybe RoleValues) Source #
A structure containing arrays that map group names in the SAML assertion
to the Grafana Admin
and Editor
roles in the workspace.
samlConfiguration_idpMetadata :: Lens' SamlConfiguration IdpMetadata Source #
A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.
UpdateError
data UpdateError Source #
A structure containing information about one error encountered while performing an UpdatePermissions operation.
See: newUpdateError
smart constructor.
Instances
:: UpdateInstruction | |
-> Natural | |
-> Text | |
-> UpdateError |
Create a value of UpdateError
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:causedBy:UpdateError'
, updateError_causedBy
- Specifies which permission update caused the error.
$sel:code:UpdateError'
, updateError_code
- The error code.
$sel:message:UpdateError'
, updateError_message
- The message for this error.
updateError_causedBy :: Lens' UpdateError UpdateInstruction Source #
Specifies which permission update caused the error.
updateError_code :: Lens' UpdateError Natural Source #
The error code.
updateError_message :: Lens' UpdateError Text Source #
The message for this error.
UpdateInstruction
data UpdateInstruction Source #
Contains the instructions for one Grafana role permission update in a UpdatePermissions operation.
See: newUpdateInstruction
smart constructor.
Instances
:: UpdateAction | |
-> Role | |
-> UpdateInstruction |
Create a value of UpdateInstruction
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:action:UpdateInstruction'
, updateInstruction_action
- Specifies whether this update is to add or revoke role permissions.
$sel:role':UpdateInstruction'
, updateInstruction_role
- The role to add or revoke for the user or the group specified in
users
.
$sel:users:UpdateInstruction'
, updateInstruction_users
- A structure that specifies the user or group to add or revoke the role
for.
updateInstruction_action :: Lens' UpdateInstruction UpdateAction Source #
Specifies whether this update is to add or revoke role permissions.
updateInstruction_role :: Lens' UpdateInstruction Role Source #
The role to add or revoke for the user or the group specified in
users
.
updateInstruction_users :: Lens' UpdateInstruction [User] Source #
A structure that specifies the user or group to add or revoke the role for.
User
A structure that specifies one user or group in the workspace.
See: newUser
smart constructor.
Instances
FromJSON User Source # | |
ToJSON User Source # | |
Defined in Amazonka.Grafana.Types.User | |
Generic User Source # | |
Read User Source # | |
Show User Source # | |
NFData User Source # | |
Defined in Amazonka.Grafana.Types.User | |
Eq User Source # | |
Hashable User Source # | |
Defined in Amazonka.Grafana.Types.User | |
type Rep User Source # | |
Defined in Amazonka.Grafana.Types.User type Rep User = D1 ('MetaData "User" "Amazonka.Grafana.Types.User" "amazonka-grafana-2.0-1hXXW2cgZWZJGJ3AoD5xOB" 'False) (C1 ('MetaCons "User'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UserType))) |
Create a value of User
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:id:User'
, user_id
- The ID of the user or group.
Pattern:
^([0-9a-fA-F]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$
$sel:type':User'
, user_type
- Specifies whether this is a single user or a group.
user_id :: Lens' User Text Source #
The ID of the user or group.
Pattern:
^([0-9a-fA-F]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$
VpcConfiguration
data VpcConfiguration Source #
The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to.
See: newVpcConfiguration
smart constructor.
Instances
:: NonEmpty Text | |
-> NonEmpty Text | |
-> VpcConfiguration |
Create a value of VpcConfiguration
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:securityGroupIds:VpcConfiguration'
, vpcConfiguration_securityGroupIds
- The list of Amazon EC2 security group IDs attached to the Amazon VPC for
your Grafana workspace to connect.
$sel:subnetIds:VpcConfiguration'
, vpcConfiguration_subnetIds
- The list of Amazon EC2 subnet IDs created in the Amazon VPC for your
Grafana workspace to connect.
vpcConfiguration_securityGroupIds :: Lens' VpcConfiguration (NonEmpty Text) Source #
The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect.
vpcConfiguration_subnetIds :: Lens' VpcConfiguration (NonEmpty Text) Source #
The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect.
WorkspaceDescription
data WorkspaceDescription Source #
A structure containing information about an Amazon Managed Grafana workspace in your account.
See: newWorkspaceDescription
smart constructor.
WorkspaceDescription' | |
|
Instances
newWorkspaceDescription Source #
:: AuthenticationSummary | |
-> UTCTime | |
-> Text | |
-> Text | |
-> Text | |
-> UTCTime | |
-> WorkspaceStatus | |
-> WorkspaceDescription |
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_name :: Lens' WorkspaceDescription (Maybe Text) Source #
The name of the workspace.
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.
workspaceDescription_status :: Lens' WorkspaceDescription WorkspaceStatus Source #
The current status of the workspace.
WorkspaceSummary
data WorkspaceSummary Source #
A structure that contains some information about one workspace in the account.
See: newWorkspaceSummary
smart constructor.
WorkspaceSummary' | |
|
Instances
:: AuthenticationSummary | |
-> UTCTime | |
-> Text | |
-> Text | |
-> Text | |
-> UTCTime | |
-> WorkspaceStatus | |
-> WorkspaceSummary |
Create a value of WorkspaceSummary
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:description:WorkspaceSummary'
, workspaceSummary_description
- The customer-entered description of the workspace.
$sel:name:WorkspaceSummary'
, workspaceSummary_name
- The name of the workspace.
$sel:notificationDestinations:WorkspaceSummary'
, workspaceSummary_notificationDestinations
- The Amazon Web Services notification channels that Amazon Managed
Grafana can automatically create IAM roles and permissions for, which
allows Amazon Managed Grafana to use these channels.
$sel:tags:WorkspaceSummary'
, workspaceSummary_tags
- The list of tags associated with the workspace.
$sel:authentication:WorkspaceSummary'
, workspaceSummary_authentication
- A structure containing information about the authentication methods used
in the workspace.
$sel:created:WorkspaceSummary'
, workspaceSummary_created
- The date that the workspace was created.
$sel:endpoint:WorkspaceSummary'
, workspaceSummary_endpoint
- The URL endpoint to use to access the Grafana console in the workspace.
$sel:grafanaVersion:WorkspaceSummary'
, workspaceSummary_grafanaVersion
- The Grafana version that the workspace is running.
$sel:id:WorkspaceSummary'
, workspaceSummary_id
- The unique ID of the workspace.
$sel:modified:WorkspaceSummary'
, workspaceSummary_modified
- The most recent date that the workspace was modified.
$sel:status:WorkspaceSummary'
, workspaceSummary_status
- The current status of the workspace.
workspaceSummary_description :: Lens' WorkspaceSummary (Maybe Text) Source #
The customer-entered description of the workspace.
workspaceSummary_name :: Lens' WorkspaceSummary (Maybe Text) Source #
The name of the workspace.
workspaceSummary_notificationDestinations :: Lens' WorkspaceSummary (Maybe [NotificationDestinationType]) Source #
The Amazon Web Services notification channels that Amazon Managed Grafana can automatically create IAM roles and permissions for, which allows Amazon Managed Grafana to use these channels.
workspaceSummary_tags :: Lens' WorkspaceSummary (Maybe (HashMap Text Text)) Source #
The list of tags associated with the workspace.
workspaceSummary_authentication :: Lens' WorkspaceSummary AuthenticationSummary Source #
A structure containing information about the authentication methods used in the workspace.
workspaceSummary_created :: Lens' WorkspaceSummary UTCTime Source #
The date that the workspace was created.
workspaceSummary_endpoint :: Lens' WorkspaceSummary Text Source #
The URL endpoint to use to access the Grafana console in the workspace.
workspaceSummary_grafanaVersion :: Lens' WorkspaceSummary Text Source #
The Grafana version that the workspace is running.
workspaceSummary_id :: Lens' WorkspaceSummary Text Source #
The unique ID of the workspace.
workspaceSummary_modified :: Lens' WorkspaceSummary UTCTime Source #
The most recent date that the workspace was modified.
workspaceSummary_status :: Lens' WorkspaceSummary WorkspaceStatus Source #
The current status of the workspace.