Skip to content

Type definitions#

Index > CodeBuild > Type definitions

Auto-generated documentation for CodeBuild type annotations stubs module mypy-boto3-codebuild.

BatchDeleteBuildsInputRequestTypeDef#

# BatchDeleteBuildsInputRequestTypeDef definition

class BatchDeleteBuildsInputRequestTypeDef(TypedDict):
    ids: Sequence[str],

BuildNotDeletedTypeDef#

# BuildNotDeletedTypeDef definition

class BuildNotDeletedTypeDef(TypedDict):
    id: NotRequired[str],
    statusCode: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

BatchGetBuildBatchesInputRequestTypeDef#

# BatchGetBuildBatchesInputRequestTypeDef definition

class BatchGetBuildBatchesInputRequestTypeDef(TypedDict):
    ids: Sequence[str],

BatchGetBuildsInputRequestTypeDef#

# BatchGetBuildsInputRequestTypeDef definition

class BatchGetBuildsInputRequestTypeDef(TypedDict):
    ids: Sequence[str],

BatchGetFleetsInputRequestTypeDef#

# BatchGetFleetsInputRequestTypeDef definition

class BatchGetFleetsInputRequestTypeDef(TypedDict):
    names: Sequence[str],

BatchGetProjectsInputRequestTypeDef#

# BatchGetProjectsInputRequestTypeDef definition

class BatchGetProjectsInputRequestTypeDef(TypedDict):
    names: Sequence[str],

BatchGetReportGroupsInputRequestTypeDef#

# BatchGetReportGroupsInputRequestTypeDef definition

class BatchGetReportGroupsInputRequestTypeDef(TypedDict):
    reportGroupArns: Sequence[str],

BatchGetReportsInputRequestTypeDef#

# BatchGetReportsInputRequestTypeDef definition

class BatchGetReportsInputRequestTypeDef(TypedDict):
    reportArns: Sequence[str],

BatchRestrictionsTypeDef#

# BatchRestrictionsTypeDef definition

class BatchRestrictionsTypeDef(TypedDict):
    maximumBuildsAllowed: NotRequired[int],
    computeTypesAllowed: NotRequired[List[str]],

BuildArtifactsTypeDef#

# BuildArtifactsTypeDef definition

class BuildArtifactsTypeDef(TypedDict):
    location: NotRequired[str],
    sha256sum: NotRequired[str],
    md5sum: NotRequired[str],
    overrideArtifactName: NotRequired[bool],
    encryptionDisabled: NotRequired[bool],
    artifactIdentifier: NotRequired[str],
    bucketOwnerAccess: NotRequired[BucketOwnerAccessType],  # (1)
  1. See BucketOwnerAccessType

BuildBatchFilterTypeDef#

# BuildBatchFilterTypeDef definition

class BuildBatchFilterTypeDef(TypedDict):
    status: NotRequired[StatusTypeType],  # (1)
  1. See StatusTypeType

PhaseContextTypeDef#

# PhaseContextTypeDef definition

class PhaseContextTypeDef(TypedDict):
    statusCode: NotRequired[str],
    message: NotRequired[str],

ProjectCacheTypeDef#

# ProjectCacheTypeDef definition

class ProjectCacheTypeDef(TypedDict):
    type: CacheTypeType,  # (1)
    location: NotRequired[str],
    modes: NotRequired[List[CacheModeType]],  # (2)
  1. See CacheTypeType
  2. See CacheModeType

ProjectFileSystemLocationTypeDef#

# ProjectFileSystemLocationTypeDef definition

class ProjectFileSystemLocationTypeDef(TypedDict):
    type: NotRequired[FileSystemTypeType],  # (1)
    location: NotRequired[str],
    mountPoint: NotRequired[str],
    identifier: NotRequired[str],
    mountOptions: NotRequired[str],
  1. See FileSystemTypeType

ProjectSourceVersionTypeDef#

# ProjectSourceVersionTypeDef definition

class ProjectSourceVersionTypeDef(TypedDict):
    sourceIdentifier: str,
    sourceVersion: str,

VpcConfigTypeDef#

# VpcConfigTypeDef definition

class VpcConfigTypeDef(TypedDict):
    vpcId: NotRequired[str],
    subnets: NotRequired[List[str]],
    securityGroupIds: NotRequired[List[str]],

BuildStatusConfigTypeDef#

# BuildStatusConfigTypeDef definition

class BuildStatusConfigTypeDef(TypedDict):
    context: NotRequired[str],
    targetUrl: NotRequired[str],

ResolvedArtifactTypeDef#

# ResolvedArtifactTypeDef definition

class ResolvedArtifactTypeDef(TypedDict):
    type: NotRequired[ArtifactsTypeType],  # (1)
    location: NotRequired[str],
    identifier: NotRequired[str],
  1. See ArtifactsTypeType

DebugSessionTypeDef#

# DebugSessionTypeDef definition

class DebugSessionTypeDef(TypedDict):
    sessionEnabled: NotRequired[bool],
    sessionTarget: NotRequired[str],

ExportedEnvironmentVariableTypeDef#

# ExportedEnvironmentVariableTypeDef definition

class ExportedEnvironmentVariableTypeDef(TypedDict):
    name: NotRequired[str],
    value: NotRequired[str],

NetworkInterfaceTypeDef#

# NetworkInterfaceTypeDef definition

class NetworkInterfaceTypeDef(TypedDict):
    subnetId: NotRequired[str],
    networkInterfaceId: NotRequired[str],

CloudWatchLogsConfigTypeDef#

# CloudWatchLogsConfigTypeDef definition

class CloudWatchLogsConfigTypeDef(TypedDict):
    status: LogsConfigStatusTypeType,  # (1)
    groupName: NotRequired[str],
    streamName: NotRequired[str],
  1. See LogsConfigStatusTypeType

CodeCoverageReportSummaryTypeDef#

# CodeCoverageReportSummaryTypeDef definition

class CodeCoverageReportSummaryTypeDef(TypedDict):
    lineCoveragePercentage: NotRequired[float],
    linesCovered: NotRequired[int],
    linesMissed: NotRequired[int],
    branchCoveragePercentage: NotRequired[float],
    branchesCovered: NotRequired[int],
    branchesMissed: NotRequired[int],

CodeCoverageTypeDef#

# CodeCoverageTypeDef definition

class CodeCoverageTypeDef(TypedDict):
    id: NotRequired[str],
    reportARN: NotRequired[str],
    filePath: NotRequired[str],
    lineCoveragePercentage: NotRequired[float],
    linesCovered: NotRequired[int],
    linesMissed: NotRequired[int],
    branchCoveragePercentage: NotRequired[float],
    branchesCovered: NotRequired[int],
    branchesMissed: NotRequired[int],
    expired: NotRequired[datetime],

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    key: NotRequired[str],
    value: NotRequired[str],

ProjectArtifactsTypeDef#

# ProjectArtifactsTypeDef definition

class ProjectArtifactsTypeDef(TypedDict):
    type: ArtifactsTypeType,  # (1)
    location: NotRequired[str],
    path: NotRequired[str],
    namespaceType: NotRequired[ArtifactNamespaceType],  # (2)
    name: NotRequired[str],
    packaging: NotRequired[ArtifactPackagingType],  # (3)
    overrideArtifactName: NotRequired[bool],
    encryptionDisabled: NotRequired[bool],
    artifactIdentifier: NotRequired[str],
    bucketOwnerAccess: NotRequired[BucketOwnerAccessType],  # (4)
  1. See ArtifactsTypeType
  2. See ArtifactNamespaceType
  3. See ArtifactPackagingType
  4. See BucketOwnerAccessType

WebhookFilterTypeDef#

# WebhookFilterTypeDef definition

class WebhookFilterTypeDef(TypedDict):
    type: WebhookFilterTypeType,  # (1)
    pattern: str,
    excludeMatchedPattern: NotRequired[bool],
  1. See WebhookFilterTypeType

DeleteBuildBatchInputRequestTypeDef#

# DeleteBuildBatchInputRequestTypeDef definition

class DeleteBuildBatchInputRequestTypeDef(TypedDict):
    id: str,

DeleteFleetInputRequestTypeDef#

# DeleteFleetInputRequestTypeDef definition

class DeleteFleetInputRequestTypeDef(TypedDict):
    arn: str,

DeleteProjectInputRequestTypeDef#

# DeleteProjectInputRequestTypeDef definition

class DeleteProjectInputRequestTypeDef(TypedDict):
    name: str,

DeleteReportGroupInputRequestTypeDef#

# DeleteReportGroupInputRequestTypeDef definition

class DeleteReportGroupInputRequestTypeDef(TypedDict):
    arn: str,
    deleteReports: NotRequired[bool],

DeleteReportInputRequestTypeDef#

# DeleteReportInputRequestTypeDef definition

class DeleteReportInputRequestTypeDef(TypedDict):
    arn: str,

DeleteResourcePolicyInputRequestTypeDef#

# DeleteResourcePolicyInputRequestTypeDef definition

class DeleteResourcePolicyInputRequestTypeDef(TypedDict):
    resourceArn: str,

DeleteSourceCredentialsInputRequestTypeDef#

# DeleteSourceCredentialsInputRequestTypeDef definition

class DeleteSourceCredentialsInputRequestTypeDef(TypedDict):
    arn: str,

DeleteWebhookInputRequestTypeDef#

# DeleteWebhookInputRequestTypeDef definition

class DeleteWebhookInputRequestTypeDef(TypedDict):
    projectName: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

DescribeCodeCoveragesInputRequestTypeDef#

# DescribeCodeCoveragesInputRequestTypeDef definition

class DescribeCodeCoveragesInputRequestTypeDef(TypedDict):
    reportArn: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    sortOrder: NotRequired[SortOrderTypeType],  # (1)
    sortBy: NotRequired[ReportCodeCoverageSortByTypeType],  # (2)
    minLineCoveragePercentage: NotRequired[float],
    maxLineCoveragePercentage: NotRequired[float],
  1. See