Type definitions#
Index > CodeCommit > Type definitions
Auto-generated documentation for CodeCommit type annotations stubs module mypy-boto3-codecommit.
BlobTypeDef#
# BlobTypeDef definition
BlobTypeDef = Union[
str,
bytes,
IO[Any],
StreamingBody,
]
RepositoryTriggerUnionTypeDef#
# RepositoryTriggerUnionTypeDef definition
RepositoryTriggerUnionTypeDef = Union[
RepositoryTriggerTypeDef, # (1)
RepositoryTriggerOutputTypeDef, # (2)
]
ApprovalRuleEventMetadataTypeDef#
# ApprovalRuleEventMetadataTypeDef definition
class ApprovalRuleEventMetadataTypeDef(TypedDict):
approvalRuleName: NotRequired[str],
approvalRuleId: NotRequired[str],
approvalRuleContent: NotRequired[str],
ApprovalRuleOverriddenEventMetadataTypeDef#
# ApprovalRuleOverriddenEventMetadataTypeDef definition
class ApprovalRuleOverriddenEventMetadataTypeDef(TypedDict):
revisionId: NotRequired[str],
overrideStatus: NotRequired[OverrideStatusType], # (1)
ApprovalRuleTemplateTypeDef#
# ApprovalRuleTemplateTypeDef definition
class ApprovalRuleTemplateTypeDef(TypedDict):
approvalRuleTemplateId: NotRequired[str],
approvalRuleTemplateName: NotRequired[str],
approvalRuleTemplateDescription: NotRequired[str],
approvalRuleTemplateContent: NotRequired[str],
ruleContentSha256: NotRequired[str],
lastModifiedDate: NotRequired[datetime],
creationDate: NotRequired[datetime],
lastModifiedUser: NotRequired[str],
OriginApprovalRuleTemplateTypeDef#
# OriginApprovalRuleTemplateTypeDef definition
class OriginApprovalRuleTemplateTypeDef(TypedDict):
approvalRuleTemplateId: NotRequired[str],
approvalRuleTemplateName: NotRequired[str],
ApprovalStateChangedEventMetadataTypeDef#
# ApprovalStateChangedEventMetadataTypeDef definition
class ApprovalStateChangedEventMetadataTypeDef(TypedDict):
revisionId: NotRequired[str],
approvalStatus: NotRequired[ApprovalStateType], # (1)
ApprovalTypeDef#
# ApprovalTypeDef definition
class ApprovalTypeDef(TypedDict):
userArn: NotRequired[str],
approvalState: NotRequired[ApprovalStateType], # (1)
AssociateApprovalRuleTemplateWithRepositoryInputRequestTypeDef#
# AssociateApprovalRuleTemplateWithRepositoryInputRequestTypeDef definition
class AssociateApprovalRuleTemplateWithRepositoryInputRequestTypeDef(TypedDict):
approvalRuleTemplateName: str,
repositoryName: str,
BatchAssociateApprovalRuleTemplateWithRepositoriesErrorTypeDef#
# BatchAssociateApprovalRuleTemplateWithRepositoriesErrorTypeDef definition
class BatchAssociateApprovalRuleTemplateWithRepositoriesErrorTypeDef(TypedDict):
repositoryName: NotRequired[str],
errorCode: NotRequired[str],
errorMessage: NotRequired[str],
BatchAssociateApprovalRuleTemplateWithRepositoriesInputRequestTypeDef#
# BatchAssociateApprovalRuleTemplateWithRepositoriesInputRequestTypeDef definition
class BatchAssociateApprovalRuleTemplateWithRepositoriesInputRequestTypeDef(TypedDict):
approvalRuleTemplateName: str,
repositoryNames: Sequence[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
BatchDescribeMergeConflictsErrorTypeDef#
# BatchDescribeMergeConflictsErrorTypeDef definition
class BatchDescribeMergeConflictsErrorTypeDef(TypedDict):
filePath: str,
exceptionName: str,
message: str,
BatchDescribeMergeConflictsInputRequestTypeDef#
# BatchDescribeMergeConflictsInputRequestTypeDef definition
class BatchDescribeMergeConflictsInputRequestTypeDef(TypedDict):
repositoryName: str,
destinationCommitSpecifier: str,
sourceCommitSpecifier: str,
mergeOption: MergeOptionTypeEnumType, # (1)
maxMergeHunks: NotRequired[int],
maxConflictFiles: NotRequired[int],
filePaths: NotRequired[Sequence[str]],
conflictDetailLevel: NotRequired[ConflictDetailLevelTypeEnumType], # (2)
conflictResolutionStrategy: NotRequired[ConflictResolutionStrategyTypeEnumType], # (3)
nextToken: NotRequired[str],
- See MergeOptionTypeEnumType
- See ConflictDetailLevelTypeEnumType
- See ConflictResolutionStrategyTypeEnumType
BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorTypeDef#
# BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorTypeDef definition
class BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorTypeDef(TypedDict):
repositoryName: NotRequired[str],
errorCode: NotRequired[str],
errorMessage: NotRequired[str],
BatchDisassociateApprovalRuleTemplateFromRepositoriesInputRequestTypeDef#
# BatchDisassociateApprovalRuleTemplateFromRepositoriesInputRequestTypeDef definition
class BatchDisassociateApprovalRuleTemplateFromRepositoriesInputRequestTypeDef(TypedDict):
approvalRuleTemplateName: str,
repositoryNames: Sequence[str],
BatchGetCommitsErrorTypeDef#
# BatchGetCommitsErrorTypeDef definition
class BatchGetCommitsErrorTypeDef(TypedDict):
commitId: NotRequired[str],
errorCode: NotRequired[str],
errorMessage: NotRequired[str],
BatchGetCommitsInputRequestTypeDef#
# BatchGetCommitsInputRequestTypeDef definition
class BatchGetCommitsInputRequestTypeDef(TypedDict):
commitIds: Sequence[str],
repositoryName: str,
BatchGetRepositoriesErrorTypeDef#
# BatchGetRepositoriesErrorTypeDef definition
class BatchGetRepositoriesErrorTypeDef(TypedDict):
repositoryId: NotRequired[str],
repositoryName: NotRequired[str],
errorCode: NotRequired[BatchGetRepositoriesErrorCodeEnumType], # (1)
errorMessage: NotRequired[str],
BatchGetRepositoriesInputRequestTypeDef#
# BatchGetRepositoriesInputRequestTypeDef definition
class BatchGetRepositoriesInputRequestTypeDef(TypedDict):
repositoryNames: Sequence[str],
RepositoryMetadataTypeDef#
# RepositoryMetadataTypeDef definition
class RepositoryMetadataTypeDef(TypedDict):
accountId: NotRequired[str],
repositoryId: NotRequired[str],
repositoryName: NotRequired[str],
repositoryDescription: NotRequired[str],
defaultBranch: NotRequired[str],
lastModifiedDate: NotRequired[datetime],
creationDate: NotRequired[datetime],
cloneUrlHttp: NotRequired[str],
cloneUrlSsh: NotRequired[str],
Arn: NotRequired[str],
kmsKeyId: NotRequired[str],
BlobMetadataTypeDef#
# BlobMetadataTypeDef definition
class BlobMetadataTypeDef(TypedDict):
blobId: NotRequired[str],
path: NotRequired[str],
mode: NotRequired[str],
BranchInfoTypeDef#
# BranchInfoTypeDef definition
class BranchInfoTypeDef(TypedDict):
branchName: NotRequired[str],
commitId: NotRequired[str],
CommentTypeDef#
# CommentTypeDef definition
class CommentTypeDef(TypedDict):
commentId: NotRequired[str],
content: NotRequired[str],
inReplyTo: NotRequired[str],
creationDate: NotRequired[datetime],
lastModifiedDate: NotRequired[datetime],
authorArn: NotRequired[str],
deleted: NotRequired[bool],
clientRequestToken: NotRequired[str],
callerReactions: NotRequired[List[str]],
reactionCounts: NotRequired[Dict[str, int]],
LocationTypeDef#
# LocationTypeDef definition
class LocationTypeDef(TypedDict):
filePath: NotRequired[str],
filePosition: NotRequired[int],
relativeFileVersion: NotRequired[RelativeFileVersionEnumType], # (1)
UserInfoTypeDef#
# UserInfoTypeDef definition
class UserInfoTypeDef(TypedDict):
name: NotRequired[str],
email: NotRequired[str],
date: NotRequired[str],
FileModesTypeDef#
# FileModesTypeDef definition
class FileModesTypeDef(TypedDict):
source: NotRequired[FileModeTypeEnumType], # (1)
destination: NotRequired[FileModeTypeEnumType], # (1)
base: NotRequired[FileModeTypeEnumType], # (1)
FileSizesTypeDef#
# FileSizesTypeDef definition
class FileSizesTypeDef(TypedDict):
source: NotRequired[int],
destination: NotRequired[int],
base: NotRequired[int],
IsBinaryFileTypeDef#
# IsBinaryFileTypeDef definition
class IsBinaryFileTypeDef(TypedDict):
source: NotRequired[bool],
destination: NotRequired[bool],
base: NotRequired[bool],
MergeOperationsTypeDef#
# MergeOperationsTypeDef definition
class MergeOperationsTypeDef(TypedDict):
source: NotRequired[ChangeTypeEnumType], # (1)
destination: NotRequired[ChangeTypeEnumType], # (1)
- See ChangeTypeEnumType
- See ChangeTypeEnumType
ObjectTypesTypeDef#
# ObjectTypesTypeDef definition
class ObjectTypesTypeDef(TypedDict):
source: NotRequired[ObjectTypeEnumType], # (1)
destination: NotRequired[ObjectTypeEnumType], # (1)
base: NotRequired[ObjectTypeEnumType], # (1)
- See ObjectTypeEnumType
- See ObjectTypeEnumType
- See ObjectTypeEnumType
DeleteFileEntryTypeDef#
# DeleteFileEntryTypeDef definition
class DeleteFileEntryTypeDef(TypedDict):
filePath: str,
SetFileModeEntryTypeDef#
# SetFileModeEntryTypeDef definition
class SetFileModeEntryTypeDef(TypedDict):
filePath: str,
fileMode: FileModeTypeEnumType, # (1)
CreateApprovalRuleTemplateInputRequestTypeDef#
# CreateApprovalRuleTemplateInputRequestTypeDef definition
class CreateApprovalRuleTemplateInputRequestTypeDef(TypedDict):
approvalRuleTemplateName: str,
approvalRuleTemplateContent: str,
approvalRuleTemplateDescription: NotRequired[str],
CreateBranchInputRequestTypeDef#
# CreateBranchInputRequestTypeDef definition
class CreateBranchInputRequestTypeDef(TypedDict):
repositoryName: str,
branchName: str,
commitId: str,
FileMetadataTypeDef#
# FileMetadataTypeDef definition
class FileMetadataTypeDef(TypedDict):
absolutePath: NotRequired[str],
blobId: NotRequired[str],
fileMode: NotRequired[FileModeTypeEnumType], # (1)
CreatePullRequestApprovalRuleInputRequestTypeDef#
# CreatePullRequestApprovalRuleInputRequestTypeDef definition
class CreatePullRequestApprovalRuleInputRequestTypeDef(TypedDict):
pullRequestId: str,
approvalRuleName: str,
approvalRuleContent: str,
TargetTypeDef#
# TargetTypeDef definition
class TargetTypeDef(TypedDict):
repositoryName: str,
sourceReference: str,
destinationReference: NotRequired[str],
CreateRepositoryInputRequestTypeDef#
# CreateRepositoryInputRequestTypeDef definition
class CreateRepositoryInputRequestTypeDef(TypedDict):
repositoryName: str,
repositoryDescription: NotRequired[str],
tags: NotRequired[Mapping[str, str]],
kmsKeyId: NotRequired[str],
DeleteApprovalRuleTemplateInputRequestTypeDef#
# DeleteApprovalRuleTemplateInputRequestTypeDef definition
class DeleteApprovalRuleTemplateInputRequestTypeDef(TypedDict):
approvalRuleTemplateName: str,
DeleteBranchInputRequestTypeDef#
# DeleteBranchInputRequestTypeDef definition
class DeleteBranchInputRequestTypeDef(TypedDict):
repositoryName: str,
branchName: str,
DeleteCommentContentInputRequestTypeDef#
# DeleteCommentContentInputRequestTypeDef definition
class DeleteCommentContentInputRequestTypeDef(TypedDict):
commentId: str,
DeleteFileInputRequestTypeDef#
# DeleteFileInputRequestTypeDef definition
class DeleteFileInputRequestTypeDef(TypedDict):
repositoryName: str,
branchName: str,
filePath: str,
parentCommitId: str,
keepEmptyFolders: NotRequired[bool],
commitMessage: NotRequired[str],
name: NotRequired[str],
email: NotRequired[str],
DeletePullRequestApprovalRuleInputRequestTypeDef#
# DeletePullRequestApprovalRuleInputRequestTypeDef definition
class DeletePullRequestApprovalRuleInputRequestTypeDef(TypedDict):
pullRequestId: str,
approvalRuleName: str,
DeleteRepositoryInputRequestTypeDef#
# DeleteRepositoryInputRequestTypeDef definition
class DeleteRepositoryInputRequestTypeDef(TypedDict):
repositoryName: str,
DescribeMergeConflictsInputRequestTypeDef#
# DescribeMergeConflictsInputRequestTypeDef definition
class DescribeMergeConflictsInputRequestTypeDef(TypedDict):
repositoryName: str,
destinationCommitSpecifier: str,
sourceCommitSpecifier: str,
mergeOption: MergeOptionTypeEnumType, # (1)
filePath: str,
maxMergeHunks: NotRequired[int],
conflictDetailLevel: NotRequired[ConflictDetailLevelTypeEnumType], # (2)
conflictResolutionStrategy: NotRequired[ConflictResolutionStrategyTypeEnumType], # (3)
nextToken: NotRequired[str],
- See MergeOptionTypeEnumType
- See ConflictDetailLevelTypeEnumType
- See ConflictResolutionStrategyTypeEnumType
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
DescribePullRequestEventsInputRequestTypeDef#
# DescribePullRequestEventsInputRequestTypeDef definition
class DescribePullRequestEventsInputRequestTypeDef(TypedDict):
pullRequestId: str,
pullRequestEventType: NotRequired[PullRequestEventTypeType], # (1)
actorArn: NotRequired[str],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
DisassociateApprovalRuleTemplateFromRepositoryInputRequestTypeDef#
# DisassociateApprovalRuleTemplateFromRepositoryInputRequestTypeDef definition
class DisassociateApprovalRuleTemplateFromRepositoryInputRequestTypeDef(TypedDict):
approvalRuleTemplateName: str,
repositoryName: str,
EvaluatePullRequestApprovalRulesInputRequestTypeDef#
# EvaluatePullRequestApprovalRulesInputRequestTypeDef definition
class EvaluatePullRequestApprovalRulesInputRequestTypeDef(TypedDict):
pullRequestId: str,
revisionId: str,
EvaluationTypeDef#
# EvaluationTypeDef definition
class EvaluationTypeDef(TypedDict):
approved: NotRequired[bool],
overridden: NotRequired[bool],
approvalRulesSatisfied: NotRequired[List[str]],
approvalRulesNotSatisfied: NotRequired[List[str]],
FileTypeDef#
# FileTypeDef definition
class FileTypeDef(TypedDict):
blobId: NotRequired[str],
absolutePath: NotRequired[str],
relativePath: NotRequired[str],
fileMode: NotRequired[FileModeTypeEnumType], # (1)
FolderTypeDef#
# FolderTypeDef definition
class FolderTypeDef(TypedDict):
treeId: NotRequired[str],
absolutePath: NotRequired[str],
relativePath: NotRequired[str],
GetApprovalRuleTemplateInputRequestTypeDef#
# GetApprovalRuleTemplateInputRequestTypeDef definition
class GetApprovalRuleTemplateInputRequestTypeDef(TypedDict):
approvalRuleTemplateName: str,
GetBlobInputRequestTypeDef#
# GetBlobInputRequestTypeDef definition
class GetBlobInputRequestTypeDef(TypedDict):
repositoryName: str,
blobId: str,
GetBranchInputRequestTypeDef#
# GetBranchInputRequestTypeDef definition
class GetBranchInputRequestTypeDef(TypedDict):
repositoryName: NotRequired[str],
branchName: NotRequired[str],
GetCommentInputRequestTypeDef#
# GetCommentInputRequestTypeDef definition
class GetCommentInputRequestTypeDef(TypedDict):
commentId: str,
GetCommentReactionsInputRequestTypeDef#
# GetCommentReactionsInputRequestTypeDef definition
class GetCommentReactionsInputRequestTypeDef(TypedDict):
commentId: str,
reactionUserArn: NotRequired[str],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
GetCommentsForComparedCommitInputRequestTypeDef#
# GetCommentsForComparedCommitInputRequestTypeDef definition
class GetCommentsForComparedCommitInputRequestTypeDef(TypedDict):
repositoryName: str,
afterCommitId: str,
beforeCommitId: NotRequired[str],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
GetCommentsForPullRequestInputRequestTypeDef#
# GetCommentsForPullRequestInputRequestTypeDef definition
class GetCommentsForPullRequestInputRequestTypeDef(TypedDict):
pullRequestId: str,
repositoryName: NotRequired[str],
beforeCommitId: NotRequired[str],
afterCommitId: NotRequired[str],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
GetCommitInputRequestTypeDef#
# GetCommitInputRequestTypeDef definition
class GetCommitInputRequestTypeDef(TypedDict):
repositoryName: str,
commitId: str,
GetDifferencesInputRequestTypeDef#
# GetDifferencesInputRequestTypeDef definition
class GetDifferencesInputRequestTypeDef(TypedDict):
repositoryName: str,
afterCommitSpecifier: str,
beforeCommitSpecifier: NotRequired[str],
beforePath: NotRequired[str],
afterPath: NotRequired[str],
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
GetFileInputRequestTypeDef#
# GetFileInputRequestTypeDef definition
class GetFileInputRequestTypeDef(TypedDict):
repositoryName: str,
filePath: str,
commitSpecifier: NotRequired[str],
GetFolderInputRequestTypeDef#
# GetFolderInputRequestTypeDef definition
class GetFolderInputRequestTypeDef(TypedDict):
repositoryName: str,
folderPath: str,
commitSpecifier: NotRequired[str],
SubModuleTypeDef#
# SubModuleTypeDef definition
class SubModuleTypeDef(TypedDict):
commitId: NotRequired[str],
absolutePath: NotRequired[str],
relativePath: NotRequired[str],
SymbolicLinkTypeDef#
# SymbolicLinkTypeDef definition
class SymbolicLinkTypeDef(TypedDict):
blobId: NotRequired[str],
absolutePath: NotRequired[str],
relativePath: NotRequired[str],
fileMode: NotRequired[FileModeTypeEnumType], # (1)
GetMergeCommitInputRequestTypeDef#
# GetMergeCommitInputRequestTypeDef definition
class GetMergeCommitInputRequestTypeDef(TypedDict):
repositoryName: str,
sourceCommitSpecifier: str,
destinationCommitSpecifier: str,
conflictDetailLevel: NotRequired[ConflictDetailLevelTypeEnumType], # (1)
conflictResolutionStrategy: NotRequired[ConflictResolutionStrategyTypeEnumType], # (2)
GetMergeConflictsInputRequestTypeDef#
# GetMergeConflictsInputRequestTypeDef definition
class GetMergeConflictsInputRequestTypeDef(TypedDict):
repositoryName: str,
destinationCommitSpecifier: str,
sourceCommitSpecifier: str,
mergeOption: MergeOptionTypeEnumType, # (1)
conflictDetailLevel: NotRequired[ConflictDetailLevelTypeEnumType], # (2)
maxConflictFiles: NotRequired[int],
conflictResolutionStrategy: NotRequired[ConflictResolutionStrategyTypeEnumType], # (3)
nextToken: NotRequired[str],
- See MergeOptionTypeEnumType
- See ConflictDetailLevelTypeEnumType
- See ConflictResolutionStrategyTypeEnumType
GetMergeOptionsInputRequestTypeDef#
# GetMergeOptionsInputRequestTypeDef definition
class GetMergeOptionsInputRequestTypeDef(TypedDict):
repositoryName: str,
sourceCommitSpecifier: str,
destinationCommitSpecifier: str,
conflictDetailLevel: NotRequired[ConflictDetailLevelTypeEnumType], # (1)
conflictResolutionStrategy: NotRequired[ConflictResolutionStrategyTypeEnumType], # (2)
GetPullRequestApprovalStatesInputRequestTypeDef#
# GetPullRequestApprovalStatesInputRequestTypeDef definition
class GetPullRequestApprovalStatesInputRequestTypeDef(TypedDict):
pullRequestId: str,
revisionId: str,
GetPullRequestInputRequestTypeDef#
# GetPullRequestInputRequestTypeDef definition
class GetPullRequestInputRequestTypeDef(TypedDict):
pullRequestId: str,
GetPullRequestOverrideStateInputRequestTypeDef#
# GetPullRequestOverrideStateInputRequestTypeDef definition
class GetPullRequestOverrideStateInputRequestTypeDef(TypedDict):
pullRequestId: str,
revisionId: str,
GetRepositoryInputRequestTypeDef#
# GetRepositoryInputRequestTypeDef definition
class GetRepositoryInputRequestTypeDef(TypedDict):
repositoryName: str,
GetRepositoryTriggersInputRequestTypeDef#
# GetRepositoryTriggersInputRequestTypeDef definition
class GetRepositoryTriggersInputRequestTypeDef(TypedDict):
repositoryName: str,
RepositoryTriggerOutputTypeDef#
# RepositoryTriggerOutputTypeDef definition
class RepositoryTriggerOutputTypeDef(TypedDict):
name: str,
destinationArn: str,
events: List[RepositoryTriggerEventEnumType], # (1)
customData: NotRequired[str],
branches: NotRequired[List[str]],
ListApprovalRuleTemplatesInputRequestTypeDef#
# ListApprovalRuleTemplatesInputRequestTypeDef definition
class ListApprovalRuleTemplatesInputRequestTypeDef(TypedDict):
nextToken: NotRequired[str],
maxResults: NotRequired[int],
ListAssociatedApprovalRuleTemplatesForRepositoryInputRequestTypeDef#
# ListAssociatedApprovalRuleTemplatesForRepositoryInputRequestTypeDef definition
class ListAssociatedApprovalRuleTemplatesForRepositoryInputRequestTypeDef(TypedDict):
repositoryName: str,
nextToken: NotRequired[str],
maxResults: NotRequired[int],
ListBranchesInputRequestTypeDef#
# ListBranchesInputRequestTypeDef definition
class ListBranchesInputRequestTypeDef(TypedDict):
repositoryName: str,
nextToken: NotRequired[str],
ListFileCommitHistoryRequestRequestTypeDef#
# ListFileCommitHistoryRequestRequestTypeDef definition
class ListFileCommitHistoryRequestRequestTypeDef(TypedDict):
repositoryName: str,
filePath: str,
commitSpecifier: NotRequired[str],
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListPullRequestsInputRequestTypeDef#
# ListPullRequestsInputRequestTypeDef definition
class ListPullRequestsInputRequestTypeDef(TypedDict):
repositoryName: str,
authorArn: NotRequired[str],
pullRequestStatus: NotRequired[PullRequestStatusEnumType], # (1)
nextToken: NotRequired[str],
maxResults: NotRequired[int],
ListRepositoriesForApprovalRuleTemplateInputRequestTypeDef#
# ListRepositoriesForApprovalRuleTemplateInputRequestTypeDef definition
class ListRepositoriesForApprovalRuleTemplateInputRequestTypeDef(TypedDict):
approvalRuleTemplateName: str,
nextToken: NotRequired[str],
maxResults: NotRequired[int],
ListRepositoriesInputRequestTypeDef#
# ListRepositoriesInputRequestTypeDef definition
class ListRepositoriesInputRequestTypeDef(TypedDict):
nextToken: NotRequired[str],
sortBy: NotRequired[SortByEnumType], # (1)
order: NotRequired[OrderEnumType], # (2)
- See SortByEnumType
- See OrderEnumType
RepositoryNameIdPairTypeDef#
# RepositoryNameIdPairTypeDef definition
class RepositoryNameIdPairTypeDef(TypedDict):
repositoryName: NotRequired[str],
repositoryId: NotRequired[str],
ListTagsForResourceInputRequestTypeDef#
# ListTagsForResourceInputRequestTypeDef definition
class ListTagsForResourceInputRequestTypeDef(TypedDict):
resourceArn: str,
nextToken: NotRequired[str],
MergeBranchesByFastForwardInputRequestTypeDef#
# MergeBranchesByFastForwardInputRequestTypeDef definition
class MergeBranchesByFastForwardInputRequestTypeDef(TypedDict):
repositoryName: str,
sourceCommitSpecifier: str,
destinationCommitSpecifier: str,
targetBranch: NotRequired[str],
MergeHunkDetailTypeDef#
# MergeHunkDetailTypeDef definition
class MergeHunkDetailTypeDef(TypedDict):
startLine: NotRequired[int],
endLine: NotRequired[int],
hunkContent: NotRequired[str],
MergeMetadataTypeDef#
# MergeMetadataTypeDef definition
class MergeMetadataTypeDef(TypedDict):
isMerged: NotRequired[bool],
mergedBy: NotRequired[str],
mergeCommitId: NotRequired[str],
mergeOption: NotRequired[MergeOptionTypeEnumType], # (1)
MergePullRequestByFastForwardInputRequestTypeDef#
# MergePullRequestByFastForwardInputRequestTypeDef definition
class MergePullRequestByFastForwardInputRequestTypeDef(TypedDict):
pullRequestId: str,
repositoryName: str,
sourceCommitId: NotRequired[str],
OverridePullRequestApprovalRulesInputRequestTypeDef#
# OverridePullRequestApprovalRulesInputRequestTypeDef definition
class OverridePullRequestApprovalRulesInputRequestTypeDef(TypedDict):
pullRequestId: str,
revisionId: str,
overrideStatus: OverrideStatusType, # (1)
PostCommentReplyInputRequestTypeDef#
# PostCommentReplyInputRequestTypeDef definition
class PostCommentReplyInputRequestTypeDef(TypedDict):
inReplyTo: str,
content: str,
clientRequestToken: NotRequired[str],
PullRequestCreatedEventMetadataTypeDef#
# PullRequestCreatedEventMetadataTypeDef definition
class PullRequestCreatedEventMetadataTypeDef(TypedDict):
repositoryName: NotRequired[str],
sourceCommitId: NotRequired[str],
destinationCommitId: NotRequired[str],
mergeBase: NotRequired[str],
PullRequestSourceReferenceUpdatedEventMetadataTypeDef#
# PullRequestSourceReferenceUpdatedEventMetadataTypeDef definition
class PullRequestSourceReferenceUpdatedEventMetadataTypeDef(TypedDict):
repositoryName: NotRequired[str],
beforeCommitId: NotRequired[str],
afterCommitId: NotRequired[str],
mergeBase: NotRequired[str],
PullRequestStatusChangedEventMetadataTypeDef#
# PullRequestStatusChangedEventMetadataTypeDef definition
class PullRequestStatusChangedEventMetadataTypeDef(TypedDict):
pullRequestStatus: NotRequired[PullRequestStatusEnumType], # (1)
PutCommentReactionInputRequestTypeDef#
# PutCommentReactionInputRequestTypeDef definition
class PutCommentReactionInputRequestTypeDef(TypedDict):
commentId: str,
reactionValue: str,
SourceFileSpecifierTypeDef#
# SourceFileSpecifierTypeDef definition
class SourceFileSpecifierTypeDef(TypedDict):
filePath: str,
isMove: NotRequired[bool],
ReactionValueFormatsTypeDef#
# ReactionValueFormatsTypeDef definition
class ReactionValueFormatsTypeDef(TypedDict):
emoji: NotRequired[str],
shortCode: NotRequired[str],
unicode: NotRequired[str],
RepositoryTriggerExecutionFailureTypeDef#
# RepositoryTriggerExecutionFailureTypeDef definition
class RepositoryTriggerExecutionFailureTypeDef(TypedDict):
trigger: NotRequired[str],
failureMessage: NotRequired[str],
RepositoryTriggerTypeDef#
# RepositoryTriggerTypeDef definition
class RepositoryTriggerTypeDef(TypedDict):
name: str,
destinationArn: str,
events: Sequence[RepositoryTriggerEventEnumType], # (1)
customData: NotRequired[str],
branches: NotRequired[Sequence[str]],
TagResourceInputRequestTypeDef#
# TagResourceInputRequestTypeDef definition
class TagResourceInputRequestTypeDef(TypedDict):
resourceArn: str,
tags: Mapping[str, str],
UntagResourceInputRequestTypeDef#
# UntagResourceInputRequestTypeDef definition
class UntagResourceInputRequestTypeDef(TypedDict):
resourceArn: str,
tagKeys: Sequence[str],
UpdateApprovalRuleTemplateContentInputRequestTypeDef#
# UpdateApprovalRuleTemplateContentInputRequestTypeDef definition
class UpdateApprovalRuleTemplateContentInputRequestTypeDef(TypedDict):
approvalRuleTemplateName: str,
newRuleContent: str,
existingRuleContentSha256: NotRequired[str],
UpdateApprovalRuleTemplateDescriptionInputRequestTypeDef#
# UpdateApprovalRuleTemplateDescriptionInputRequestTypeDef definition
class UpdateApprovalRuleTemplateDescriptionInputRequestTypeDef(TypedDict):
approvalRuleTemplateName: str,
approvalRuleTemplateDescription: str,
UpdateApprovalRuleTemplateNameInputRequestTypeDef#
# UpdateApprovalRuleTemplateNameInputRequestTypeDef definition
class UpdateApprovalRuleTemplateNameInputRequestTypeDef(TypedDict):
oldApprovalRuleTemplateName: str,
newApprovalRuleTemplateName: str,
UpdateCommentInputRequestTypeDef#
# UpdateCommentInputRequestTypeDef definition
class UpdateCommentInputRequestTypeDef(TypedDict):
commentId: str,
content: str,
UpdateDefaultBranchInputRequestTypeDef#
# UpdateDefaultBranchInputRequestTypeDef definition
class UpdateDefaultBranchInputRequestTypeDef(TypedDict):
repositoryName: str,
defaultBranchName: str,
UpdatePullRequestApprovalRuleContentInputRequestTypeDef#
# UpdatePullRequestApprovalRuleContentInputRequestTypeDef definition
class UpdatePullRequestApprovalRuleContentInputRequestTypeDef(TypedDict):
pullRequestId: str,
approvalRuleName: str,
newRuleContent: str,
existingRuleContentSha256: NotRequired[str],
UpdatePullRequestApprovalStateInputRequestTypeDef#
# UpdatePullRequestApprovalStateInputRequestTypeDef definition
class UpdatePullRequestApprovalStateInputRequestTypeDef(TypedDict):
pullRequestId: str,
revisionId: str,
approvalState: ApprovalStateType, # (1)
UpdatePullRequestDescriptionInputRequestTypeDef#
# UpdatePullRequestDescriptionInputRequestTypeDef definition
class UpdatePullRequestDescriptionInputRequestTypeDef(TypedDict):
pullRequestId: str,
description: str,
UpdatePullRequestStatusInputRequestTypeDef#
# UpdatePullRequestStatusInputRequestTypeDef definition
class UpdatePullRequestStatusInputRequestTypeDef(TypedDict):
pullRequestId: str,
pullRequestStatus: PullRequestStatusEnumType, # (1)
UpdatePullRequestTitleInputRequestTypeDef#
# UpdatePullRequestTitleInputRequestTypeDef definition
class UpdatePullRequestTitleInputRequestTypeDef(TypedDict):
pullRequestId: str,
title: str,
UpdateRepositoryDescriptionInputRequestTypeDef#
# UpdateRepositoryDescriptionInputRequestTypeDef definition
class UpdateRepositoryDescriptionInputRequestTypeDef(TypedDict):
repositoryName: str,
repositoryDescription: NotRequired[str],
UpdateRepositoryEncryptionKeyInputRequestTypeDef#
# UpdateRepositoryEncryptionKeyInputRequestTypeDef definition
class UpdateRepositoryEncryptionKeyInputRequestTypeDef(TypedDict):
repositoryName: str,
kmsKeyId: str,
UpdateRepositoryNameInputRequestTypeDef#
# UpdateRepositoryNameInputRequestTypeDef definition
class UpdateRepositoryNameInputRequestTypeDef(TypedDict):
oldName: str,
newName: str,
ApprovalRuleTypeDef#
# ApprovalRuleTypeDef definition
class ApprovalRuleTypeDef(TypedDict):
approvalRuleId: NotRequired[str],
approvalRuleName: NotRequired[str],
approvalRuleContent: NotRequired[str],
ruleContentSha256: NotRequired[str],
lastModifiedDate: NotRequired[datetime],
creationDate: NotRequired[datetime],
lastModifiedUser: NotRequired[str],
originApprovalRuleTemplate: NotRequired[OriginApprovalRuleTemplateTypeDef], # (1)
BatchAssociateApprovalRuleTemplateWithRepositoriesOutputTypeDef#
# BatchAssociateApprovalRuleTemplateWithRepositoriesOutputTypeDef definition
class BatchAssociateApprovalRuleTemplateWithRepositoriesOutputTypeDef(TypedDict):
associatedRepositoryNames: List[str],
errors: List[BatchAssociateApprovalRuleTemplateWithRepositoriesErrorTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateApprovalRuleTemplateOutputTypeDef#
# CreateApprovalRuleTemplateOutputTypeDef definition
class CreateApprovalRuleTemplateOutputTypeDef(TypedDict):
approvalRuleTemplate: ApprovalRuleTemplateTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateUnreferencedMergeCommitOutputTypeDef#
# CreateUnreferencedMergeCommitOutputTypeDef definition
class CreateUnreferencedMergeCommitOutputTypeDef(TypedDict):
commitId: str,
treeId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteApprovalRuleTemplateOutputTypeDef#
# DeleteApprovalRuleTemplateOutputTypeDef definition
class DeleteApprovalRuleTemplateOutputTypeDef(TypedDict):
approvalRuleTemplateId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteFileOutputTypeDef#
# DeleteFileOutputTypeDef definition
class DeleteFileOutputTypeDef(TypedDict):
commitId: str,
blobId: str,
treeId: str,
filePath: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeletePullRequestApprovalRuleOutputTypeDef#
# DeletePullRequestApprovalRuleOutputTypeDef definition
class DeletePullRequestApprovalRuleOutputTypeDef(TypedDict):
approvalRuleId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteRepositoryOutputTypeDef#
# DeleteRepositoryOutputTypeDef definition
class DeleteRepositoryOutputTypeDef(TypedDict):
repositoryId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetApprovalRuleTemplateOutputTypeDef#
# GetApprovalRuleTemplateOutputTypeDef definition
class GetApprovalRuleTemplateOutputTypeDef(TypedDict):
approvalRuleTemplate: ApprovalRuleTemplateTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetBlobOutputTypeDef#
# GetBlobOutputTypeDef definition
class GetBlobOutputTypeDef(TypedDict):
content: bytes,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetFileOutputTypeDef#
# GetFileOutputTypeDef definition
class GetFileOutputTypeDef(TypedDict):
commitId: str,
blobId: str,
filePath: str,
fileMode: FileModeTypeEnumType, # (1)
fileSize: int,
fileContent: bytes,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetMergeCommitOutputTypeDef#
# GetMergeCommitOutputTypeDef definition
class GetMergeCommitOutputTypeDef(TypedDict):
sourceCommitId: str,
destinationCommitId: str,
baseCommitId: str,
mergedCommitId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetMergeOptionsOutputTypeDef#
# GetMergeOptionsOutputTypeDef definition
class GetMergeOptionsOutputTypeDef(TypedDict):
mergeOptions: List[MergeOptionTypeEnumType], # (1)
sourceCommitId: str,
destinationCommitId: str,
baseCommitId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetPullRequestApprovalStatesOutputTypeDef#
# GetPullRequestApprovalStatesOutputTypeDef definition
class GetPullRequestApprovalStatesOutputTypeDef(TypedDict):
approvals: List[ApprovalTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetPullRequestOverrideStateOutputTypeDef#
# GetPullRequestOverrideStateOutputTypeDef definition
class GetPullRequestOverrideStateOutputTypeDef(TypedDict):
overridden: bool,
overrider: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListApprovalRuleTemplatesOutputTypeDef#
# ListApprovalRuleTemplatesOutputTypeDef definition
class ListApprovalRuleTemplatesOutputTypeDef(TypedDict):
approvalRuleTemplateNames: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
ListAssociatedApprovalRuleTemplatesForRepositoryOutputTypeDef#
# ListAssociatedApprovalRuleTemplatesForRepositoryOutputTypeDef definition
class ListAssociatedApprovalRuleTemplatesForRepositoryOutputTypeDef(TypedDict):
approvalRuleTemplateNames: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
ListBranchesOutputTypeDef#
# ListBranchesOutputTypeDef definition
class ListBranchesOutputTypeDef(TypedDict):
branches: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
ListPullRequestsOutputTypeDef#
# ListPullRequestsOutputTypeDef definition
class ListPullRequestsOutputTypeDef(TypedDict):
pullRequestIds: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
ListRepositoriesForApprovalRuleTemplateOutputTypeDef#
# ListRepositoriesForApprovalRuleTemplateOutputTypeDef definition
class ListRepositoriesForApprovalRuleTemplateOutputTypeDef(TypedDict):
repositoryNames: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
ListTagsForResourceOutputTypeDef#
# ListTagsForResourceOutputTypeDef definition
class ListTagsForResourceOutputTypeDef(TypedDict):
tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
MergeBranchesByFastForwardOutputTypeDef#
# MergeBranchesByFastForwardOutputTypeDef definition
class MergeBranchesByFastForwardOutputTypeDef(TypedDict):
commitId: str,
treeId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
MergeBranchesBySquashOutputTypeDef#
# MergeBranchesBySquashOutputTypeDef definition
class MergeBranchesBySquashOutputTypeDef(TypedDict):
commitId: str,
treeId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
MergeBranchesByThreeWayOutputTypeDef#
# MergeBranchesByThreeWayOutputTypeDef definition
class MergeBranchesByThreeWayOutputTypeDef(TypedDict):
commitId: str,
treeId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
PutFileOutputTypeDef#
# PutFileOutputTypeDef definition
class PutFileOutputTypeDef(TypedDict):
commitId: str,
blobId: str,
treeId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
PutRepositoryTriggersOutputTypeDef#
# PutRepositoryTriggersOutputTypeDef definition
class PutRepositoryTriggersOutputTypeDef(TypedDict):
configurationId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateApprovalRuleTemplateContentOutputTypeDef#
# UpdateApprovalRuleTemplateContentOutputTypeDef definition
class UpdateApprovalRuleTemplateContentOutputTypeDef(TypedDict):
approvalRuleTemplate: ApprovalRuleTemplateTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateApprovalRuleTemplateDescriptionOutputTypeDef#
# UpdateApprovalRuleTemplateDescriptionOutputTypeDef definition
class UpdateApprovalRuleTemplateDescriptionOutputTypeDef(TypedDict):
approvalRuleTemplate: ApprovalRuleTemplateTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateApprovalRuleTemplateNameOutputTypeDef#
# UpdateApprovalRuleTemplateNameOutputTypeDef definition
class UpdateApprovalRuleTemplateNameOutputTypeDef(TypedDict):
approvalRuleTemplate: ApprovalRuleTemplateTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateRepositoryEncryptionKeyOutputTypeDef#
# UpdateRepositoryEncryptionKeyOutputTypeDef definition
class UpdateRepositoryEncryptionKeyOutputTypeDef(TypedDict):
repositoryId: str,
kmsKeyId: str,
originalKmsKeyId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
BatchDisassociateApprovalRuleTemplateFromRepositoriesOutputTypeDef#
# BatchDisassociateApprovalRuleTemplateFromRepositoriesOutputTypeDef definition
class BatchDisassociateApprovalRuleTemplateFromRepositoriesOutputTypeDef(TypedDict):
disassociatedRepositoryNames: List[str],
errors: List[BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchGetRepositoriesOutputTypeDef#
# BatchGetRepositoriesOutputTypeDef definition
class BatchGetRepositoriesOutputTypeDef(TypedDict):
repositories: List[RepositoryMetadataTypeDef], # (1)
repositoriesNotFound: List[str],
errors: List[BatchGetRepositoriesErrorTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
CreateRepositoryOutputTypeDef#
# CreateRepositoryOutputTypeDef definition
class CreateRepositoryOutputTypeDef(TypedDict):
repositoryMetadata: RepositoryMetadataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetRepositoryOutputTypeDef#
# GetRepositoryOutputTypeDef definition
class GetRepositoryOutputTypeDef(TypedDict):
repositoryMetadata: RepositoryMetadataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DifferenceTypeDef#
# DifferenceTypeDef definition
class DifferenceTypeDef(TypedDict):
beforeBlob: NotRequired[BlobMetadataTypeDef], # (1)
afterBlob: NotRequired[BlobMetadataTypeDef], # (1)
changeType: NotRequired[ChangeTypeEnumType], # (3)
- See BlobMetadataTypeDef
- See BlobMetadataTypeDef
- See ChangeTypeEnumType
PutFileInputRequestTypeDef#
# PutFileInputRequestTypeDef definition
class PutFileInputRequestTypeDef(TypedDict):
repositoryName: str,
branchName: str,
fileContent: BlobTypeDef,
filePath: str,
fileMode: NotRequired[FileModeTypeEnumType], # (1)
parentCommitId: NotRequired[str],
commitMessage: NotRequired[str],
name: NotRequired[str],
email: NotRequired[str],
ReplaceContentEntryTypeDef#
# ReplaceContentEntryTypeDef definition
class ReplaceContentEntryTypeDef(TypedDict):
filePath: str,
replacementType: ReplacementTypeEnumType, # (1)
content: NotRequired[BlobTypeDef],
fileMode: NotRequired[FileModeTypeEnumType], # (2)
DeleteBranchOutputTypeDef#
# DeleteBranchOutputTypeDef definition
class DeleteBranchOutputTypeDef(TypedDict):
deletedBranch: BranchInfoTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetBranchOutputTypeDef#
# GetBranchOutputTypeDef definition
class GetBranchOutputTypeDef(TypedDict):
branch: BranchInfoTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteCommentContentOutputTypeDef#
# DeleteCommentContentOutputTypeDef definition
class DeleteCommentContentOutputTypeDef(TypedDict):
comment: CommentTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetCommentOutputTypeDef#
# GetCommentOutputTypeDef definition
class GetCommentOutputTypeDef(TypedDict):
comment: CommentTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PostCommentReplyOutputTypeDef#
# PostCommentReplyOutputTypeDef definition
class PostCommentReplyOutputTypeDef(TypedDict):
comment: CommentTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateCommentOutputTypeDef#
# UpdateCommentOutputTypeDef definition
class UpdateCommentOutputTypeDef(TypedDict):
comment: CommentTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CommentsForComparedCommitTypeDef#
# CommentsForComparedCommitTypeDef definition
class CommentsForComparedCommitTypeDef(TypedDict):
repositoryName: NotRequired[str],
beforeCommitId: NotRequired[str],
afterCommitId: NotRequired[str],
beforeBlobId: NotRequired[str],
afterBlobId: NotRequired[str],
location: NotRequired[LocationTypeDef], # (1)
comments: NotRequired[List[CommentTypeDef]], # (2)
- See LocationTypeDef
- See CommentTypeDef
CommentsForPullRequestTypeDef#
# CommentsForPullRequestTypeDef definition
class CommentsForPullRequestTypeDef(TypedDict):
pullRequestId: NotRequired[str],
repositoryName: NotRequired[str],
beforeCommitId: NotRequired[str],
afterCommitId: NotRequired[str],
beforeBlobId: NotRequired[str],
afterBlobId: NotRequired[str],
location: NotRequired[LocationTypeDef], # (1)
comments: NotRequired[List[CommentTypeDef]], # (2)
- See LocationTypeDef
- See CommentTypeDef
PostCommentForComparedCommitInputRequestTypeDef#
# PostCommentForComparedCommitInputRequestTypeDef definition
class PostCommentForComparedCommitInputRequestTypeDef(TypedDict):
repositoryName: str,
afterCommitId: str,
content: str,
beforeCommitId: NotRequired[str],
location: NotRequired[LocationTypeDef], # (1)
clientRequestToken: NotRequired[str],
- See LocationTypeDef
PostCommentForComparedCommitOutputTypeDef#
# PostCommentForComparedCommitOutputTypeDef definition
class PostCommentForComparedCommitOutputTypeDef(TypedDict):
repositoryName: str,
beforeCommitId: str,
afterCommitId: str,
beforeBlobId: str,
afterBlobId: str,
location: LocationTypeDef, # (1)
comment: CommentTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See LocationTypeDef
- See CommentTypeDef
- See ResponseMetadataTypeDef
PostCommentForPullRequestInputRequestTypeDef#
# PostCommentForPullRequestInputRequestTypeDef definition
class PostCommentForPullRequestInputRequestTypeDef(TypedDict):
pullRequestId: str,
repositoryName: str,
beforeCommitId: str,
afterCommitId: str,
content: str,
location: NotRequired[LocationTypeDef], # (1)
clientRequestToken: NotRequired[str],
- See LocationTypeDef
PostCommentForPullRequestOutputTypeDef#
# PostCommentForPullRequestOutputTypeDef definition
class PostCommentForPullRequestOutputTypeDef(TypedDict):
repositoryName: str,
pullRequestId: str,
beforeCommitId: str,
afterCommitId: str,
beforeBlobId: str,
afterBlobId: str,
location: LocationTypeDef, # (1)
comment: CommentTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See LocationTypeDef
- See CommentTypeDef
- See ResponseMetadataTypeDef
CommitTypeDef#
# CommitTypeDef definition
class CommitTypeDef(TypedDict):
commitId: NotRequired[str],
treeId: NotRequired[str],
parents: NotRequired[List[str]],
message: NotRequired[str],
author: NotRequired[UserInfoTypeDef], # (1)
committer: NotRequired[UserInfoTypeDef], # (1)
additionalData: NotRequired[str],
- See UserInfoTypeDef
- See UserInfoTypeDef
ConflictMetadataTypeDef#
# ConflictMetadataTypeDef definition
class ConflictMetadataTypeDef(TypedDict):
filePath: NotRequired[str],
fileSizes: NotRequired[FileSizesTypeDef], # (1)
fileModes: NotRequired[FileModesTypeDef], # (2)
objectTypes: NotRequired[ObjectTypesTypeDef], # (3)
numberOfConflicts: NotRequired[int],
isBinaryFile: NotRequired[IsBinaryFileTypeDef], # (4)
contentConflict: NotRequired[bool],
fileModeConflict: NotRequired[bool],
objectTypeConflict: NotRequired[bool],
mergeOperations: NotRequired[MergeOperationsTypeDef], # (5)
- See FileSizesTypeDef
- See FileModesTypeDef
- See ObjectTypesTypeDef
- See IsBinaryFileTypeDef
- See MergeOperationsTypeDef
CreateCommitOutputTypeDef#
# CreateCommitOutputTypeDef definition
class CreateCommitOutputTypeDef(TypedDict):
commitId: str,
treeId: str,
filesAdded: List[FileMetadataTypeDef], # (1)
filesUpdated: List[FileMetadataTypeDef], # (1)
filesDeleted: List[FileMetadataTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (4)
CreatePullRequestInputRequestTypeDef#
# CreatePullRequestInputRequestTypeDef definition
class CreatePullRequestInputRequestTypeDef(TypedDict):
title: str,
targets: Sequence[TargetTypeDef], # (1)
description: NotRequired[str],
clientRequestToken: NotRequired[str],
- See TargetTypeDef
DescribePullRequestEventsInputDescribePullRequestEventsPaginateTypeDef#
# DescribePullRequestEventsInputDescribePullRequestEventsPaginateTypeDef definition
class DescribePullRequestEventsInputDescribePullRequestEventsPaginateTypeDef(TypedDict):
pullRequestId: str,
pullRequestEventType: NotRequired[PullRequestEventTypeType], # (1)
actorArn: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
GetCommentsForComparedCommitInputGetCommentsForComparedCommitPaginateTypeDef#
# GetCommentsForComparedCommitInputGetCommentsForComparedCommitPaginateTypeDef definition
class GetCommentsForComparedCommitInputGetCommentsForComparedCommitPaginateTypeDef(TypedDict):
repositoryName: str,
afterCommitId: str,
beforeCommitId: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
GetCommentsForPullRequestInputGetCommentsForPullRequestPaginateTypeDef#
# GetCommentsForPullRequestInputGetCommentsForPullRequestPaginateTypeDef definition
class GetCommentsForPullRequestInputGetCommentsForPullRequestPaginateTypeDef(TypedDict):
pullRequestId: str,
repositoryName: NotRequired[str],
beforeCommitId: NotRequired[str],
afterCommitId: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
GetDifferencesInputGetDifferencesPaginateTypeDef#
# GetDifferencesInputGetDifferencesPaginateTypeDef definition
class GetDifferencesInputGetDifferencesPaginateTypeDef(TypedDict):
repositoryName: str,
afterCommitSpecifier: str,
beforeCommitSpecifier: NotRequired[str],
beforePath: NotRequired[str],
afterPath: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListBranchesInputListBranchesPaginateTypeDef#
# ListBranchesInputListBranchesPaginateTypeDef definition
class ListBranchesInputListBranchesPaginateTypeDef(TypedDict):
repositoryName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListPullRequestsInputListPullRequestsPaginateTypeDef#
# ListPullRequestsInputListPullRequestsPaginateTypeDef definition
class ListPullRequestsInputListPullRequestsPaginateTypeDef(TypedDict):
repositoryName: str,
authorArn: NotRequired[str],
pullRequestStatus: NotRequired[PullRequestStatusEnumType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListRepositoriesInputListRepositoriesPaginateTypeDef#
# ListRepositoriesInputListRepositoriesPaginateTypeDef definition
class ListRepositoriesInputListRepositoriesPaginateTypeDef(TypedDict):
sortBy: NotRequired[SortByEnumType], # (1)
order: NotRequired[OrderEnumType], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
- See SortByEnumType
- See OrderEnumType
- See PaginatorConfigTypeDef
EvaluatePullRequestApprovalRulesOutputTypeDef#
# EvaluatePullRequestApprovalRulesOutputTypeDef definition
class EvaluatePullRequestApprovalRulesOutputTypeDef(TypedDict):
evaluation: EvaluationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetFolderOutputTypeDef#
# GetFolderOutputTypeDef definition
class GetFolderOutputTypeDef(TypedDict):
commitId: str,
folderPath: str,
treeId: str,
subFolders: List[FolderTypeDef], # (1)
files: List[FileTypeDef], # (2)
symbolicLinks: List[SymbolicLinkTypeDef], # (3)
subModules: List[SubModuleTypeDef], # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See FolderTypeDef
- See FileTypeDef
- See SymbolicLinkTypeDef
- See SubModuleTypeDef
- See ResponseMetadataTypeDef
GetRepositoryTriggersOutputTypeDef#
# GetRepositoryTriggersOutputTypeDef definition
class GetRepositoryTriggersOutputTypeDef(TypedDict):
configurationId: str,
triggers: List[RepositoryTriggerOutputTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListRepositoriesOutputTypeDef#
# ListRepositoriesOutputTypeDef definition
class ListRepositoriesOutputTypeDef(TypedDict):
repositories: List[RepositoryNameIdPairTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
MergeHunkTypeDef#
# MergeHunkTypeDef definition
class MergeHunkTypeDef(TypedDict):
isConflict: NotRequired[bool],
source: NotRequired[MergeHunkDetailTypeDef], # (1)
destination: NotRequired[MergeHunkDetailTypeDef], # (1)
base: NotRequired[MergeHunkDetailTypeDef], # (1)
PullRequestMergedStateChangedEventMetadataTypeDef#
# PullRequestMergedStateChangedEventMetadataTypeDef definition
class PullRequestMergedStateChangedEventMetadataTypeDef(TypedDict):
repositoryName: NotRequired[str],
destinationReference: NotRequired[str],
mergeMetadata: NotRequired[MergeMetadataTypeDef], # (1)
PullRequestTargetTypeDef#
# PullRequestTargetTypeDef definition
class PullRequestTargetTypeDef(TypedDict):
repositoryName: NotRequired[str],
sourceReference: NotRequired[str],
destinationReference: NotRequired[str],
destinationCommit: NotRequired[str],
sourceCommit: NotRequired[str],
mergeBase: NotRequired[str],
mergeMetadata: NotRequired[MergeMetadataTypeDef], # (1)
PutFileEntryTypeDef#
# PutFileEntryTypeDef definition
class PutFileEntryTypeDef(TypedDict):
filePath: str,
fileMode: NotRequired[FileModeTypeEnumType], # (1)
fileContent: NotRequired[BlobTypeDef],
sourceFile: NotRequired[SourceFileSpecifierTypeDef], # (2)
ReactionForCommentTypeDef#
# ReactionForCommentTypeDef definition
class ReactionForCommentTypeDef(TypedDict):
reaction: NotRequired[ReactionValueFormatsTypeDef], # (1)
reactionUsers: NotRequired[List[str]],
reactionsFromDeletedUsersCount: NotRequired[int],
TestRepositoryTriggersOutputTypeDef#
# TestRepositoryTriggersOutputTypeDef definition
class TestRepositoryTriggersOutputTypeDef(TypedDict):
successfulExecutions: List[str],
failedExecutions: List[RepositoryTriggerExecutionFailureTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
TestRepositoryTriggersInputRequestTypeDef#
# TestRepositoryTriggersInputRequestTypeDef definition
class TestRepositoryTriggersInputRequestTypeDef(TypedDict):
repositoryName: str,
triggers: Sequence[RepositoryTriggerTypeDef], # (1)
CreatePullRequestApprovalRuleOutputTypeDef#
# CreatePullRequestApprovalRuleOutputTypeDef definition
class CreatePullRequestApprovalRuleOutputTypeDef(TypedDict):
approvalRule: ApprovalRuleTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdatePullRequestApprovalRuleContentOutputTypeDef#
# UpdatePullRequestApprovalRuleContentOutputTypeDef definition
class UpdatePullRequestApprovalRuleContentOutputTypeDef(TypedDict):
approvalRule: ApprovalRuleTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetDifferencesOutputTypeDef#
# GetDifferencesOutputTypeDef definition
class GetDifferencesOutputTypeDef(TypedDict):
differences: List[DifferenceTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ConflictResolutionTypeDef#
# ConflictResolutionTypeDef definition
class ConflictResolutionTypeDef(TypedDict):
replaceContents: NotRequired[Sequence[ReplaceContentEntryTypeDef]], # (1)
deleteFiles: NotRequired[Sequence[DeleteFileEntryTypeDef]], # (2)
setFileModes: NotRequired[Sequence[SetFileModeEntryTypeDef]], # (3)
GetCommentsForComparedCommitOutputTypeDef#
# GetCommentsForComparedCommitOutputTypeDef definition
class GetCommentsForComparedCommitOutputTypeDef(TypedDict):
commentsForComparedCommitData: List[CommentsForComparedCommitTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
GetCommentsForPullRequestOutputTypeDef#
# GetCommentsForPullRequestOutputTypeDef definition
class GetCommentsForPullRequestOutputTypeDef(TypedDict):
commentsForPullRequestData: List[CommentsForPullRequestTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
BatchGetCommitsOutputTypeDef#
# BatchGetCommitsOutputTypeDef definition
class BatchGetCommitsOutputTypeDef(TypedDict):
commits: List[CommitTypeDef], # (1)
errors: List[BatchGetCommitsErrorTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
FileVersionTypeDef#
# FileVersionTypeDef definition
class FileVersionTypeDef(TypedDict):
commit: NotRequired[CommitTypeDef], # (1)
blobId: NotRequired[str],
path: NotRequired[str],
revisionChildren: NotRequired[List[str]],
- See CommitTypeDef
GetCommitOutputTypeDef#
# GetCommitOutputTypeDef definition
class GetCommitOutputTypeDef(TypedDict):
commit: CommitTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See CommitTypeDef
- See ResponseMetadataTypeDef
GetMergeConflictsOutputTypeDef#
# GetMergeConflictsOutputTypeDef definition
class GetMergeConflictsOutputTypeDef(TypedDict):
mergeable: bool,
destinationCommitId: str,
sourceCommitId: str,
baseCommitId: str,
conflictMetadataList: List[ConflictMetadataTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ConflictTypeDef#
# ConflictTypeDef definition
class ConflictTypeDef(TypedDict):
conflictMetadata: NotRequired[ConflictMetadataTypeDef], # (1)
mergeHunks: NotRequired[List[MergeHunkTypeDef]], # (2)
DescribeMergeConflictsOutputTypeDef#
# DescribeMergeConflictsOutputTypeDef definition
class DescribeMergeConflictsOutputTypeDef(TypedDict):
conflictMetadata: ConflictMetadataTypeDef, # (1)
mergeHunks: List[MergeHunkTypeDef], # (2)
destinationCommitId: str,
sourceCommitId: str,
baseCommitId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
nextToken: NotRequired[str],
PullRequestEventTypeDef#
# PullRequestEventTypeDef definition
class PullRequestEventTypeDef(TypedDict):
pullRequestId: NotRequired[str],
eventDate: NotRequired[datetime],
pullRequestEventType: NotRequired[PullRequestEventTypeType], # (1)
actorArn: NotRequired[str],
pullRequestCreatedEventMetadata: NotRequired[PullRequestCreatedEventMetadataTypeDef], # (2)
pullRequestStatusChangedEventMetadata: NotRequired[PullRequestStatusChangedEventMetadataTypeDef], # (3)
pullRequestSourceReferenceUpdatedEventMetadata: NotRequired[PullRequestSourceReferenceUpdatedEventMetadataTypeDef], # (4)
pullRequestMergedStateChangedEventMetadata: NotRequired[PullRequestMergedStateChangedEventMetadataTypeDef], # (5)
approvalRuleEventMetadata: NotRequired[ApprovalRuleEventMetadataTypeDef], # (6)
approvalStateChangedEventMetadata: NotRequired[ApprovalStateChangedEventMetadataTypeDef], # (7)
approvalRuleOverriddenEventMetadata: NotRequired[ApprovalRuleOverriddenEventMetadataTypeDef], # (8)
- See PullRequestEventTypeType
- See PullRequestCreatedEventMetadataTypeDef
- See PullRequestStatusChangedEventMetadataTypeDef
- See PullRequestSourceReferenceUpdatedEventMetadataTypeDef
- See PullRequestMergedStateChangedEventMetadataTypeDef
- See ApprovalRuleEventMetadataTypeDef
- See ApprovalStateChangedEventMetadataTypeDef
- See ApprovalRuleOverriddenEventMetadataTypeDef
PullRequestTypeDef#
# PullRequestTypeDef definition
class PullRequestTypeDef(TypedDict):
pullRequestId: NotRequired[str],
title: NotRequired[str],
description: NotRequired[str],
lastActivityDate: NotRequired[datetime],
creationDate: NotRequired[datetime],
pullRequestStatus: NotRequired[PullRequestStatusEnumType], # (1)
authorArn: NotRequired[str],
pullRequestTargets: NotRequired[List[PullRequestTargetTypeDef]], # (2)
clientRequestToken: NotRequired[str],
revisionId: NotRequired[str],
approvalRules: NotRequired[List[ApprovalRuleTypeDef]], # (3)
CreateCommitInputRequestTypeDef#
# CreateCommitInputRequestTypeDef definition
class CreateCommitInputRequestTypeDef(TypedDict):
repositoryName: str,
branchName: str,
parentCommitId: NotRequired[str],
authorName: NotRequired[str],
email: NotRequired[str],
commitMessage: NotRequired[str],
keepEmptyFolders: NotRequired[bool],
putFiles: NotRequired[Sequence[PutFileEntryTypeDef]], # (1)
deleteFiles: NotRequired[Sequence[DeleteFileEntryTypeDef]], # (2)
setFileModes: NotRequired[Sequence[SetFileModeEntryTypeDef]], # (3)
GetCommentReactionsOutputTypeDef#
# GetCommentReactionsOutputTypeDef definition
class GetCommentReactionsOutputTypeDef(TypedDict):
reactionsForComment: List[ReactionForCommentTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
PutRepositoryTriggersInputRequestTypeDef#
# PutRepositoryTriggersInputRequestTypeDef definition
class PutRepositoryTriggersInputRequestTypeDef(TypedDict):
repositoryName: str,
triggers: Sequence[RepositoryTriggerUnionTypeDef], # (1)
CreateUnreferencedMergeCommitInputRequestTypeDef#
# CreateUnreferencedMergeCommitInputRequestTypeDef definition
class CreateUnreferencedMergeCommitInputRequestTypeDef(TypedDict):
repositoryName: str,
sourceCommitSpecifier: str,
destinationCommitSpecifier: str,
mergeOption: MergeOptionTypeEnumType, # (1)
conflictDetailLevel: NotRequired[ConflictDetailLevelTypeEnumType], # (2)
conflictResolutionStrategy: NotRequired[ConflictResolutionStrategyTypeEnumType], # (3)
authorName: NotRequired[str],
email: NotRequired[str],
commitMessage: NotRequired[str],
keepEmptyFolders: NotRequired[bool],
conflictResolution: NotRequired[ConflictResolutionTypeDef], # (4)
- See MergeOptionTypeEnumType
- See ConflictDetailLevelTypeEnumType
- See ConflictResolutionStrategyTypeEnumType
- See ConflictResolutionTypeDef
MergeBranchesBySquashInputRequestTypeDef#
# MergeBranchesBySquashInputRequestTypeDef definition
class MergeBranchesBySquashInputRequestTypeDef(TypedDict):
repositoryName: str,
sourceCommitSpecifier: str,
destinationCommitSpecifier: str,
targetBranch: NotRequired[str],
conflictDetailLevel: NotRequired[ConflictDetailLevelTypeEnumType], # (1)
conflictResolutionStrategy: NotRequired[ConflictResolutionStrategyTypeEnumType], # (2)
authorName: NotRequired[str],
email: NotRequired[str],
commitMessage: NotRequired[str],
keepEmptyFolders: NotRequired[bool],
conflictResolution: NotRequired[ConflictResolutionTypeDef], # (3)
- See ConflictDetailLevelTypeEnumType
- See ConflictResolutionStrategyTypeEnumType
- See ConflictResolutionTypeDef
MergeBranchesByThreeWayInputRequestTypeDef#
# MergeBranchesByThreeWayInputRequestTypeDef definition
class MergeBranchesByThreeWayInputRequestTypeDef(TypedDict):
repositoryName: str,
sourceCommitSpecifier: str,
destinationCommitSpecifier: str,
targetBranch: NotRequired[str],
conflictDetailLevel: NotRequired[ConflictDetailLevelTypeEnumType], # (1)
conflictResolutionStrategy: NotRequired[ConflictResolutionStrategyTypeEnumType], # (2)
authorName: NotRequired[str],
email: NotRequired[str],
commitMessage: NotRequired[str],
keepEmptyFolders: NotRequired[bool],
conflictResolution: NotRequired[ConflictResolutionTypeDef], # (3)
- See ConflictDetailLevelTypeEnumType
- See ConflictResolutionStrategyTypeEnumType
- See ConflictResolutionTypeDef
MergePullRequestBySquashInputRequestTypeDef#
# MergePullRequestBySquashInputRequestTypeDef definition
class MergePullRequestBySquashInputRequestTypeDef(TypedDict):
pullRequestId: str,
repositoryName: str,
sourceCommitId: NotRequired[str],
conflictDetailLevel: NotRequired[ConflictDetailLevelTypeEnumType], # (1)
conflictResolutionStrategy: NotRequired[ConflictResolutionStrategyTypeEnumType], # (2)
commitMessage: NotRequired[str],
authorName: NotRequired[str],
email: NotRequired[str],
keepEmptyFolders: NotRequired[bool],
conflictResolution: NotRequired[ConflictResolutionTypeDef], # (3)
- See ConflictDetailLevelTypeEnumType
- See ConflictResolutionStrategyTypeEnumType
- See ConflictResolutionTypeDef
MergePullRequestByThreeWayInputRequestTypeDef#
# MergePullRequestByThreeWayInputRequestTypeDef definition
class MergePullRequestByThreeWayInputRequestTypeDef(TypedDict):
pullRequestId: str,
repositoryName: str,
sourceCommitId: NotRequired[str],
conflictDetailLevel: NotRequired[ConflictDetailLevelTypeEnumType], # (1)
conflictResolutionStrategy: NotRequired[ConflictResolutionStrategyTypeEnumType], # (2)
commitMessage: NotRequired[str],
authorName: NotRequired[str],
email: NotRequired[str],
keepEmptyFolders: NotRequired[bool],
conflictResolution: NotRequired[ConflictResolutionTypeDef], # (3)
- See ConflictDetailLevelTypeEnumType
- See ConflictResolutionStrategyTypeEnumType
- See ConflictResolutionTypeDef
ListFileCommitHistoryResponseTypeDef#
# ListFileCommitHistoryResponseTypeDef definition
class ListFileCommitHistoryResponseTypeDef(TypedDict):
revisionDag: List[FileVersionTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
BatchDescribeMergeConflictsOutputTypeDef#
# BatchDescribeMergeConflictsOutputTypeDef definition
class BatchDescribeMergeConflictsOutputTypeDef(TypedDict):
conflicts: List[ConflictTypeDef], # (1)
errors: List[BatchDescribeMergeConflictsErrorTypeDef], # (2)
destinationCommitId: str,
sourceCommitId: str,
baseCommitId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
nextToken: NotRequired[str],
DescribePullRequestEventsOutputTypeDef#
# DescribePullRequestEventsOutputTypeDef definition
class DescribePullRequestEventsOutputTypeDef(TypedDict):
pullRequestEvents: List[PullRequestEventTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
CreatePullRequestOutputTypeDef#
# CreatePullRequestOutputTypeDef definition
class CreatePullRequestOutputTypeDef(TypedDict):
pullRequest: PullRequestTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetPullRequestOutputTypeDef#
# GetPullRequestOutputTypeDef definition
class GetPullRequestOutputTypeDef(TypedDict):
pullRequest: PullRequestTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
MergePullRequestByFastForwardOutputTypeDef#
# MergePullRequestByFastForwardOutputTypeDef definition
class MergePullRequestByFastForwardOutputTypeDef(TypedDict):
pullRequest: PullRequestTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
MergePullRequestBySquashOutputTypeDef#
# MergePullRequestBySquashOutputTypeDef definition
class MergePullRequestBySquashOutputTypeDef(TypedDict):
pullRequest: PullRequestTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
MergePullRequestByThreeWayOutputTypeDef#
# MergePullRequestByThreeWayOutputTypeDef definition
class MergePullRequestByThreeWayOutputTypeDef(TypedDict):
pullRequest: PullRequestTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdatePullRequestDescriptionOutputTypeDef#
# UpdatePullRequestDescriptionOutputTypeDef definition
class UpdatePullRequestDescriptionOutputTypeDef(TypedDict):
pullRequest: PullRequestTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdatePullRequestStatusOutputTypeDef#
# UpdatePullRequestStatusOutputTypeDef definition
class UpdatePullRequestStatusOutputTypeDef(TypedDict):
pullRequest: PullRequestTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdatePullRequestTitleOutputTypeDef#
# UpdatePullRequestTitleOutputTypeDef definition
class UpdatePullRequestTitleOutputTypeDef(TypedDict):
pullRequest: PullRequestTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)