Skip to content

Type definitions#

Index > CodeGuruProfiler > Type definitions

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

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

BlobTypeDef#

# BlobTypeDef definition

BlobTypeDef = Union[
    str,
    bytes,
    IO[Any],
    StreamingBody,
]

ChannelUnionTypeDef#

# ChannelUnionTypeDef definition

ChannelUnionTypeDef = Union[
    ChannelTypeDef,  # (1)
    ChannelOutputTypeDef,  # (2)
]
  1. See ChannelTypeDef
  2. See ChannelOutputTypeDef

FrameMetricUnionTypeDef#

# FrameMetricUnionTypeDef definition

FrameMetricUnionTypeDef = Union[
    FrameMetricTypeDef,  # (1)
    FrameMetricOutputTypeDef,  # (2)
]
  1. See FrameMetricTypeDef
  2. See FrameMetricOutputTypeDef

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

AgentConfigurationTypeDef#

# AgentConfigurationTypeDef definition

class AgentConfigurationTypeDef(TypedDict):
    periodInSeconds: int,
    shouldProfile: bool,
    agentParameters: NotRequired[Dict[AgentParameterFieldType, str]],  # (1)
  1. See AgentParameterFieldType

AgentOrchestrationConfigTypeDef#

# AgentOrchestrationConfigTypeDef definition

class AgentOrchestrationConfigTypeDef(TypedDict):
    profilingEnabled: bool,

AggregatedProfileTimeTypeDef#

# AggregatedProfileTimeTypeDef definition

class AggregatedProfileTimeTypeDef(TypedDict):
    period: NotRequired[AggregationPeriodType],  # (1)
    start: NotRequired[datetime],
  1. See AggregationPeriodType

UserFeedbackTypeDef#

# UserFeedbackTypeDef definition

class UserFeedbackTypeDef(TypedDict):
    type: FeedbackTypeType,  # (1)
  1. See FeedbackTypeType

MetricTypeDef#

# MetricTypeDef definition

class MetricTypeDef(TypedDict):
    frameName: str,
    threadStates: List[str],
    type: MetricTypeType,  # (1)
  1. See MetricTypeType

TimestampStructureTypeDef#

# TimestampStructureTypeDef definition

class TimestampStructureTypeDef(TypedDict):
    value: datetime,

ChannelOutputTypeDef#

# ChannelOutputTypeDef definition

class ChannelOutputTypeDef(TypedDict):
    eventPublishers: List[EventPublisherType],  # (1)
    uri: str,
    id: NotRequired[str],
  1. See EventPublisherType

ChannelTypeDef#

# ChannelTypeDef definition

class ChannelTypeDef(TypedDict):
    eventPublishers: Sequence[EventPublisherType],  # (1)
    uri: str,
    id: NotRequired[str],
  1. See EventPublisherType

ConfigureAgentRequestRequestTypeDef#

# ConfigureAgentRequestRequestTypeDef definition

class ConfigureAgentRequestRequestTypeDef(TypedDict):
    profilingGroupName: str,
    fleetInstanceId: NotRequired[str],
    metadata: NotRequired[Mapping[MetadataFieldType, str]],  # (1)
  1. See MetadataFieldType

DeleteProfilingGroupRequestRequestTypeDef#

# DeleteProfilingGroupRequestRequestTypeDef definition

class DeleteProfilingGroupRequestRequestTypeDef(TypedDict):
    profilingGroupName: str,

DescribeProfilingGroupRequestRequestTypeDef#

# DescribeProfilingGroupRequestRequestTypeDef definition

class DescribeProfilingGroupRequestRequestTypeDef(TypedDict):
    profilingGroupName: str,

FindingsReportSummaryTypeDef#

# FindingsReportSummaryTypeDef definition

class FindingsReportSummaryTypeDef(TypedDict):
    id: NotRequired[str],
    profileEndTime: NotRequired[datetime],
    profileStartTime: NotRequired[datetime],
    profilingGroupName: NotRequired[str],
    totalNumberOfFindings: NotRequired[int],

FrameMetricOutputTypeDef#

# FrameMetricOutputTypeDef definition

class FrameMetricOutputTypeDef(TypedDict):
    frameName: str,
    threadStates: List[str],
    type: MetricTypeType,  # (1)
  1. See MetricTypeType

FrameMetricTypeDef#

# FrameMetricTypeDef definition

class FrameMetricTypeDef(TypedDict):
    frameName: str,
    threadStates: Sequence[str],
    type: MetricTypeType,  # (1)
  1. See MetricTypeType

GetFindingsReportAccountSummaryRequestRequestTypeDef#

# GetFindingsReportAccountSummaryRequestRequestTypeDef definition

class GetFindingsReportAccountSummaryRequestRequestTypeDef(TypedDict):
    dailyReportsOnly: NotRequired[bool],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

GetNotificationConfigurationRequestRequestTypeDef#

# GetNotificationConfigurationRequestRequestTypeDef definition

class GetNotificationConfigurationRequestRequestTypeDef(TypedDict):
    profilingGroupName: str,

GetPolicyRequestRequestTypeDef#

# GetPolicyRequestRequestTypeDef definition

class GetPolicyRequestRequestTypeDef(TypedDict):
    profilingGroupName: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

ProfileTimeTypeDef#

# ProfileTimeTypeDef definition

class ProfileTimeTypeDef(TypedDict):
    start: NotRequired[datetime],

ListProfilingGroupsRequestRequestTypeDef#

# ListProfilingGroupsRequestRequestTypeDef definition

class ListProfilingGroupsRequestRequestTypeDef(TypedDict):
    includeDescription: NotRequired[bool],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

MatchTypeDef#

# MatchTypeDef definition

class MatchTypeDef(TypedDict):
    frameAddress: NotRequired[str],
    targetFramesIndex: NotRequired[int],
    thresholdBreachValue: NotRequired[float],

PatternTypeDef#

# PatternTypeDef 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],

PutPermissionRequestRequestTypeDef#

# PutPermissionRequestRequestTypeDef definition

class PutPermissionRequestRequestTypeDef(TypedDict):
    actionGroup: ActionGroupType,  # (1)
    principals: Sequence[str],
    profilingGroupName: str,
    revisionId: NotRequired[str],
  1. See ActionGroupType

RemoveNotificationChannelRequestRequestTypeDef#

# RemoveNotificationChannelRequestRequestTypeDef definition

class RemoveNotificationChannelRequestRequestTypeDef(TypedDict):
    channelId: str,
    profilingGroupName: str,

RemovePermissionRequestRequestTypeDef#

# RemovePermissionRequestRequestTypeDef definition

class RemovePermissionRequestRequestTypeDef(TypedDict):
    actionGroup: ActionGroupType,  # (1)
    profilingGroupName: str,
    revisionId: str,
  1. See ActionGroupType

SubmitFeedbackRequestRequestTypeDef#

# SubmitFeedbackRequestRequestTypeDef definition

class SubmitFeedbackRequestRequestTypeDef(TypedDict):
    anomalyInstanceId: str,
    profilingGroupName: str,
    type: FeedbackTypeType,  # (1)
    comment: NotRequired[str],
  1. See FeedbackTypeType

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):