Skip to content

Typed dictionaries

Index > CodeGuruProfiler > Typed dictionaries

Auto-generated documentation for CodeGuruProfiler type annotations stubs module mypy-boto3-codeguruprofiler.

ChannelTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import ChannelTypeDef

def get_value() -> ChannelTypeDef:
    return {
        "eventPublishers": ...,
        "uri": ...,
    }
Definition
class ChannelTypeDef(TypedDict):
    eventPublishers: Sequence[EventPublisherType],  # (1)
    uri: str,
    id: NotRequired[str],
  1. See EventPublisherType

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.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,

AgentConfigurationTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import AgentConfigurationTypeDef

def get_value() -> AgentConfigurationTypeDef:
    return {
        "periodInSeconds": ...,
        "shouldProfile": ...,
    }
Definition
class AgentConfigurationTypeDef(TypedDict):
    periodInSeconds: int,
    shouldProfile: bool,
    agentParameters: NotRequired[Dict[AgentParameterFieldType, str]],  # (1)
  1. See AgentParameterFieldType

AgentOrchestrationConfigTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import AgentOrchestrationConfigTypeDef

def get_value() -> AgentOrchestrationConfigTypeDef:
    return {
        "profilingEnabled": ...,
    }
Definition
class AgentOrchestrationConfigTypeDef(TypedDict):
    profilingEnabled: bool,

AggregatedProfileTimeTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import AggregatedProfileTimeTypeDef

def get_value() -> AggregatedProfileTimeTypeDef:
    return {
        "period": ...,
    }
Definition
class AggregatedProfileTimeTypeDef(TypedDict):
    period: NotRequired[AggregationPeriodType],  # (1)
    start: NotRequired[datetime],
  1. See AggregationPeriodType

UserFeedbackTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import UserFeedbackTypeDef

def get_value() -> UserFeedbackTypeDef:
    return {
        "type": ...,
    }
Definition
class UserFeedbackTypeDef(TypedDict):
    type: FeedbackTypeType,  # (1)
  1. See FeedbackTypeType

MetricTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import MetricTypeDef

def get_value() -> MetricTypeDef:
    return {
        "frameName": ...,
        "threadStates": ...,
        "type": ...,
    }
Definition
class MetricTypeDef(TypedDict):
    frameName: str,
    threadStates: List[str],
    type: MetricTypeType,  # (1)
  1. See MetricTypeType

FrameMetricTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import FrameMetricTypeDef

def get_value() -> FrameMetricTypeDef:
    return {
        "frameName": ...,
        "threadStates": ...,
        "type": ...,
    }
Definition
class FrameMetricTypeDef(TypedDict):
    frameName: str,
    threadStates: Sequence[str],
    type: MetricTypeType,  # (1)
  1. See MetricTypeType

TimestampStructureTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import TimestampStructureTypeDef

def get_value() -> TimestampStructureTypeDef:
    return {
        "value": ...,
    }
Definition
class TimestampStructureTypeDef(TypedDict):
    value: datetime,

ConfigureAgentRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import ConfigureAgentRequestRequestTypeDef

def get_value() -> ConfigureAgentRequestRequestTypeDef:
    return {
        "profilingGroupName": ...,
    }
Definition
class ConfigureAgentRequestRequestTypeDef(TypedDict):
    profilingGroupName: str,
    fleetInstanceId: NotRequired[str],
    metadata: NotRequired[Mapping[MetadataFieldType, str]],  # (1)
  1. See MetadataFieldType

DeleteProfilingGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import DeleteProfilingGroupRequestRequestTypeDef

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

DescribeProfilingGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import DescribeProfilingGroupRequestRequestTypeDef

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

FindingsReportSummaryTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import FindingsReportSummaryTypeDef

def get_value() -> FindingsReportSummaryTypeDef:
    return {
        "id": ...,
    }
Definition
class FindingsReportSummaryTypeDef(TypedDict):
    id: NotRequired[str],
    profileEndTime: NotRequired[datetime],
    profileStartTime: NotRequired[datetime],
    profilingGroupName: NotRequired[str],
    totalNumberOfFindings: NotRequired[int],

GetFindingsReportAccountSummaryRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import GetFindingsReportAccountSummaryRequestRequestTypeDef

def get_value() -> GetFindingsReportAccountSummaryRequestRequestTypeDef:
    return {
        "dailyReportsOnly": ...,
    }
Definition
class GetFindingsReportAccountSummaryRequestRequestTypeDef(TypedDict):
    dailyReportsOnly: NotRequired[bool],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

GetNotificationConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import GetNotificationConfigurationRequestRequestTypeDef

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

GetPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import GetPolicyRequestRequestTypeDef

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

GetProfileRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import GetProfileRequestRequestTypeDef

def get_value() -> GetProfileRequestRequestTypeDef:
    return {
        "profilingGroupName": ...,
    }
Definition
class GetProfileRequestRequestTypeDef(TypedDict):
    profilingGroupName: str,
    accept: NotRequired[str],
    endTime: NotRequired[Union[datetime, str]],
    maxDepth: NotRequired[int],
    period: NotRequired[str],
    startTime: NotRequired[Union[datetime, str]],

GetRecommendationsRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import GetRecommendationsRequestRequestTypeDef

def get_value() -> GetRecommendationsRequestRequestTypeDef:
    return {
        "endTime": ...,
        "profilingGroupName": ...,
        "startTime": ...,
    }
Definition
class GetRecommendationsRequestRequestTypeDef(TypedDict):
    endTime: Union[datetime, str],
    profilingGroupName: str,
    startTime: Union[datetime, str],
    locale: NotRequired[str],

ListFindingsReportsRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import ListFindingsReportsRequestRequestTypeDef

def get_value() -> ListFindingsReportsRequestRequestTypeDef:
    return {
        "endTime": ...,
        "profilingGroupName": ...,
        "startTime": ...,
    }
Definition
class ListFindingsReportsRequestRequestTypeDef(TypedDict):
    endTime: Union[datetime, str],
    profilingGroupName: str,
    startTime: Union[datetime, str],
    dailyReportsOnly: NotRequired[bool],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import PaginatorConfigTypeDef

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

ListProfileTimesRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import ListProfileTimesRequestRequestTypeDef

def get_value() -> ListProfileTimesRequestRequestTypeDef:
    return {
        "endTime": ...,
        "period": ...,
        "profilingGroupName": ...,
        "startTime": ...,
    }
Definition
class ListProfileTimesRequestRequestTypeDef(TypedDict):
    endTime: Union[datetime, str],
    period: AggregationPeriodType,  # (1)
    profilingGroupName: str,
    startTime: Union[datetime, str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    orderBy: NotRequired[OrderByType],  # (2)
  1. See AggregationPeriodType
  2. See OrderByType

ProfileTimeTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import ProfileTimeTypeDef

def get_value() -> ProfileTimeTypeDef:
    return {
        "start": ...,
    }
Definition
class ProfileTimeTypeDef(TypedDict):
    start: NotRequired[datetime],

ListProfilingGroupsRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import ListProfilingGroupsRequestRequestTypeDef

def get_value() -> ListProfilingGroupsRequestRequestTypeDef:
    return {
        "includeDescription": ...,
    }
Definition
class ListProfilingGroupsRequestRequestTypeDef(TypedDict):
    includeDescription: NotRequired[bool],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import ListTagsForResourceRequestRequestTypeDef

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

MatchTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import MatchTypeDef

def get_value() -> MatchTypeDef:
    return {
        "frameAddress": ...,
    }
Definition
class MatchTypeDef(TypedDict):
    frameAddress: NotRequired[str],
    targetFramesIndex: NotRequired[int],
    thresholdBreachValue: NotRequired[float],

PatternTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import PatternTypeDef

def get_value() -> PatternTypeDef:
    return {
        "countersToAggregate": ...,
    }
Definition
class PatternTypeDef(TypedDict):
    countersToAggregate: NotRequired[List[str]],
    description: NotRequired[str],
    id: NotRequired[str],
    name: NotRequired[str],
    resolutionSteps: NotRequired[str],
    targetFrames: NotRequired[List[List[str]]],
    thresholdPercent: NotRequired[float],

PostAgentProfileRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import PostAgentProfileRequestRequestTypeDef

def get_value() -> PostAgentProfileRequestRequestTypeDef:
    return {
        "agentProfile": ...,
        "contentType": ...,
        "profilingGroupName": ...,
    }
Definition
class PostAgentProfileRequestRequestTypeDef(TypedDict):
    agentProfile: Union[str, bytes, IO[Any], StreamingBody],
    contentType: str,
    profilingGroupName: str,
    profileToken: NotRequired[str],

PutPermissionRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import PutPermissionRequestRequestTypeDef

def get_value() -> PutPermissionRequestRequestTypeDef:
    return {
        "actionGroup": ...,
        "principals": ...,
        "profilingGroupName": ...,
    }
Definition
class PutPermissionRequestRequestTypeDef(TypedDict):
    actionGroup: ActionGroupType,  # (1)
    principals: Sequence[str],
    profilingGroupName: str,
    revisionId: NotRequired[str],
  1. See ActionGroupType

RemoveNotificationChannelRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import RemoveNotificationChannelRequestRequestTypeDef

def get_value() -> RemoveNotificationChannelRequestRequestTypeDef:
    return {
        "channelId": ...,
        "profilingGroupName": ...,
    }
Definition
class RemoveNotificationChannelRequestRequestTypeDef(TypedDict):
    channelId: str,
    profilingGroupName: str,

RemovePermissionRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import RemovePermissionRequestRequestTypeDef

def get_value() -> RemovePermissionRequestRequestTypeDef:
    return {
        "actionGroup": ...,
        "profilingGroupName": ...,
        "revisionId": ...,
    }
Definition
class RemovePermissionRequestRequestTypeDef(TypedDict):
    actionGroup: ActionGroupType,  # (1)
    profilingGroupName: str,
    revisionId: str,
  1. See ActionGroupType

SubmitFeedbackRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import SubmitFeedbackRequestRequestTypeDef

def get_value() -> SubmitFeedbackRequestRequestTypeDef:
    return {
        "anomalyInstanceId": ...,
        "profilingGroupName": ...,
        "type": ...,
    }
Definition
class SubmitFeedbackRequestRequestTypeDef(TypedDict):
    anomalyInstanceId: str,
    profilingGroupName: str,
    type: FeedbackTypeType,  # (1)
    comment: NotRequired[str],
  1. See FeedbackTypeType

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.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_codeguruprofiler.type_defs import UntagResourceRequestRequestTypeDef

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

AddNotificationChannelsRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import AddNotificationChannelsRequestRequestTypeDef

def get_value() -> AddNotificationChannelsRequestRequestTypeDef:
    return {
        "channels": ...,
        "profilingGroupName": ...,
    }
Definition
class AddNotificationChannelsRequestRequestTypeDef(TypedDict):
    channels: Sequence[ChannelTypeDef],  # (1)
    profilingGroupName: str,
  1. See ChannelTypeDef

NotificationConfigurationTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import NotificationConfigurationTypeDef

def get_value() -> NotificationConfigurationTypeDef:
    return {
        "channels": ...,
    }
Definition
class NotificationConfigurationTypeDef(TypedDict):
    channels: NotRequired[List[ChannelTypeDef]],  # (1)
  1. See ChannelTypeDef

GetPolicyResponseTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import GetPolicyResponseTypeDef

def get_value() -> GetPolicyResponseTypeDef:
    return {
        "policy": ...,
        "revisionId": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetPolicyResponseTypeDef(TypedDict):
    policy: str,
    revisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetProfileResponseTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import GetProfileResponseTypeDef

def get_value() -> GetProfileResponseTypeDef:
    return {
        "contentEncoding": ...,
        "contentType": ...,
        "profile": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetProfileResponseTypeDef(TypedDict):
    contentEncoding: str,
    contentType: str,
    profile: StreamingBody,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.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

PutPermissionResponseTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import PutPermissionResponseTypeDef

def get_value() -> PutPermissionResponseTypeDef:
    return {
        "policy": ...,
        "revisionId": ...,
        "ResponseMetadata": ...,
    }
Definition
class PutPermissionResponseTypeDef(TypedDict):
    policy: str,
    revisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

RemovePermissionResponseTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import RemovePermissionResponseTypeDef

def get_value() -> RemovePermissionResponseTypeDef:
    return {
        "policy": ...,
        "revisionId": ...,
        "ResponseMetadata": ...,
    }
Definition
class RemovePermissionResponseTypeDef(TypedDict):
    policy: str,
    revisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ConfigureAgentResponseTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import ConfigureAgentResponseTypeDef

def get_value() -> ConfigureAgentResponseTypeDef:
    return {
        "configuration": ...,
        "ResponseMetadata": ...,
    }
Definition
class ConfigureAgentResponseTypeDef(TypedDict):
    configuration: AgentConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AgentConfigurationTypeDef
  2. See ResponseMetadataTypeDef

CreateProfilingGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import CreateProfilingGroupRequestRequestTypeDef

def get_value() -> CreateProfilingGroupRequestRequestTypeDef:
    return {
        "clientToken": ...,
        "profilingGroupName": ...,
    }
Definition
class CreateProfilingGroupRequestRequestTypeDef(TypedDict):
    clientToken: str,
    profilingGroupName: str,
    agentOrchestrationConfig: NotRequired[AgentOrchestrationConfigTypeDef],  # (1)
    computePlatform: NotRequired[ComputePlatformType],  # (2)
    tags: NotRequired[Mapping[str, str]],
  1. See AgentOrchestrationConfigTypeDef
  2. See ComputePlatformType

UpdateProfilingGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import UpdateProfilingGroupRequestRequestTypeDef

def get_value() -> UpdateProfilingGroupRequestRequestTypeDef:
    return {
        "agentOrchestrationConfig": ...,
        "profilingGroupName": ...,
    }
Definition
class UpdateProfilingGroupRequestRequestTypeDef(TypedDict):
    agentOrchestrationConfig: AgentOrchestrationConfigTypeDef,  # (1)
    profilingGroupName: str,
  1. See AgentOrchestrationConfigTypeDef

ProfilingStatusTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import ProfilingStatusTypeDef

def get_value() -> ProfilingStatusTypeDef:
    return {
        "latestAgentOrchestratedAt": ...,
    }
Definition
class ProfilingStatusTypeDef(TypedDict):
    latestAgentOrchestratedAt: NotRequired[datetime],
    latestAgentProfileReportedAt: NotRequired[datetime],
    latestAggregatedProfile: NotRequired[AggregatedProfileTimeTypeDef],  # (1)
  1. See AggregatedProfileTimeTypeDef

AnomalyInstanceTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import AnomalyInstanceTypeDef

def get_value() -> AnomalyInstanceTypeDef:
    return {
        "id": ...,
        "startTime": ...,
    }
Definition
class AnomalyInstanceTypeDef(TypedDict):
    id: str,
    startTime: datetime,
    endTime: NotRequired[datetime],
    userFeedback: NotRequired[UserFeedbackTypeDef],  # (1)
  1. See UserFeedbackTypeDef

BatchGetFrameMetricDataRequestRequestTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import BatchGetFrameMetricDataRequestRequestTypeDef

def get_value() -> BatchGetFrameMetricDataRequestRequestTypeDef:
    return {
        "profilingGroupName": ...,
    }
Definition
class BatchGetFrameMetricDataRequestRequestTypeDef(TypedDict):
    profilingGroupName: str,
    endTime: NotRequired[Union[datetime, str]],
    frameMetrics: NotRequired[Sequence[FrameMetricTypeDef]],  # (1)
    period: NotRequired[str],
    startTime: NotRequired[Union[datetime, str]],
    targetResolution: NotRequired[AggregationPeriodType],  # (2)
  1. See FrameMetricTypeDef
  2. See AggregationPeriodType

FrameMetricDatumTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import FrameMetricDatumTypeDef

def get_value() -> FrameMetricDatumTypeDef:
    return {
        "frameMetric": ...,
        "values": ...,
    }
Definition
class FrameMetricDatumTypeDef(TypedDict):
    frameMetric: FrameMetricTypeDef,  # (1)
    values: List[float],
  1. See FrameMetricTypeDef

GetFindingsReportAccountSummaryResponseTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import GetFindingsReportAccountSummaryResponseTypeDef

def get_value() -> GetFindingsReportAccountSummaryResponseTypeDef:
    return {
        "nextToken": ...,
        "reportSummaries": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetFindingsReportAccountSummaryResponseTypeDef(TypedDict):
    nextToken: str,
    reportSummaries: List[FindingsReportSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FindingsReportSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListFindingsReportsResponseTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import ListFindingsReportsResponseTypeDef

def get_value() -> ListFindingsReportsResponseTypeDef:
    return {
        "findingsReportSummaries": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListFindingsReportsResponseTypeDef(TypedDict):
    findingsReportSummaries: List[FindingsReportSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FindingsReportSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListProfileTimesRequestListProfileTimesPaginateTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import ListProfileTimesRequestListProfileTimesPaginateTypeDef

def get_value() -> ListProfileTimesRequestListProfileTimesPaginateTypeDef:
    return {
        "endTime": ...,
        "period": ...,
        "profilingGroupName": ...,
        "startTime": ...,
    }
Definition
class ListProfileTimesRequestListProfileTimesPaginateTypeDef(TypedDict):
    endTime: Union[datetime, str],
    period: AggregationPeriodType,  # (1)
    profilingGroupName: str,
    startTime: Union[datetime, str],
    orderBy: NotRequired[OrderByType],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See AggregationPeriodType
  2. See OrderByType
  3. See PaginatorConfigTypeDef

ListProfileTimesResponseTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import ListProfileTimesResponseTypeDef

def get_value() -> ListProfileTimesResponseTypeDef:
    return {
        "nextToken": ...,
        "profileTimes": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListProfileTimesResponseTypeDef(TypedDict):
    nextToken: str,
    profileTimes: List[ProfileTimeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProfileTimeTypeDef
  2. See ResponseMetadataTypeDef

RecommendationTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import RecommendationTypeDef

def get_value() -> RecommendationTypeDef:
    return {
        "allMatchesCount": ...,
        "allMatchesSum": ...,
        "endTime": ...,
        "pattern": ...,
        "startTime": ...,
        "topMatches": ...,
    }
Definition
class RecommendationTypeDef(TypedDict):
    allMatchesCount: int,
    allMatchesSum: float,
    endTime: datetime,
    pattern: PatternTypeDef,  # (1)
    startTime: datetime,
    topMatches: List[MatchTypeDef],  # (2)
  1. See PatternTypeDef
  2. See MatchTypeDef

AddNotificationChannelsResponseTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import AddNotificationChannelsResponseTypeDef

def get_value() -> AddNotificationChannelsResponseTypeDef:
    return {
        "notificationConfiguration": ...,
        "ResponseMetadata": ...,
    }
Definition
class AddNotificationChannelsResponseTypeDef(TypedDict):
    notificationConfiguration: NotificationConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NotificationConfigurationTypeDef
  2. See ResponseMetadataTypeDef

GetNotificationConfigurationResponseTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import GetNotificationConfigurationResponseTypeDef

def get_value() -> GetNotificationConfigurationResponseTypeDef:
    return {
        "notificationConfiguration": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetNotificationConfigurationResponseTypeDef(TypedDict):
    notificationConfiguration: NotificationConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NotificationConfigurationTypeDef
  2. See ResponseMetadataTypeDef

RemoveNotificationChannelResponseTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import RemoveNotificationChannelResponseTypeDef

def get_value() -> RemoveNotificationChannelResponseTypeDef:
    return {
        "notificationConfiguration": ...,
        "ResponseMetadata": ...,
    }
Definition
class RemoveNotificationChannelResponseTypeDef(TypedDict):
    notificationConfiguration: NotificationConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NotificationConfigurationTypeDef
  2. See ResponseMetadataTypeDef

ProfilingGroupDescriptionTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import ProfilingGroupDescriptionTypeDef

def get_value() -> ProfilingGroupDescriptionTypeDef:
    return {
        "agentOrchestrationConfig": ...,
    }
Definition
class ProfilingGroupDescriptionTypeDef(TypedDict):
    agentOrchestrationConfig: NotRequired[AgentOrchestrationConfigTypeDef],  # (1)
    arn: NotRequired[str],
    computePlatform: NotRequired[ComputePlatformType],  # (2)
    createdAt: NotRequired[datetime],
    name: NotRequired[str],
    profilingStatus: NotRequired[ProfilingStatusTypeDef],  # (3)
    tags: NotRequired[Dict[str, str]],
    updatedAt: NotRequired[datetime],
  1. See AgentOrchestrationConfigTypeDef
  2. See ComputePlatformType
  3. See ProfilingStatusTypeDef

AnomalyTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import AnomalyTypeDef

def get_value() -> AnomalyTypeDef:
    return {
        "instances": ...,
        "metric": ...,
        "reason": ...,
    }
Definition
class AnomalyTypeDef(TypedDict):
    instances: List[AnomalyInstanceTypeDef],  # (1)
    metric: MetricTypeDef,  # (2)
    reason: str,
  1. See AnomalyInstanceTypeDef
  2. See MetricTypeDef

BatchGetFrameMetricDataResponseTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import BatchGetFrameMetricDataResponseTypeDef

def get_value() -> BatchGetFrameMetricDataResponseTypeDef:
    return {
        "endTime": ...,
        "endTimes": ...,
        "frameMetricData": ...,
        "resolution": ...,
        "startTime": ...,
        "unprocessedEndTimes": ...,
        "ResponseMetadata": ...,
    }
Definition
class BatchGetFrameMetricDataResponseTypeDef(TypedDict):
    endTime: datetime,
    endTimes: List[TimestampStructureTypeDef],  # (1)
    frameMetricData: List[FrameMetricDatumTypeDef],  # (2)
    resolution: AggregationPeriodType,  # (3)
    startTime: datetime,
    unprocessedEndTimes: Dict[str, List[TimestampStructureTypeDef]],  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See TimestampStructureTypeDef
  2. See FrameMetricDatumTypeDef
  3. See AggregationPeriodType
  4. See TimestampStructureTypeDef
  5. See ResponseMetadataTypeDef

CreateProfilingGroupResponseTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import CreateProfilingGroupResponseTypeDef

def get_value() -> CreateProfilingGroupResponseTypeDef:
    return {
        "profilingGroup": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateProfilingGroupResponseTypeDef(TypedDict):
    profilingGroup: ProfilingGroupDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProfilingGroupDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DescribeProfilingGroupResponseTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import DescribeProfilingGroupResponseTypeDef

def get_value() -> DescribeProfilingGroupResponseTypeDef:
    return {
        "profilingGroup": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeProfilingGroupResponseTypeDef(TypedDict):
    profilingGroup: ProfilingGroupDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProfilingGroupDescriptionTypeDef
  2. See ResponseMetadataTypeDef

ListProfilingGroupsResponseTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import ListProfilingGroupsResponseTypeDef

def get_value() -> ListProfilingGroupsResponseTypeDef:
    return {
        "nextToken": ...,
        "profilingGroupNames": ...,
        "profilingGroups": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListProfilingGroupsResponseTypeDef(TypedDict):
    nextToken: str,
    profilingGroupNames: List[str],
    profilingGroups: List[ProfilingGroupDescriptionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProfilingGroupDescriptionTypeDef
  2. See ResponseMetadataTypeDef

UpdateProfilingGroupResponseTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import UpdateProfilingGroupResponseTypeDef

def get_value() -> UpdateProfilingGroupResponseTypeDef:
    return {
        "profilingGroup": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateProfilingGroupResponseTypeDef(TypedDict):
    profilingGroup: ProfilingGroupDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProfilingGroupDescriptionTypeDef
  2. See ResponseMetadataTypeDef

GetRecommendationsResponseTypeDef

Usage Example
from mypy_boto3_codeguruprofiler.type_defs import GetRecommendationsResponseTypeDef

def get_value() -> GetRecommendationsResponseTypeDef:
    return {
        "anomalies": ...,
        "profileEndTime": ...,
        "profileStartTime": ...,
        "profilingGroupName": ...,
        "recommendations": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetRecommendationsResponseTypeDef(TypedDict):
    anomalies: List[AnomalyTypeDef],  # (1)
    profileEndTime: datetime,
    profileStartTime: datetime,
    profilingGroupName: str,
    recommendations: List[RecommendationTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AnomalyTypeDef
  2. See RecommendationTypeDef
  3. See ResponseMetadataTypeDef