Skip to content

Type definitions#

Index > CodeCatalyst > Type definitions

Auto-generated documentation for CodeCatalyst type annotations stubs module mypy-boto3-codecatalyst.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

AccessTokenSummaryTypeDef#

# AccessTokenSummaryTypeDef definition

class AccessTokenSummaryTypeDef(TypedDict):
    id: str,
    name: str,
    expiresTime: NotRequired[datetime],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

IdeConfigurationTypeDef#

# IdeConfigurationTypeDef definition

class IdeConfigurationTypeDef(TypedDict):
    runtime: NotRequired[str],
    name: NotRequired[str],

PersistentStorageConfigurationTypeDef#

# PersistentStorageConfigurationTypeDef definition

class PersistentStorageConfigurationTypeDef(TypedDict):
    sizeInGiB: int,

RepositoryInputTypeDef#

# RepositoryInputTypeDef definition

class RepositoryInputTypeDef(TypedDict):
    repositoryName: str,
    branchName: NotRequired[str],

CreateProjectRequestRequestTypeDef#

# CreateProjectRequestRequestTypeDef definition

class CreateProjectRequestRequestTypeDef(TypedDict):
    spaceName: str,
    displayName: str,
    description: NotRequired[str],

CreateSourceRepositoryBranchRequestRequestTypeDef#

# CreateSourceRepositoryBranchRequestRequestTypeDef definition

class CreateSourceRepositoryBranchRequestRequestTypeDef(TypedDict):
    spaceName: str,
    projectName: str,
    sourceRepositoryName: str,
    name: str,
    headCommitId: NotRequired[str],

CreateSourceRepositoryRequestRequestTypeDef#

# CreateSourceRepositoryRequestRequestTypeDef definition

class CreateSourceRepositoryRequestRequestTypeDef(TypedDict):
    spaceName: str,
    projectName: str,
    name: str,
    description: NotRequired[str],

DeleteAccessTokenRequestRequestTypeDef#

# DeleteAccessTokenRequestRequestTypeDef definition

class DeleteAccessTokenRequestRequestTypeDef(TypedDict):
    id: str,

DeleteDevEnvironmentRequestRequestTypeDef#

# DeleteDevEnvironmentRequestRequestTypeDef definition

class DeleteDevEnvironmentRequestRequestTypeDef(TypedDict):
    spaceName: str,
    projectName: str,
    id: str,

DeleteProjectRequestRequestTypeDef#

# DeleteProjectRequestRequestTypeDef definition

class DeleteProjectRequestRequestTypeDef(TypedDict):
    spaceName: str,
    name: str,

DeleteSourceRepositoryRequestRequestTypeDef#

# DeleteSourceRepositoryRequestRequestTypeDef definition

class DeleteSourceRepositoryRequestRequestTypeDef(TypedDict):
    spaceName: str,
    projectName: str,
    name: str,

DeleteSpaceRequestRequestTypeDef#

# DeleteSpaceRequestRequestTypeDef definition

class DeleteSpaceRequestRequestTypeDef(TypedDict):
    name: str,

DevEnvironmentAccessDetailsTypeDef#

# DevEnvironmentAccessDetailsTypeDef definition

class DevEnvironmentAccessDetailsTypeDef(TypedDict):
    streamUrl: str,
    tokenValue: str,

DevEnvironmentRepositorySummaryTypeDef#

# DevEnvironmentRepositorySummaryTypeDef definition

class DevEnvironmentRepositorySummaryTypeDef(TypedDict):
    repositoryName: str,
    branchName: NotRequired[str],

ExecuteCommandSessionConfigurationTypeDef#

# ExecuteCommandSessionConfigurationTypeDef definition

class ExecuteCommandSessionConfigurationTypeDef(TypedDict):
    command: str,
    arguments: NotRequired[Sequence[str]],

DevEnvironmentSessionSummaryTypeDef#

# DevEnvironmentSessionSummaryTypeDef definition

class DevEnvironmentSessionSummaryTypeDef(TypedDict):
    spaceName: str,
    projectName: str,
    devEnvironmentId: str,
    startedTime: datetime,
    id: str,

IdeTypeDef#

# IdeTypeDef definition

class IdeTypeDef(TypedDict):
    runtime: NotRequired[str],
    name: NotRequired[str],

PersistentStorageTypeDef#

# PersistentStorageTypeDef definition

class PersistentStorageTypeDef(TypedDict):
    sizeInGiB: int,

EmailAddressTypeDef#

# EmailAddressTypeDef definition

class EmailAddressTypeDef(TypedDict):
    email: NotRequired[str],
    verified: NotRequired[bool],

EventPayloadTypeDef#

# EventPayloadTypeDef definition

class EventPayloadTypeDef(TypedDict):
    contentType: NotRequired[str],
    data: NotRequired[str],

ProjectInformationTypeDef#

# ProjectInformationTypeDef definition

class ProjectInformationTypeDef(TypedDict):
    name: NotRequired[str],
    projectId: NotRequired[str],

UserIdentityTypeDef#

# UserIdentityTypeDef definition

class UserIdentityTypeDef(TypedDict):
    userType: UserTypeType,  # (1)
    principalId: str,
    userName: NotRequired[str],
    awsAccountId: NotRequired[str],
  1. See UserTypeType

FilterTypeDef#

# FilterTypeDef definition

class FilterTypeDef(TypedDict):
    key: str,
    values: Sequence[str],
    comparisonOperator: NotRequired[str],

GetDevEnvironmentRequestRequestTypeDef#

# GetDevEnvironmentRequestRequestTypeDef definition

class GetDevEnvironmentRequestRequestTypeDef(TypedDict):
    spaceName: str,
    projectName: str,
    id: str,

GetProjectRequestRequestTypeDef#

# GetProjectRequestRequestTypeDef definition

class GetProjectRequestRequestTypeDef(TypedDict):
    spaceName: str,
    name: str,

GetSourceRepositoryCloneUrlsRequestRequestTypeDef#

# GetSourceRepositoryCloneUrlsRequestRequestTypeDef definition

class GetSourceRepositoryCloneUrlsRequestRequestTypeDef(TypedDict):
    spaceName: str,
    projectName: str,
    sourceRepositoryName: str,

GetSourceRepositoryRequestRequestTypeDef#

# GetSourceRepositoryRequestRequestTypeDef definition

class GetSourceRepositoryRequestRequestTypeDef(TypedDict):
    spaceName: str,
    projectName: str,
    name: str,

GetSpaceRequestRequestTypeDef#

# GetSpaceRequestRequestTypeDef definition

class GetSpaceRequestRequestTypeDef(TypedDict):
    name: str,

GetSubscriptionRequestRequestTypeDef#

# GetSubscriptionRequestRequestTypeDef definition

class GetSubscriptionRequestRequestTypeDef(TypedDict):
    spaceName: str,

GetUserDetailsRequestRequestTypeDef#

# GetUserDetailsRequestRequestTypeDef definition

class GetUserDetailsRequestRequestTypeDef(TypedDict):
    id: NotRequired[str],
    userName: NotRequired[str],

GetWorkflowRequestRequestTypeDef#

# GetWorkflowRequestRequestTypeDef definition

class GetWorkflowRequestRequestTypeDef(TypedDict):
    spaceName: str,
    id: str,
    projectName: str,

WorkflowDefinitionTypeDef#

# WorkflowDefinitionTypeDef definition

class WorkflowDefinitionTypeDef(TypedDict):
    path: str,

GetWorkflowRunRequestRequestTypeDef#

# GetWorkflowRunRequestRequestTypeDef definition

class GetWorkflowRunRequestRequestTypeDef(TypedDict):
    spaceName: str,
    id: str,
    projectName: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

ListAccessTokensRequestRequestTypeDef#

# ListAccessTokensRequestRequestTypeDef definition

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

ListDevEnvironmentSessionsRequestRequestTypeDef#

# ListDevEnvironmentSessionsRequestRequestTypeDef definition

class ListDevEnvironmentSessionsRequestRequestTypeDef(TypedDict):
    spaceName: str,
    projectName: str,
    devEnvironmentId: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ProjectListFilterTypeDef#

# ProjectListFilterTypeDef definition

class ProjectListFilterTypeDef(TypedDict):
    key: FilterKeyType,  # (1)
    values: Sequence[str],
    comparisonOperator: NotRequired[ComparisonOperatorType],  # (2)
  1. See FilterKeyType
  2. See ComparisonOperatorType

ProjectSummaryTypeDef#

# ProjectSummaryTypeDef definition

class ProjectSummaryTypeDef(TypedDict):
    name: str,
    displayName: NotRequired[str],
    description: NotRequired[str],

ListSourceRepositoriesItemTypeDef#

# ListSourceRepositoriesItemTypeDef definition

class ListSourceRepositoriesItemTypeDef(TypedDict):
    id: str,
    name: str,
    lastUpdatedTime: datetime,
    createdTime: datetime,
    description: NotRequired[str],

ListSourceRepositoriesRequestRequestTypeDef#

# ListSourceRepositoriesRequestRequestTypeDef definition

class ListSourceRepositoriesRequestRequestTypeDef(TypedDict):
    spaceName: str,
    projectName: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ListSourceRepositoryBranchesItemTypeDef#

# ListSourceRepositoryBranchesItemTypeDef definition

class ListSourceRepositoryBranchesItemTypeDef(TypedDict):
    ref: NotRequired[str],
    name: NotRequired[str],
    lastUpdatedTime: NotRequired[datetime],
    headCommitId: NotRequired[str],

ListSourceRepositoryBranchesRequestRequestTypeDef#

# ListSourceRepositoryBranchesRequestRequestTypeDef definition

class ListSourceRepositoryBranchesRequestRequestTypeDef(TypedDict):