Skip to content

Type definitions#

Index > ManagedGrafana > Type definitions

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

RoleValuesUnionTypeDef#

# RoleValuesUnionTypeDef definition

RoleValuesUnionTypeDef = Union[
    RoleValuesTypeDef,  # (1)
    RoleValuesOutputTypeDef,  # (2)
]
  1. See RoleValuesTypeDef
  2. See RoleValuesOutputTypeDef

UpdateInstructionUnionTypeDef#

# UpdateInstructionUnionTypeDef definition

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

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(TypedDict):
    workspaceId: str,

DisassociateLicenseRequestRequestTypeDef#

# DisassociateLicenseRequestRequestTypeDef definition

class DisassociateLicenseRequestRequestTypeDef(TypedDict):
    licenseType: LicenseTypeType,  # (1)
    workspaceId: str,
  1. See LicenseTypeType

IdpMetadataTypeDef#

# IdpMetadataTypeDef definition

class IdpMetadataTypeDef(TypedDict):
    url: NotRequired[str],
    xml: NotRequired[str],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListPermissionsRequestRequestTypeDef#

# ListPermissionsRequestRequestTypeDef definition

class ListPermissionsRequestRequestTypeDef(TypedDict):
    workspaceId: str,
    groupId: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    userId: NotRequired[str],
    userType: NotRequired[UserTypeType],  # (1)
  1. See UserTypeType

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

ListVersionsRequestRequestTypeDef#

# ListVersionsRequestRequestTypeDef definition

class ListVersionsRequestRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    workspaceId: NotRequired[str],

ListWorkspaceServiceAccountTokensRequestRequestTypeDef#

# ListWorkspaceServiceAccountTokensRequestRequestTypeDef definition

class ListWorkspaceServiceAccountTokensRequestRequestTypeDef(TypedDict):
    serviceAccountId: str,
    workspaceId: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ServiceAccountTokenSummaryTypeDef#

# ServiceAccountTokenSummaryTypeDef definition

class ServiceAccountTokenSummaryTypeDef(TypedDict):
    createdAt: datetime,
    expiresAt: datetime,
    id: str,
    name: str,
    lastUsedAt: NotRequired[datetime],

ListWorkspaceServiceAccountsRequestRequestTypeDef#

# ListWorkspaceServiceAccountsRequestRequestTypeDef definition

class ListWorkspaceServiceAccountsRequestRequestTypeDef(TypedDict):
    workspaceId: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ServiceAccountSummaryTypeDef#

# ServiceAccountSummaryTypeDef definition

class ServiceAccountSummaryTypeDef(TypedDict):
    grafanaRole: RoleType,  # (1)
    id: str,
    isDisabled: str,
    name: str,
  1. See RoleType

ListWorkspacesRequestRequestTypeDef#

# ListWorkspacesRequestRequestTypeDef definition

class ListWorkspacesRequestRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

NetworkAccessConfigurationOutputTypeDef#

# NetworkAccessConfigurationOutputTypeDef definition

class NetworkAccessConfigurationOutputTypeDef(TypedDict):
    prefixListIds: List[str],
    vpceIds: List[str],

UserTypeDef#

# UserTypeDef definition

class UserTypeDef(TypedDict):
    id: str,
    type: UserTypeType,  # (1)
  1. See UserTypeType

RoleValuesOutputTypeDef#

# RoleValuesOutputTypeDef definition

class RoleValuesOutputTypeDef(TypedDict):
    admin: NotRequired[List[str]],
    editor: NotRequired[List[str]],

RoleValuesTypeDef#

# RoleValuesTypeDef definition

class RoleValuesTypeDef(TypedDict):
    admin: NotRequired[Sequence[str]],
    editor: NotRequired[Sequence[str]],

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

UpdateWorkspaceConfigurationRequestRequestTypeDef#

# UpdateWorkspaceConfigurationRequestRequestTypeDef definition

class UpdateWorkspaceConfigurationRequestRequestTypeDef(TypedDict):
    configuration: str,
    workspaceId: str,
    grafanaVersion: NotRequired[str],

VpcConfigurationOutputTypeDef#

# VpcConfigurationOutputTypeDef definition

class VpcConfigurationOutputTypeDef(TypedDict):
    securityGroupIds: List[str],
    subnetIds: List[str],

CreateWorkspaceApiKeyResponseTypeDef#

# CreateWorkspaceApiKeyResponseTypeDef definition

class CreateWorkspaceApiKeyResponseTypeDef(TypedDict):
    key: str,
    keyName: str,
    workspaceId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateWorkspaceServiceAccountResponseTypeDef#

# CreateWorkspaceServiceAccountResponseTypeDef definition

class CreateWorkspaceServiceAccountResponseTypeDef(TypedDict):
    grafanaRole: RoleType,  # (1)
    id: str,
    name: str,
    workspaceId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RoleType
  2. See ResponseMetadataTypeDef

DeleteWorkspaceApiKeyResponseTypeDef#

# DeleteWorkspaceApiKeyResponseTypeDef definition

class DeleteWorkspaceApiKeyResponseTypeDef(TypedDict):
    keyName: str,
    workspaceId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteWorkspaceServiceAccountResponseTypeDef#

# DeleteWorkspaceServiceAccountResponseTypeDef definition

class DeleteWorkspaceServiceAccountResponseTypeDef(TypedDict):
    serviceAccountId: str,
    workspaceId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteWorkspaceServiceAccountTokenResponseTypeDef#

# DeleteWorkspaceServiceAccountTokenResponseTypeDef definition

class DeleteWorkspaceServiceAccountTokenResponseTypeDef(TypedDict):
    serviceAccountId: str,
    tokenId: str,
    workspaceId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeWorkspaceConfigurationResponseTypeDef#

# DescribeWorkspaceConfigurationResponseTypeDef definition

class DescribeWorkspaceConfigurationResponseTypeDef(TypedDict):
    configuration: str,
    grafanaVersion: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListVersionsResponseTypeDef#

# ListVersionsResponseTypeDef definition

class ListVersionsResponseTypeDef(TypedDict):
    grafanaVersions: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    nextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

WorkspaceSummaryTypeDef#

# WorkspaceSummaryTypeDef definition

class WorkspaceSummaryTypeDef(TypedDict):
    authentication: AuthenticationSummaryTypeDef,  # (1)
    created: datetime,
    endpoint: str,
    grafanaVersion: str,
    id: str,
    modified: datetime,
    status: WorkspaceStatusType,  # (4)
    description: NotRequired[str],
    grafanaToken: NotRequired[str],
    licenseType: NotRequired[LicenseTypeType],  # (2)
    name: NotRequired[str],
    notificationDestinations: NotRequired[List[NotificationDestinationTypeType]],  # (3)
    tags: NotRequired[Dict[str, str]],
  1. See AuthenticationSummaryTypeDef
  2. See LicenseTypeType
  3. See NotificationDestinationTypeType
  4. See WorkspaceStatusType

CreateWorkspaceRequestRequestTypeDef#

# CreateWorkspaceRequestRequestTypeDef definition

class CreateWorkspaceRequestRequestTypeDef(TypedDict):
    accountAccessType: AccountAccessTypeType,  # (1)
    authenticationProviders: Sequence[AuthenticationProviderTypesType],  # (2)
    permissionType: PermissionTypeType,  # (3)
    clientToken: NotRequired[str],
    configuration: NotRequired[str],
    grafanaVersion: NotRequired[str],
    networkAccessControl: NotRequired[NetworkAccessConfigurationTypeDef],  # (4)
    organizationRoleName: NotRequired[str],
    stackSetName: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],
    vpcConfiguration: NotRequired[VpcConfigurationTypeDef],  # (5)
    workspaceDataSources: NotRequired[Sequence[DataSourceTypeType]],  # (6)
    workspaceDescription: NotRequired[str],
    workspaceName: NotRequired[str],
    workspaceNotificationDestinations: NotRequired[Sequence[NotificationDestinationTypeType]],  # (7)
    workspaceOrganizationalUnits: NotRequired[Sequence[str]],
    workspaceRoleArn: NotRequired[str],
  1. See AccountAccessTypeType
  2. See AuthenticationProviderTypesType
  3. See PermissionTypeType
  4. See NetworkAccessConfigurationTypeDef
  5. See VpcConfigurationTypeDef
  6. See DataSourceTypeType
  7. See NotificationDestinationTypeType

UpdateWorkspaceRequestRequestTypeDef#

# UpdateWorkspaceRequestRequestTypeDef definition

class UpdateWorkspaceRequestRequestTypeDef(TypedDict):
    workspaceId: str,
    accountAccessType: NotRequired[AccountAccessTypeType],  # (1)
    networkAccessControl: NotRequired[NetworkAccessConfigurationTypeDef],  # (2)
    organizationRoleName: NotRequired[str],
    permissionType: NotRequired[PermissionTypeType],  # (3)
    removeNetworkAccessConfiguration: NotRequired[bool],
    removeVpcConfiguration: NotRequired[bool],
    stackSetName: NotRequired[str],
    vpcConfiguration: NotRequired[VpcConfigurationTypeDef],  # (4)
    workspaceDataSources: NotRequired[Sequence[DataSourceTypeType]],  # (5)
    workspaceDescription: NotRequired[str],
    workspaceName: NotRequired[str],
    workspaceNotificationDestinations: NotRequired[Sequence[NotificationDestinationTypeType]],  # (6)
    workspaceOrganizationalUnits: NotRequired[Sequence[str]],
    workspaceRoleArn: NotRequired[str],
  1. See AccountAccessTypeType
  2. See NetworkAccessConfigurationTypeDef
  3. See PermissionTypeType
  4. See VpcConfigurationTypeDef
  5. See DataSourceTypeType
  6. See NotificationDestinationTypeType

CreateWorkspaceServiceAccountTokenResponseTypeDef#

# CreateWorkspaceServiceAccountTokenResponseTypeDef definition

class CreateWorkspaceServiceAccountTokenResponseTypeDef(TypedDict):
    serviceAccountId: str,
    serviceAccountToken: ServiceAccountTokenSummaryWithKeyTypeDef,  # (1)
    workspaceId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ServiceAccountTokenSummaryWithKeyTypeDef
  2. See ResponseMetadataTypeDef

ListPermissionsRequestListPermissionsPaginateTypeDef#

# ListPermissionsRequestListPermissionsPaginateTypeDef definition

class ListPermissionsRequestListPermissionsPaginateTypeDef(TypedDict):
    workspaceId: str,
    groupId: NotRequired[str],
    userId: NotRequired[str],
    userType: NotRequired[UserTypeType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See UserTypeType
  2. See PaginatorConfigTypeDef

ListVersionsRequestListVersionsPaginateTypeDef#

# ListVersionsRequestListVersionsPaginateTypeDef definition

class ListVersionsRequestListVersionsPaginateTypeDef(TypedDict):
    workspaceId: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListWorkspaceServiceAccountTokensRequestListWorkspaceServiceAccountTokensPaginateTypeDef#

# ListWorkspaceServiceAccountTokensRequestListWorkspaceServiceAccountTokensPaginateTypeDef definition

class ListWorkspaceServiceAccountTokensRequestListWorkspaceServiceAccountTokensPaginateTypeDef(TypedDict):
    serviceAccountId: str,
    workspaceId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListWorkspaceServiceAccountsRequestListWorkspaceServiceAccountsPaginateTypeDef#

# ListWorkspaceServiceAccountsRequestListWorkspaceServiceAccountsPaginateTypeDef definition

class ListWorkspaceServiceAccountsRequestListWorkspaceServiceAccountsPaginateTypeDef(TypedDict):
    workspaceId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListWorkspacesRequestListWorkspacesPaginateTypeDef#

# ListWorkspacesRequestListWorkspacesPaginateTypeDef definition

class ListWorkspacesRequestListWorkspacesPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListWorkspaceServiceAccountTokensResponseTypeDef#

# ListWorkspaceServiceAccountTokensResponseTypeDef definition

class ListWorkspaceServiceAccountTokensResponseTypeDef(TypedDict):
    serviceAccountId: str,
    serviceAccountTokens: List[ServiceAccountTokenSummaryTypeDef],  # (1)
    workspaceId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See ServiceAccountTokenSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListWorkspaceServiceAccountsResponseTypeDef#

# ListWorkspaceServiceAccountsResponseTypeDef definition

class ListWorkspaceServiceAccountsResponseTypeDef(TypedDict):
    serviceAccounts: List[ServiceAccountSummaryTypeDef],  # (1)
    workspaceId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See ServiceAccountSummaryTypeDef
  2. See ResponseMetadataTypeDef

PermissionEntryTypeDef#

# PermissionEntryTypeDef definition

class PermissionEntryTypeDef(TypedDict):
    role: RoleType,  # (1)
    user: UserTypeDef,  # (2)
  1. See RoleType
  2. See UserTypeDef

UpdateInstructionOutputTypeDef#

# UpdateInstructionOutputTypeDef definition

class UpdateInstructionOutputTypeDef(TypedDict):
    action: UpdateActionType,  # (1)
    role: RoleType,  # (2)
    users: List[UserTypeDef],  # (3)
  1. See UpdateActionType
  2. See RoleType
  3. See UserTypeDef

UpdateInstructionTypeDef#

# UpdateInstructionTypeDef definition

class UpdateInstructionTypeDef(TypedDict):
    action: UpdateActionType,  # (1)
    role: RoleType,  # (2)
    users: Sequence[UserTypeDef],  # (3)
  1. See UpdateActionType
  2. See RoleType
  3. See UserTypeDef

SamlConfigurationOutputTypeDef#

# SamlConfigurationOutputTypeDef definition

class SamlConfigurationOutputTypeDef(TypedDict):
    idpMetadata: IdpMetadataTypeDef,  # (2)
    allowedOrganizations: NotRequired[List[str]],
    assertionAttributes: NotRequired[AssertionAttributesTypeDef],  # (1)
    loginValidityDuration: NotRequired[int],
    roleValues: NotRequired[RoleValuesOutputTypeDef],  # (3)
  1. See AssertionAttributesTypeDef
  2. See IdpMetadataTypeDef
  3. See RoleValuesOutputTypeDef

WorkspaceDescriptionTypeDef#

# WorkspaceDescriptionTypeDef definition

class WorkspaceDescriptionTypeDef(TypedDict):
    authentication: AuthenticationSummaryTypeDef,  # (2)
    created: datetime,
    dataSources: List[DataSourceTypeType],  # (3)
    endpoint: str,
    grafanaVersion: str,
    id: str,
    modified: datetime,
    status: WorkspaceStatusType,  # (8)
    accountAccessType: NotRequired[AccountAccessTypeType],  # (1)
    description: NotRequired[str],
    freeTrialConsumed: NotRequired[bool],
    freeTrialExpiration: NotRequired[datetime],
    grafanaToken: NotRequired[str],
    licenseExpiration: NotRequired[datetime],
    licenseType: NotRequired[LicenseTypeType],  # (4)
    name: NotRequired[str],
    networkAccessControl: NotRequired[NetworkAccessConfigurationOutputTypeDef],  # (5)
    notificationDestinations: NotRequired[List[NotificationDestinationTypeType]],  # (6)
    organizationRoleName: NotRequired[str],
    organizationalUnits: NotRequired[List[str]],
    permissionType: NotRequired[PermissionTypeType],  # (7)
    stackSetName: NotRequired[str],
    tags: NotRequired[Dict[str, str]],
    vpcConfiguration: NotRequired[VpcConfigurationOutputTypeDef],  # (9)
    workspaceRoleArn: NotRequired[str],
  1. See AccountAccessTypeType
  2. See AuthenticationSummaryTypeDef
  3. See DataSourceTypeType
  4. See LicenseTypeType
  5. See NetworkAccessConfigurationOutputTypeDef
  6. See NotificationDestinationTypeType
  7. See PermissionTypeType
  8. See WorkspaceStatusType
  9. See VpcConfigurationOutputTypeDef

ListWorkspacesResponseTypeDef#

# ListWorkspacesResponseTypeDef definition

class ListWorkspacesResponseTypeDef(TypedDict):
    workspaces: List[WorkspaceSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See WorkspaceSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListPermissionsResponseTypeDef#

# ListPermissionsResponseTypeDef definition

class ListPermissionsResponseTypeDef(TypedDict):
    permissions: List[PermissionEntryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See PermissionEntryTypeDef
  2. See ResponseMetadataTypeDef

UpdateErrorTypeDef#

# UpdateErrorTypeDef definition

class UpdateErrorTypeDef(TypedDict):
    causedBy: UpdateInstructionOutputTypeDef,  # (1)
    code: int,
    message: str,
  1. See UpdateInstructionOutputTypeDef

SamlAuthenticationTypeDef#

# SamlAuthenticationTypeDef definition

class SamlAuthenticationTypeDef(TypedDict):
    status: SamlConfigurationStatusType,  # (2)
    configuration: NotRequired[SamlConfigurationOutputTypeDef],  # (1)
  1. See SamlConfigurationOutputTypeDef
  2. See SamlConfigurationStatusType

SamlConfigurationTypeDef#

# SamlConfigurationTypeDef definition

class SamlConfigurationTypeDef(TypedDict):
    idpMetadata: IdpMetadataTypeDef,  # (2)
    allowedOrganizations: NotRequired[Sequence[str]],
    assertionAttributes: NotRequired[AssertionAttributesTypeDef],  # (1)
    loginValidityDuration: NotRequired[int],
    roleValues: NotRequired[RoleValuesUnionTypeDef],  # (3)
  1. See AssertionAttributesTypeDef
  2. See IdpMetadataTypeDef
  3. See RoleValuesTypeDef RoleValuesOutputTypeDef

AssociateLicenseResponseTypeDef#

# AssociateLicenseResponseTypeDef definition

class AssociateLicenseResponseTypeDef(TypedDict):
    workspace: WorkspaceDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See WorkspaceDescriptionTypeDef
  2. See ResponseMetadataTypeDef

CreateWorkspaceResponseTypeDef#

# CreateWorkspaceResponseTypeDef definition

class CreateWorkspaceResponseTypeDef(TypedDict):
    workspace: WorkspaceDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See WorkspaceDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DeleteWorkspaceResponseTypeDef#

# DeleteWorkspaceResponseTypeDef definition

class DeleteWorkspaceResponseTypeDef(TypedDict):
    workspace: WorkspaceDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See WorkspaceDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DescribeWorkspaceResponseTypeDef#

# DescribeWorkspaceResponseTypeDef definition

class DescribeWorkspaceResponseTypeDef(TypedDict):
    workspace: WorkspaceDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See WorkspaceDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DisassociateLicenseResponseTypeDef#

# DisassociateLicenseResponseTypeDef definition

class DisassociateLicenseResponseTypeDef(TypedDict):
    workspace: WorkspaceDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See WorkspaceDescriptionTypeDef
  2. See ResponseMetadataTypeDef

UpdateWorkspaceResponseTypeDef#

# UpdateWorkspaceResponseTypeDef definition

class UpdateWorkspaceResponseTypeDef(TypedDict):
    workspace: WorkspaceDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See WorkspaceDescriptionTypeDef
  2. See ResponseMetadataTypeDef

UpdatePermissionsResponseTypeDef#

# UpdatePermissionsResponseTypeDef definition

class UpdatePermissionsResponseTypeDef(TypedDict):
    errors: List[UpdateErrorTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UpdateErrorTypeDef
  2. See ResponseMetadataTypeDef

UpdatePermissionsRequestRequestTypeDef#

# UpdatePermissionsRequestRequestTypeDef definition

class UpdatePermissionsRequestRequestTypeDef(TypedDict):
    updateInstructionBatch: Sequence[UpdateInstructionUnionTypeDef],  # (1)
    workspaceId: str,
  1. See UpdateInstructionTypeDef UpdateInstructionOutputTypeDef

AuthenticationDescriptionTypeDef#

# AuthenticationDescriptionTypeDef definition

class AuthenticationDescriptionTypeDef(TypedDict):
    providers: List[AuthenticationProviderTypesType],  # (2)
    awsSso: NotRequired[AwsSsoAuthenticationTypeDef],  # (1)
    saml: NotRequired[SamlAuthenticationTypeDef],  # (3)
  1. See AwsSsoAuthenticationTypeDef
  2. See AuthenticationProviderTypesType
  3. See SamlAuthenticationTypeDef

UpdateWorkspaceAuthenticationRequestRequestTypeDef#

# UpdateWorkspaceAuthenticationRequestRequestTypeDef definition

class UpdateWorkspaceAuthenticationRequestRequestTypeDef(TypedDict):
    authenticationProviders: Sequence[AuthenticationProviderTypesType],  # (1)
    workspaceId: str,
    samlConfiguration: NotRequired[SamlConfigurationTypeDef],  # (2)
  1. See AuthenticationProviderTypesType
  2. See SamlConfigurationTypeDef

DescribeWorkspaceAuthenticationResponseTypeDef#

# DescribeWorkspaceAuthenticationResponseTypeDef definition

class DescribeWorkspaceAuthenticationResponseTypeDef(TypedDict):
    authentication: AuthenticationDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AuthenticationDescriptionTypeDef
  2. See ResponseMetadataTypeDef

UpdateWorkspaceAuthenticationResponseTypeDef#

# UpdateWorkspaceAuthenticationResponseTypeDef definition

class UpdateWorkspaceAuthenticationResponseTypeDef(TypedDict):
    authentication: AuthenticationDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AuthenticationDescriptionTypeDef
  2. See ResponseMetadataTypeDef