Type definitions#
Index > CodeGuruProfiler > Type definitions
Auto-generated documentation for CodeGuruProfiler type annotations stubs module types-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)
]
- See ChannelTypeDef
- See ChannelOutputTypeDef
FrameMetricUnionTypeDef#
# FrameMetricUnionTypeDef definition
FrameMetricUnionTypeDef = Union[
FrameMetricTypeDef, # (1)
FrameMetricOutputTypeDef, # (2)
]
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)
AgentOrchestrationConfigTypeDef#
# AgentOrchestrationConfigTypeDef definition
class AgentOrchestrationConfigTypeDef(TypedDict):
profilingEnabled: bool,
AggregatedProfileTimeTypeDef#
# AggregatedProfileTimeTypeDef definition
class AggregatedProfileTimeTypeDef(TypedDict):
period: NotRequired[AggregationPeriodType], # (1)
start: NotRequired[datetime],
UserFeedbackTypeDef#
# UserFeedbackTypeDef definition
class UserFeedbackTypeDef(TypedDict):
type: FeedbackTypeType, # (1)
- See FeedbackTypeType
MetricTypeDef#
# MetricTypeDef definition
class MetricTypeDef(TypedDict):
frameName: str,
threadStates: list[str],
type: MetricTypeType, # (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],
ChannelTypeDef#
# ChannelTypeDef definition
class ChannelTypeDef(TypedDict):
eventPublishers: Sequence[EventPublisherType], # (1)
uri: str,
id: NotRequired[str],
ConfigureAgentRequestRequestTypeDef#
# ConfigureAgentRequestRequestTypeDef definition
class ConfigureAgentRequestRequestTypeDef(TypedDict):
profilingGroupName: str,
fleetInstanceId: NotRequired[str],
metadata: NotRequired[Mapping[MetadataFieldType, str]], # (1)
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)
- See MetricTypeType
FrameMetricTypeDef#
# FrameMetricTypeDef definition
class FrameMetricTypeDef(TypedDict):
frameName: str,
threadStates: Sequence[str],
type: MetricTypeType, # (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],
- 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,
- See ActionGroupType
SubmitFeedbackRequestRequestTypeDef#
# SubmitFeedbackRequestRequestTypeDef definition
class SubmitFeedbackRequestRequestTypeDef(TypedDict):
anomalyInstanceId: str,
profilingGroupName: str,
type: FeedbackTypeType, # (1)
comment: NotRequired[str],
- See FeedbackTypeType
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tags: Mapping[str, str],
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tagKeys: Sequence[str],
GetPolicyResponseTypeDef#
# GetPolicyResponseTypeDef definition
class GetPolicyResponseTypeDef(TypedDict):
policy: str,
revisionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetProfileResponseTypeDef#
# GetProfileResponseTypeDef definition
class GetProfileResponseTypeDef(TypedDict):
contentEncoding: str,
contentType: str,
profile: StreamingBody,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
tags: dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
PutPermissionResponseTypeDef#
# PutPermissionResponseTypeDef definition
class PutPermissionResponseTypeDef(TypedDict):
policy: str,
revisionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
RemovePermissionResponseTypeDef#
# RemovePermissionResponseTypeDef definition
class RemovePermissionResponseTypeDef(TypedDict):
policy: str,
revisionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ConfigureAgentResponseTypeDef#
# ConfigureAgentResponseTypeDef definition
class ConfigureAgentResponseTypeDef(TypedDict):
configuration: AgentConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateProfilingGroupRequestRequestTypeDef#
# CreateProfilingGroupRequestRequestTypeDef definition
class CreateProfilingGroupRequestRequestTypeDef(TypedDict):
clientToken: str,
profilingGroupName: str,
agentOrchestrationConfig: NotRequired[AgentOrchestrationConfigTypeDef], # (1)
computePlatform: NotRequired[ComputePlatformType], # (2)
tags: NotRequired[Mapping[str, str]],
UpdateProfilingGroupRequestRequestTypeDef#
# UpdateProfilingGroupRequestRequestTypeDef definition
class UpdateProfilingGroupRequestRequestTypeDef(TypedDict):
agentOrchestrationConfig: AgentOrchestrationConfigTypeDef, # (1)
profilingGroupName: str,
ProfilingStatusTypeDef#
# ProfilingStatusTypeDef definition
class ProfilingStatusTypeDef(TypedDict):
latestAgentOrchestratedAt: NotRequired[datetime],
latestAgentProfileReportedAt: NotRequired[datetime],
latestAggregatedProfile: NotRequired[AggregatedProfileTimeTypeDef], # (1)
AnomalyInstanceTypeDef#
# AnomalyInstanceTypeDef definition
class AnomalyInstanceTypeDef(TypedDict):
id: str,
startTime: datetime,
endTime: NotRequired[datetime],
userFeedback: NotRequired[UserFeedbackTypeDef], # (1)
GetProfileRequestRequestTypeDef#
# GetProfileRequestRequestTypeDef definition
class GetProfileRequestRequestTypeDef(TypedDict):
profilingGroupName: str,
accept: NotRequired[str],
endTime: NotRequired[TimestampTypeDef],
maxDepth: NotRequired[int],
period: NotRequired[str],
startTime: NotRequired[TimestampTypeDef],
GetRecommendationsRequestRequestTypeDef#
# GetRecommendationsRequestRequestTypeDef definition
class GetRecommendationsRequestRequestTypeDef(TypedDict):
endTime: TimestampTypeDef,
profilingGroupName: str,
startTime: TimestampTypeDef,
locale: NotRequired[str],
ListFindingsReportsRequestRequestTypeDef#
# ListFindingsReportsRequestRequestTypeDef definition
class ListFindingsReportsRequestRequestTypeDef(TypedDict):
endTime: TimestampTypeDef,
profilingGroupName: str,
startTime: TimestampTypeDef,
dailyReportsOnly: NotRequired[bool],
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListProfileTimesRequestRequestTypeDef#
# ListProfileTimesRequestRequestTypeDef definition
class ListProfileTimesRequestRequestTypeDef(TypedDict):
endTime: TimestampTypeDef,
period: AggregationPeriodType, # (1)
profilingGroupName: str,
startTime: TimestampTypeDef,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
orderBy: NotRequired[OrderByType], # (2)
- See AggregationPeriodType
- See OrderByType
PostAgentProfileRequestRequestTypeDef#
# PostAgentProfileRequestRequestTypeDef definition
class PostAgentProfileRequestRequestTypeDef(TypedDict):
agentProfile: BlobTypeDef,
contentType: str,
profilingGroupName: str,
profileToken: NotRequired[str],
NotificationConfigurationTypeDef#
# NotificationConfigurationTypeDef definition
class NotificationConfigurationTypeDef(TypedDict):
channels: NotRequired[list[ChannelOutputTypeDef]], # (1)
GetFindingsReportAccountSummaryResponseTypeDef#
# GetFindingsReportAccountSummaryResponseTypeDef definition
class GetFindingsReportAccountSummaryResponseTypeDef(TypedDict):
reportSummaries: list[FindingsReportSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListFindingsReportsResponseTypeDef#
# ListFindingsReportsResponseTypeDef definition
class ListFindingsReportsResponseTypeDef(TypedDict):
findingsReportSummaries: list[FindingsReportSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
FrameMetricDatumTypeDef#
# FrameMetricDatumTypeDef definition
class FrameMetricDatumTypeDef(TypedDict):
frameMetric: FrameMetricOutputTypeDef, # (1)
values: list[float],
ListProfileTimesRequestPaginateTypeDef#
# ListProfileTimesRequestPaginateTypeDef definition
class ListProfileTimesRequestPaginateTypeDef(TypedDict):
endTime: TimestampTypeDef,
period: AggregationPeriodType, # (1)
profilingGroupName: str,
startTime: TimestampTypeDef,
orderBy: NotRequired[OrderByType], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
- See AggregationPeriodType
- See OrderByType
- See PaginatorConfigTypeDef
ListProfileTimesResponseTypeDef#
# ListProfileTimesResponseTypeDef definition
class ListProfileTimesResponseTypeDef(TypedDict):
profileTimes: list[ProfileTimeTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
RecommendationTypeDef#
# RecommendationTypeDef definition
class RecommendationTypeDef(TypedDict):
allMatchesCount: int,
allMatchesSum: float,
endTime: datetime,
pattern: PatternTypeDef, # (1)
startTime: datetime,
topMatches: list[MatchTypeDef], # (2)
- See PatternTypeDef
- See MatchTypeDef
ProfilingGroupDescriptionTypeDef#
# ProfilingGroupDescriptionTypeDef 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],
AnomalyTypeDef#
# AnomalyTypeDef definition
class AnomalyTypeDef(TypedDict):
instances: list[AnomalyInstanceTypeDef], # (1)
metric: MetricTypeDef, # (2)
reason: str,
- See AnomalyInstanceTypeDef
- See MetricTypeDef
AddNotificationChannelsResponseTypeDef#
# AddNotificationChannelsResponseTypeDef definition
class AddNotificationChannelsResponseTypeDef(TypedDict):
notificationConfiguration: NotificationConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetNotificationConfigurationResponseTypeDef#
# GetNotificationConfigurationResponseTypeDef definition
class GetNotificationConfigurationResponseTypeDef(TypedDict):
notificationConfiguration: NotificationConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
RemoveNotificationChannelResponseTypeDef#
# RemoveNotificationChannelResponseTypeDef definition
class RemoveNotificationChannelResponseTypeDef(TypedDict):
notificationConfiguration: NotificationConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
AddNotificationChannelsRequestRequestTypeDef#
# AddNotificationChannelsRequestRequestTypeDef definition
class AddNotificationChannelsRequestRequestTypeDef(TypedDict):
channels: Sequence[ChannelUnionTypeDef], # (1)
profilingGroupName: str,
BatchGetFrameMetricDataResponseTypeDef#
# BatchGetFrameMetricDataResponseTypeDef 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)
- See TimestampStructureTypeDef
- See FrameMetricDatumTypeDef
- See AggregationPeriodType
- See TimestampStructureTypeDef
- See ResponseMetadataTypeDef
BatchGetFrameMetricDataRequestRequestTypeDef#
# BatchGetFrameMetricDataRequestRequestTypeDef definition
class BatchGetFrameMetricDataRequestRequestTypeDef(TypedDict):
profilingGroupName: str,
endTime: NotRequired[TimestampTypeDef],
frameMetrics: NotRequired[Sequence[FrameMetricUnionTypeDef]], # (1)
period: NotRequired[str],
startTime: NotRequired[TimestampTypeDef],
targetResolution: NotRequired[AggregationPeriodType], # (2)
CreateProfilingGroupResponseTypeDef#
# CreateProfilingGroupResponseTypeDef definition
class CreateProfilingGroupResponseTypeDef(TypedDict):
profilingGroup: ProfilingGroupDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeProfilingGroupResponseTypeDef#
# DescribeProfilingGroupResponseTypeDef definition
class DescribeProfilingGroupResponseTypeDef(TypedDict):
profilingGroup: ProfilingGroupDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListProfilingGroupsResponseTypeDef#
# ListProfilingGroupsResponseTypeDef definition
class ListProfilingGroupsResponseTypeDef(TypedDict):
profilingGroupNames: list[str],
profilingGroups: list[ProfilingGroupDescriptionTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
UpdateProfilingGroupResponseTypeDef#
# UpdateProfilingGroupResponseTypeDef definition
class UpdateProfilingGroupResponseTypeDef(TypedDict):
profilingGroup: ProfilingGroupDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetRecommendationsResponseTypeDef#
# GetRecommendationsResponseTypeDef definition
class GetRecommendationsResponseTypeDef(TypedDict):
anomalies: list[AnomalyTypeDef], # (1)
profileEndTime: datetime,
profileStartTime: datetime,
profilingGroupName: str,
recommendations: list[RecommendationTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)