Skip to content

Typed dictionaries

Index > CodeGuruReviewer > Typed dictionaries

Auto-generated documentation for CodeGuruReviewer type annotations stubs module mypy-boto3-codeguru-reviewer.

KMSKeyDetailsTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import KMSKeyDetailsTypeDef

def get_value() -> KMSKeyDetailsTypeDef:
    return {
        "KMSKeyId": ...,
    }
Definition
class KMSKeyDetailsTypeDef(TypedDict):
    KMSKeyId: NotRequired[str],
    EncryptionOption: NotRequired[EncryptionOptionType],  # (1)
  1. See EncryptionOptionType

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

BranchDiffSourceCodeTypeTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import BranchDiffSourceCodeTypeTypeDef

def get_value() -> BranchDiffSourceCodeTypeTypeDef:
    return {
        "SourceBranchName": ...,
        "DestinationBranchName": ...,
    }
Definition
class BranchDiffSourceCodeTypeTypeDef(TypedDict):
    SourceBranchName: str,
    DestinationBranchName: str,

CodeArtifactsTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import CodeArtifactsTypeDef

def get_value() -> CodeArtifactsTypeDef:
    return {
        "SourceCodeArtifactsObjectKey": ...,
    }
Definition
class CodeArtifactsTypeDef(TypedDict):
    SourceCodeArtifactsObjectKey: str,
    BuildArtifactsObjectKey: NotRequired[str],

CodeCommitRepositoryTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import CodeCommitRepositoryTypeDef

def get_value() -> CodeCommitRepositoryTypeDef:
    return {
        "Name": ...,
    }
Definition
class CodeCommitRepositoryTypeDef(TypedDict):
    Name: str,

MetricsSummaryTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import MetricsSummaryTypeDef

def get_value() -> MetricsSummaryTypeDef:
    return {
        "MeteredLinesOfCodeCount": ...,
    }
Definition
class MetricsSummaryTypeDef(TypedDict):
    MeteredLinesOfCodeCount: NotRequired[int],
    SuppressedLinesOfCodeCount: NotRequired[int],
    FindingsCount: NotRequired[int],

MetricsTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import MetricsTypeDef

def get_value() -> MetricsTypeDef:
    return {
        "MeteredLinesOfCodeCount": ...,
    }
Definition
class MetricsTypeDef(TypedDict):
    MeteredLinesOfCodeCount: NotRequired[int],
    SuppressedLinesOfCodeCount: NotRequired[int],
    FindingsCount: NotRequired[int],

CommitDiffSourceCodeTypeTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import CommitDiffSourceCodeTypeTypeDef

def get_value() -> CommitDiffSourceCodeTypeTypeDef:
    return {
        "SourceCommit": ...,
    }
Definition
class CommitDiffSourceCodeTypeTypeDef(TypedDict):
    SourceCommit: NotRequired[str],
    DestinationCommit: NotRequired[str],
    MergeBaseCommit: NotRequired[str],

WaiterConfigTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import WaiterConfigTypeDef

def get_value() -> WaiterConfigTypeDef:
    return {
        "Delay": ...,
    }
Definition
class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

DescribeCodeReviewRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import DescribeCodeReviewRequestRequestTypeDef

def get_value() -> DescribeCodeReviewRequestRequestTypeDef:
    return {
        "CodeReviewArn": ...,
    }
Definition
class DescribeCodeReviewRequestRequestTypeDef(TypedDict):
    CodeReviewArn: str,

DescribeRecommendationFeedbackRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import DescribeRecommendationFeedbackRequestRequestTypeDef

def get_value() -> DescribeRecommendationFeedbackRequestRequestTypeDef:
    return {
        "CodeReviewArn": ...,
        "RecommendationId": ...,
    }
Definition
class DescribeRecommendationFeedbackRequestRequestTypeDef(TypedDict):
    CodeReviewArn: str,
    RecommendationId: str,
    UserId: NotRequired[str],

RecommendationFeedbackTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import RecommendationFeedbackTypeDef

def get_value() -> RecommendationFeedbackTypeDef:
    return {
        "CodeReviewArn": ...,
    }
Definition
class RecommendationFeedbackTypeDef(TypedDict):
    CodeReviewArn: NotRequired[str],
    RecommendationId: NotRequired[str],
    Reactions: NotRequired[List[ReactionType]],  # (1)
    UserId: NotRequired[str],
    CreatedTimeStamp: NotRequired[datetime],
    LastUpdatedTimeStamp: NotRequired[datetime],
  1. See ReactionType

DescribeRepositoryAssociationRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import DescribeRepositoryAssociationRequestRequestTypeDef

def get_value() -> DescribeRepositoryAssociationRequestRequestTypeDef:
    return {
        "AssociationArn": ...,
    }
Definition
class DescribeRepositoryAssociationRequestRequestTypeDef(TypedDict):
    AssociationArn: str,

DisassociateRepositoryRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import DisassociateRepositoryRequestRequestTypeDef

def get_value() -> DisassociateRepositoryRequestRequestTypeDef:
    return {
        "AssociationArn": ...,
    }
Definition
class DisassociateRepositoryRequestRequestTypeDef(TypedDict):
    AssociationArn: str,

EventInfoTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import EventInfoTypeDef

def get_value() -> EventInfoTypeDef:
    return {
        "Name": ...,
    }
Definition
class EventInfoTypeDef(TypedDict):
    Name: NotRequired[str],
    State: NotRequired[str],

ListCodeReviewsRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import ListCodeReviewsRequestRequestTypeDef

def get_value() -> ListCodeReviewsRequestRequestTypeDef:
    return {
        "Type": ...,
    }
Definition
class ListCodeReviewsRequestRequestTypeDef(TypedDict):
    Type: TypeType,  # (1)
    ProviderTypes: NotRequired[Sequence[ProviderTypeType]],  # (2)
    States: NotRequired[Sequence[JobStateType]],  # (3)
    RepositoryNames: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See TypeType
  2. See ProviderTypeType
  3. See JobStateType

ListRecommendationFeedbackRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import ListRecommendationFeedbackRequestRequestTypeDef

def get_value() -> ListRecommendationFeedbackRequestRequestTypeDef:
    return {
        "CodeReviewArn": ...,
    }
Definition
class ListRecommendationFeedbackRequestRequestTypeDef(TypedDict):
    CodeReviewArn: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    UserIds: NotRequired[Sequence[str]],
    RecommendationIds: NotRequired[Sequence[str]],

RecommendationFeedbackSummaryTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import RecommendationFeedbackSummaryTypeDef

def get_value() -> RecommendationFeedbackSummaryTypeDef:
    return {
        "RecommendationId": ...,
    }
Definition
class RecommendationFeedbackSummaryTypeDef(TypedDict):
    RecommendationId: NotRequired[str],
    Reactions: NotRequired[List[ReactionType]],  # (1)
    UserId: NotRequired[str],
  1. See ReactionType

ListRecommendationsRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import ListRecommendationsRequestRequestTypeDef

def get_value() -> ListRecommendationsRequestRequestTypeDef:
    return {
        "CodeReviewArn": ...,
    }
Definition
class ListRecommendationsRequestRequestTypeDef(TypedDict):
    CodeReviewArn: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListRepositoryAssociationsRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import ListRepositoryAssociationsRequestRequestTypeDef

def get_value() -> ListRepositoryAssociationsRequestRequestTypeDef:
    return {
        "ProviderTypes": ...,
    }
Definition
class ListRepositoryAssociationsRequestRequestTypeDef(TypedDict):
    ProviderTypes: NotRequired[Sequence[ProviderTypeType]],  # (1)
    States: NotRequired[Sequence[RepositoryAssociationStateType]],  # (2)
    Names: NotRequired[Sequence[str]],
    Owners: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See ProviderTypeType
  2. See RepositoryAssociationStateType

RepositoryAssociationSummaryTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import RepositoryAssociationSummaryTypeDef

def get_value() -> RepositoryAssociationSummaryTypeDef:
    return {
        "AssociationArn": ...,
    }
Definition
class RepositoryAssociationSummaryTypeDef(TypedDict):
    AssociationArn: NotRequired[str],
    ConnectionArn: NotRequired[str],
    LastUpdatedTimeStamp: NotRequired[datetime],
    AssociationId: NotRequired[str],
    Name: NotRequired[str],
    Owner: NotRequired[str],
    ProviderType: NotRequired[ProviderTypeType],  # (1)
    State: NotRequired[RepositoryAssociationStateType],  # (2)
  1. See ProviderTypeType
  2. See RepositoryAssociationStateType

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
    }
Definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

PutRecommendationFeedbackRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import PutRecommendationFeedbackRequestRequestTypeDef

def get_value() -> PutRecommendationFeedbackRequestRequestTypeDef:
    return {
        "CodeReviewArn": ...,
        "RecommendationId": ...,
        "Reactions": ...,
    }
Definition
class PutRecommendationFeedbackRequestRequestTypeDef(TypedDict):
    CodeReviewArn: str,
    RecommendationId: str,
    Reactions: Sequence[ReactionType],  # (1)
  1. See ReactionType

RuleMetadataTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import RuleMetadataTypeDef

def get_value() -> RuleMetadataTypeDef:
    return {
        "RuleId": ...,
    }
Definition
class RuleMetadataTypeDef(TypedDict):
    RuleId: NotRequired[str],
    RuleName: NotRequired[str],
    ShortDescription: NotRequired[str],
    LongDescription: NotRequired[str],
    RuleTags: NotRequired[List[str]],

RepositoryHeadSourceCodeTypeTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import RepositoryHeadSourceCodeTypeTypeDef

def get_value() -> RepositoryHeadSourceCodeTypeTypeDef:
    return {
        "BranchName": ...,
    }
Definition
class RepositoryHeadSourceCodeTypeTypeDef(TypedDict):
    BranchName: str,

S3RepositoryTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import S3RepositoryTypeDef

def get_value() -> S3RepositoryTypeDef:
    return {
        "Name": ...,
        "BucketName": ...,
    }
Definition
class S3RepositoryTypeDef(TypedDict):
    Name: str,
    BucketName: str,

ThirdPartySourceRepositoryTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import ThirdPartySourceRepositoryTypeDef

def get_value() -> ThirdPartySourceRepositoryTypeDef:
    return {
        "Name": ...,
        "ConnectionArn": ...,
        "Owner": ...,
    }
Definition
class ThirdPartySourceRepositoryTypeDef(TypedDict):
    Name: str,
    ConnectionArn: str,
    Owner: str,

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "Tags": ...,
    }
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    Tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "TagKeys": ...,
    }
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    TagKeys: Sequence[str],

ListTagsForResourceResponseTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTagsForResourceResponseTypeDef(TypedDict):
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

S3RepositoryDetailsTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import S3RepositoryDetailsTypeDef

def get_value() -> S3RepositoryDetailsTypeDef:
    return {
        "BucketName": ...,
    }
Definition
class S3RepositoryDetailsTypeDef(TypedDict):
    BucketName: NotRequired[str],
    CodeArtifacts: NotRequired[CodeArtifactsTypeDef],  # (1)
  1. See CodeArtifactsTypeDef

DescribeCodeReviewRequestCodeReviewCompletedWaitTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import DescribeCodeReviewRequestCodeReviewCompletedWaitTypeDef

def get_value() -> DescribeCodeReviewRequestCodeReviewCompletedWaitTypeDef:
    return {
        "CodeReviewArn": ...,
    }
Definition
class DescribeCodeReviewRequestCodeReviewCompletedWaitTypeDef(TypedDict):
    CodeReviewArn: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeRepositoryAssociationRequestRepositoryAssociationSucceededWaitTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import DescribeRepositoryAssociationRequestRepositoryAssociationSucceededWaitTypeDef

def get_value() -> DescribeRepositoryAssociationRequestRepositoryAssociationSucceededWaitTypeDef:
    return {
        "AssociationArn": ...,
    }
Definition
class DescribeRepositoryAssociationRequestRepositoryAssociationSucceededWaitTypeDef(TypedDict):
    AssociationArn: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeRecommendationFeedbackResponseTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import DescribeRecommendationFeedbackResponseTypeDef

def get_value() -> DescribeRecommendationFeedbackResponseTypeDef:
    return {
        "RecommendationFeedback": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeRecommendationFeedbackResponseTypeDef(TypedDict):
    RecommendationFeedback: RecommendationFeedbackTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RecommendationFeedbackTypeDef
  2. See ResponseMetadataTypeDef

RequestMetadataTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import RequestMetadataTypeDef

def get_value() -> RequestMetadataTypeDef:
    return {
        "RequestId": ...,
    }
Definition
class RequestMetadataTypeDef(TypedDict):
    RequestId: NotRequired[str],
    Requester: NotRequired[str],
    EventInfo: NotRequired[EventInfoTypeDef],  # (1)
    VendorName: NotRequired[VendorNameType],  # (2)
  1. See EventInfoTypeDef
  2. See VendorNameType

ListRecommendationFeedbackResponseTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import ListRecommendationFeedbackResponseTypeDef

def get_value() -> ListRecommendationFeedbackResponseTypeDef:
    return {
        "RecommendationFeedbackSummaries": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListRecommendationFeedbackResponseTypeDef(TypedDict):
    RecommendationFeedbackSummaries: List[RecommendationFeedbackSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RecommendationFeedbackSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListRepositoryAssociationsRequestListRepositoryAssociationsPaginateTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import ListRepositoryAssociationsRequestListRepositoryAssociationsPaginateTypeDef

def get_value() -> ListRepositoryAssociationsRequestListRepositoryAssociationsPaginateTypeDef:
    return {
        "ProviderTypes": ...,
    }
Definition
class ListRepositoryAssociationsRequestListRepositoryAssociationsPaginateTypeDef(TypedDict):
    ProviderTypes: NotRequired[Sequence[ProviderTypeType]],  # (1)
    States: NotRequired[Sequence[RepositoryAssociationStateType]],  # (2)
    Names: NotRequired[Sequence[str]],
    Owners: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See ProviderTypeType
  2. See RepositoryAssociationStateType
  3. See PaginatorConfigTypeDef

ListRepositoryAssociationsResponseTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import ListRepositoryAssociationsResponseTypeDef

def get_value() -> ListRepositoryAssociationsResponseTypeDef:
    return {
        "RepositoryAssociationSummaries": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListRepositoryAssociationsResponseTypeDef(TypedDict):
    RepositoryAssociationSummaries: List[RepositoryAssociationSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryAssociationSummaryTypeDef
  2. See ResponseMetadataTypeDef

RecommendationSummaryTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import RecommendationSummaryTypeDef

def get_value() -> RecommendationSummaryTypeDef:
    return {
        "FilePath": ...,
    }
Definition
class RecommendationSummaryTypeDef(TypedDict):
    FilePath: NotRequired[str],
    RecommendationId: NotRequired[str],
    StartLine: NotRequired[int],
    EndLine: NotRequired[int],
    Description: NotRequired[str],
    RecommendationCategory: NotRequired[RecommendationCategoryType],  # (1)
    RuleMetadata: NotRequired[RuleMetadataTypeDef],  # (2)
    Severity: NotRequired[SeverityType],  # (3)
  1. See RecommendationCategoryType
  2. See RuleMetadataTypeDef
  3. See SeverityType

RepositoryTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import RepositoryTypeDef

def get_value() -> RepositoryTypeDef:
    return {
        "CodeCommit": ...,
    }
Definition
class RepositoryTypeDef(TypedDict):
    CodeCommit: NotRequired[CodeCommitRepositoryTypeDef],  # (1)
    Bitbucket: NotRequired[ThirdPartySourceRepositoryTypeDef],  # (2)
    GitHubEnterpriseServer: NotRequired[ThirdPartySourceRepositoryTypeDef],  # (2)
    S3Bucket: NotRequired[S3RepositoryTypeDef],  # (4)
  1. See CodeCommitRepositoryTypeDef
  2. See ThirdPartySourceRepositoryTypeDef
  3. See ThirdPartySourceRepositoryTypeDef
  4. See S3RepositoryTypeDef

RepositoryAssociationTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import RepositoryAssociationTypeDef

def get_value() -> RepositoryAssociationTypeDef:
    return {
        "AssociationId": ...,
    }
Definition
class RepositoryAssociationTypeDef(TypedDict):
    AssociationId: NotRequired[str],
    AssociationArn: NotRequired[str],
    ConnectionArn: NotRequired[str],
    Name: NotRequired[str],
    Owner: NotRequired[str],
    ProviderType: NotRequired[ProviderTypeType],  # (1)
    State: NotRequired[RepositoryAssociationStateType],  # (2)
    StateReason: NotRequired[str],
    LastUpdatedTimeStamp: NotRequired[datetime],
    CreatedTimeStamp: NotRequired[datetime],
    KMSKeyDetails: NotRequired[KMSKeyDetailsTypeDef],  # (3)
    S3RepositoryDetails: NotRequired[S3RepositoryDetailsTypeDef],  # (4)
  1. See ProviderTypeType
  2. See RepositoryAssociationStateType
  3. See KMSKeyDetailsTypeDef
  4. See S3RepositoryDetailsTypeDef

S3BucketRepositoryTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import S3BucketRepositoryTypeDef

def get_value() -> S3BucketRepositoryTypeDef:
    return {
        "Name": ...,
    }
Definition
class S3BucketRepositoryTypeDef(TypedDict):
    Name: str,
    Details: NotRequired[S3RepositoryDetailsTypeDef],  # (1)
  1. See S3RepositoryDetailsTypeDef

ListRecommendationsResponseTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import ListRecommendationsResponseTypeDef

def get_value() -> ListRecommendationsResponseTypeDef:
    return {
        "RecommendationSummaries": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListRecommendationsResponseTypeDef(TypedDict):
    RecommendationSummaries: List[RecommendationSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RecommendationSummaryTypeDef
  2. See ResponseMetadataTypeDef

AssociateRepositoryRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import AssociateRepositoryRequestRequestTypeDef

def get_value() -> AssociateRepositoryRequestRequestTypeDef:
    return {
        "Repository": ...,
    }
Definition
class AssociateRepositoryRequestRequestTypeDef(TypedDict):
    Repository: RepositoryTypeDef,  # (1)
    ClientRequestToken: NotRequired[str],
    Tags: NotRequired[Mapping[str, str]],
    KMSKeyDetails: NotRequired[KMSKeyDetailsTypeDef],  # (2)
  1. See RepositoryTypeDef
  2. See KMSKeyDetailsTypeDef

AssociateRepositoryResponseTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import AssociateRepositoryResponseTypeDef

def get_value() -> AssociateRepositoryResponseTypeDef:
    return {
        "RepositoryAssociation": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateRepositoryResponseTypeDef(TypedDict):
    RepositoryAssociation: RepositoryAssociationTypeDef,  # (1)
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryAssociationTypeDef
  2. See ResponseMetadataTypeDef

DescribeRepositoryAssociationResponseTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import DescribeRepositoryAssociationResponseTypeDef

def get_value() -> DescribeRepositoryAssociationResponseTypeDef:
    return {
        "RepositoryAssociation": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeRepositoryAssociationResponseTypeDef(TypedDict):
    RepositoryAssociation: RepositoryAssociationTypeDef,  # (1)
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryAssociationTypeDef
  2. See ResponseMetadataTypeDef

DisassociateRepositoryResponseTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import DisassociateRepositoryResponseTypeDef

def get_value() -> DisassociateRepositoryResponseTypeDef:
    return {
        "RepositoryAssociation": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisassociateRepositoryResponseTypeDef(TypedDict):
    RepositoryAssociation: RepositoryAssociationTypeDef,  # (1)
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RepositoryAssociationTypeDef
  2. See ResponseMetadataTypeDef

SourceCodeTypeTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import SourceCodeTypeTypeDef

def get_value() -> SourceCodeTypeTypeDef:
    return {
        "CommitDiff": ...,
    }
Definition
class SourceCodeTypeTypeDef(TypedDict):
    CommitDiff: NotRequired[CommitDiffSourceCodeTypeTypeDef],  # (1)
    RepositoryHead: NotRequired[RepositoryHeadSourceCodeTypeTypeDef],  # (2)
    BranchDiff: NotRequired[BranchDiffSourceCodeTypeTypeDef],  # (3)
    S3BucketRepository: NotRequired[S3BucketRepositoryTypeDef],  # (4)
    RequestMetadata: NotRequired[RequestMetadataTypeDef],  # (5)
  1. See CommitDiffSourceCodeTypeTypeDef
  2. See RepositoryHeadSourceCodeTypeTypeDef
  3. See BranchDiffSourceCodeTypeTypeDef
  4. See S3BucketRepositoryTypeDef
  5. See RequestMetadataTypeDef

CodeReviewSummaryTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import CodeReviewSummaryTypeDef

def get_value() -> CodeReviewSummaryTypeDef:
    return {
        "Name": ...,
    }
Definition
class CodeReviewSummaryTypeDef(TypedDict):
    Name: NotRequired[str],
    CodeReviewArn: NotRequired[str],
    RepositoryName: NotRequired[str],
    Owner: NotRequired[str],
    ProviderType: NotRequired[ProviderTypeType],  # (1)
    State: NotRequired[JobStateType],  # (2)
    CreatedTimeStamp: NotRequired[datetime],
    LastUpdatedTimeStamp: NotRequired[datetime],
    Type: NotRequired[TypeType],  # (3)
    PullRequestId: NotRequired[str],
    MetricsSummary: NotRequired[MetricsSummaryTypeDef],  # (4)
    SourceCodeType: NotRequired[SourceCodeTypeTypeDef],  # (5)
  1. See ProviderTypeType
  2. See JobStateType
  3. See TypeType
  4. See MetricsSummaryTypeDef
  5. See SourceCodeTypeTypeDef

CodeReviewTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import CodeReviewTypeDef

def get_value() -> CodeReviewTypeDef:
    return {
        "Name": ...,
    }
Definition
class CodeReviewTypeDef(TypedDict):
    Name: NotRequired[str],
    CodeReviewArn: NotRequired[str],
    RepositoryName: NotRequired[str],
    Owner: NotRequired[str],
    ProviderType: NotRequired[ProviderTypeType],  # (1)
    State: NotRequired[JobStateType],  # (2)
    StateReason: NotRequired[str],
    CreatedTimeStamp: NotRequired[datetime],
    LastUpdatedTimeStamp: NotRequired[datetime],
    Type: NotRequired[TypeType],  # (3)
    PullRequestId: NotRequired[str],
    SourceCodeType: NotRequired[SourceCodeTypeTypeDef],  # (4)
    AssociationArn: NotRequired[str],
    Metrics: NotRequired[MetricsTypeDef],  # (5)
    AnalysisTypes: NotRequired[List[AnalysisTypeType]],  # (6)
    ConfigFileState: NotRequired[ConfigFileStateType],  # (7)
  1. See ProviderTypeType
  2. See JobStateType
  3. See TypeType
  4. See SourceCodeTypeTypeDef
  5. See MetricsTypeDef
  6. See AnalysisTypeType
  7. See ConfigFileStateType

RepositoryAnalysisTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import RepositoryAnalysisTypeDef

def get_value() -> RepositoryAnalysisTypeDef:
    return {
        "RepositoryHead": ...,
    }
Definition
class RepositoryAnalysisTypeDef(TypedDict):
    RepositoryHead: NotRequired[RepositoryHeadSourceCodeTypeTypeDef],  # (1)
    SourceCodeType: NotRequired[SourceCodeTypeTypeDef],  # (2)
  1. See RepositoryHeadSourceCodeTypeTypeDef
  2. See SourceCodeTypeTypeDef

ListCodeReviewsResponseTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import ListCodeReviewsResponseTypeDef

def get_value() -> ListCodeReviewsResponseTypeDef:
    return {
        "CodeReviewSummaries": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListCodeReviewsResponseTypeDef(TypedDict):
    CodeReviewSummaries: List[CodeReviewSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CodeReviewSummaryTypeDef
  2. See ResponseMetadataTypeDef

CreateCodeReviewResponseTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import CreateCodeReviewResponseTypeDef

def get_value() -> CreateCodeReviewResponseTypeDef:
    return {
        "CodeReview": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateCodeReviewResponseTypeDef(TypedDict):
    CodeReview: CodeReviewTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CodeReviewTypeDef
  2. See ResponseMetadataTypeDef

DescribeCodeReviewResponseTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import DescribeCodeReviewResponseTypeDef

def get_value() -> DescribeCodeReviewResponseTypeDef:
    return {
        "CodeReview": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeCodeReviewResponseTypeDef(TypedDict):
    CodeReview: CodeReviewTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CodeReviewTypeDef
  2. See ResponseMetadataTypeDef

CodeReviewTypeTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import CodeReviewTypeTypeDef

def get_value() -> CodeReviewTypeTypeDef:
    return {
        "RepositoryAnalysis": ...,
    }
Definition
class CodeReviewTypeTypeDef(TypedDict):
    RepositoryAnalysis: RepositoryAnalysisTypeDef,  # (1)
    AnalysisTypes: NotRequired[Sequence[AnalysisTypeType]],  # (2)
  1. See RepositoryAnalysisTypeDef
  2. See AnalysisTypeType

CreateCodeReviewRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguru_reviewer.type_defs import CreateCodeReviewRequestRequestTypeDef

def get_value() -> CreateCodeReviewRequestRequestTypeDef:
    return {
        "Name": ...,
        "RepositoryAssociationArn": ...,
        "Type": ...,
    }
Definition
class CreateCodeReviewRequestRequestTypeDef(TypedDict):
    Name: str,
    RepositoryAssociationArn: str,
    Type: CodeReviewTypeTypeDef,  # (1)
    ClientRequestToken: NotRequired[str],
  1. See CodeReviewTypeTypeDef