Skip to content

Type definitions#

Index > ManagedGrafana > Type definitions

Auto-generated documentation for ManagedGrafana type annotations stubs module mypy-boto3-grafana.

NetworkAccessConfigurationUnionTypeDef#

# NetworkAccessConfigurationUnionTypeDef definition

NetworkAccessConfigurationUnionTypeDef = Union[
    NetworkAccessConfigurationTypeDef,  # (1)
    NetworkAccessConfigurationOutputTypeDef,  # (2)
]
  1. See NetworkAccessConfigurationTypeDef
  2. See NetworkAccessConfigurationOutputTypeDef

VpcConfigurationUnionTypeDef#

# VpcConfigurationUnionTypeDef definition

VpcConfigurationUnionTypeDef = Union[
    VpcConfigurationTypeDef,  # (1)
    VpcConfigurationOutputTypeDef,  # (2)
]
  1. See VpcConfigurationTypeDef
  2. See VpcConfigurationOutputTypeDef

UpdateInstructionUnionTypeDef#

# UpdateInstructionUnionTypeDef definition

UpdateInstructionUnionTypeDef = Union[
    UpdateInstructionTypeDef,  # (1)
    UpdateInstructionOutputTypeDef,  # (2)
]
  1. See UpdateInstructionTypeDef
  2. See UpdateInstructionOutputTypeDef

SamlConfigurationUnionTypeDef#

# SamlConfigurationUnionTypeDef definition

SamlConfigurationUnionTypeDef = Union[
    SamlConfigurationTypeDef,  # (1)
    SamlConfigurationOutputTypeDef,  # (2)
]
  1. See SamlConfigurationTypeDef
  2. See SamlConfigurationOutputTypeDef

AssertionAttributesTypeDef#

# AssertionAttributesTypeDef definition

class AssertionAttributesTypeDef(TypedDict):
    email: NotRequired[str],
    groups: NotRequired[str],
    login: NotRequired[str],
    name: NotRequired[str],
    org: NotRequired[str],
    role: NotRequired[str],

AssociateLicenseRequestRequestTypeDef#

# AssociateLicenseRequestRequestTypeDef definition

class AssociateLicenseRequestRequestTypeDef(TypedDict):
    licenseType: LicenseTypeType,  # (1)
    workspaceId: str,
    grafanaToken: NotRequired[str],
  1. See LicenseTypeType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

AwsSsoAuthenticationTypeDef#

# AwsSsoAuthenticationTypeDef definition

class AwsSsoAuthenticationTypeDef(TypedDict):
    ssoClientId: NotRequired[str],

AuthenticationSummaryTypeDef#

# AuthenticationSummaryTypeDef definition

class AuthenticationSummaryTypeDef(TypedDict):
    providers: List[AuthenticationProviderTypesType],  # (1)
    samlConfigurationStatus: NotRequired[SamlConfigurationStatusType],  # (2)
  1. See AuthenticationProviderTypesType
  2. See SamlConfigurationStatusType

CreateWorkspaceApiKeyRequestRequestTypeDef#

# CreateWorkspaceApiKeyRequestRequestTypeDef definition

class CreateWorkspaceApiKeyRequestRequestTypeDef(TypedDict):
    keyName: str,
    keyRole: str,
    secondsToLive: int,
    workspaceId: str,

NetworkAccessConfigurationTypeDef#

# NetworkAccessConfigurationTypeDef definition

class NetworkAccessConfigurationTypeDef(TypedDict):
    prefixListIds: Sequence[str],
    vpceIds: Sequence[str],

VpcConfigurationTypeDef#

# VpcConfigurationTypeDef definition

class VpcConfigurationTypeDef(TypedDict):
    securityGroupIds: Sequence[str],
    subnetIds: Sequence[str],

CreateWorkspaceServiceAccountRequestRequestTypeDef#

# CreateWorkspaceServiceAccountRequestRequestTypeDef definition

class CreateWorkspaceServiceAccountRequestRequestTypeDef(TypedDict):
    grafanaRole: RoleType,  # (1)
    name: str,
    workspaceId: str,
  1. See RoleType

CreateWorkspaceServiceAccountTokenRequestRequestTypeDef#

# CreateWorkspaceServiceAccountTokenRequestRequestTypeDef definition

class CreateWorkspaceServiceAccountTokenRequestRequestTypeDef(TypedDict):
    name: str,
    secondsToLive: int,
    serviceAccountId: str,
    workspaceId: str,

ServiceAccountTokenSummaryWithKeyTypeDef#

# ServiceAccountTokenSummaryWithKeyTypeDef definition

class ServiceAccountTokenSummaryWithKeyTypeDef(TypedDict):
    id: str,
    key: str,
    name: str,

DeleteWorkspaceApiKeyRequestRequestTypeDef#

# DeleteWorkspaceApiKeyRequestRequestTypeDef definition

class DeleteWorkspaceApiKeyRequestRequestTypeDef(TypedDict):
    keyName: str,
    workspaceId: str,

DeleteWorkspaceRequestRequestTypeDef#

# DeleteWorkspaceRequestRequestTypeDef definition

class DeleteWorkspaceRequestRequestTypeDef(TypedDict):
    workspaceId: str,

DeleteWorkspaceServiceAccountRequestRequestTypeDef#

# DeleteWorkspaceServiceAccountRequestRequestTypeDef definition

class DeleteWorkspaceServiceAccountRequestRequestTypeDef(TypedDict):
    serviceAccountId: str,
    workspaceId: str,

DeleteWorkspaceServiceAccountTokenRequestRequestTypeDef#

# DeleteWorkspaceServiceAccountTokenRequestRequestTypeDef definition

class DeleteWorkspaceServiceAccountTokenRequestRequestTypeDef(TypedDict):
    serviceAccountId: str,
    tokenId: str,
    workspaceId: str,

DescribeWorkspaceAuthenticationRequestRequestTypeDef#

# DescribeWorkspaceAuthenticationRequestRequestTypeDef definition

class DescribeWorkspaceAuthenticationRequestRequestTypeDef(TypedDict):
    workspaceId: str,

DescribeWorkspaceConfigurationRequestRequestTypeDef#

# DescribeWorkspaceConfigurationRequestRequestTypeDef definition

class DescribeWorkspaceConfigurationRequestRequestTypeDef(TypedDict):
    workspaceId: str,

DescribeWorkspaceRequestRequestTypeDef#

# DescribeWorkspaceRequestRequestTypeDef definition

class DescribeWorkspaceRequestRequestTypeDef(T