Type definitions#
Index > CodeGuruProfiler > Type definitions
Auto-generated documentation for CodeGuruProfiler type annotations stubs module mypy-boto3-codeguruprofiler.
TimestampTypeDef#
# TimestampTypeDef Union usage example
from mypy_boto3_codeguruprofiler.type_defs import TimestampTypeDef
def get_value() -> TimestampTypeDef:
return ...
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
BlobTypeDef#
# BlobTypeDef Union usage example
from mypy_boto3_codeguruprofiler.type_defs import BlobTypeDef
def get_value() -> BlobTypeDef:
return ...
# BlobTypeDef definition
BlobTypeDef = Union[
str,
bytes,
IO[Any],
StreamingBody,
]
ChannelUnionTypeDef#
# ChannelUnionTypeDef Union usage example
from mypy_boto3_codeguruprofiler.type_defs import ChannelUnionTypeDef
def get_value() -> ChannelUnionTypeDef:
return ...
# ChannelUnionTypeDef definition
ChannelUnionTypeDef = Union[
ChannelTypeDef, # (1)
ChannelOutputTypeDef, # (2)
]
- See ChannelTypeDef
- See ChannelOutputTypeDef
FrameMetricUnionTypeDef#
# FrameMetricUnionTypeDef Union usage example
from mypy_boto3_codeguruprofiler.type_defs import FrameMetricUnionTypeDef
def get_value() -> FrameMetricUnionTypeDef:
return ...
# FrameMetricUnionTypeDef definition
FrameMetricUnionTypeDef = Union[
FrameMetricTypeDef, # (1)
FrameMetricOutputTypeDef, # (2)
]
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
AgentConfigurationTypeDef#
# AgentConfigurationTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import AgentConfigurationTypeDef
def get_value() -> AgentConfigurationTypeDef:
return {
"agentParameters": ...,
}
# AgentConfigurationTypeDef definition
class AgentConfigurationTypeDef(TypedDict):
periodInSeconds: int,
shouldProfile: bool,
agentParameters: NotRequired[Dict[AgentParameterFieldType, str]], # (1)
AgentOrchestrationConfigTypeDef#
# AgentOrchestrationConfigTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import AgentOrchestrationConfigTypeDef
def get_value() -> AgentOrchestrationConfigTypeDef:
return {
"profilingEnabled": ...,
}
# AgentOrchestrationConfigTypeDef definition
class AgentOrchestrationConfigTypeDef(TypedDict):
profilingEnabled: bool,
AggregatedProfileTimeTypeDef#
# AggregatedProfileTimeTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import AggregatedProfileTimeTypeDef
def get_value() -> AggregatedProfileTimeTypeDef:
return {
"period": ...,
}
# AggregatedProfileTimeTypeDef definition
class AggregatedProfileTimeTypeDef(TypedDict):
period: NotRequired[AggregationPeriodType], # (1)
start: NotRequired[datetime],
UserFeedbackTypeDef#
# UserFeedbackTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import UserFeedbackTypeDef
def get_value() -> UserFeedbackTypeDef:
return {
"type": ...,
}
# UserFeedbackTypeDef definition
class UserFeedbackTypeDef(TypedDict):
type: FeedbackTypeType, # (1)
- See FeedbackTypeType
MetricTypeDef#
# MetricTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import MetricTypeDef
def get_value() -> MetricTypeDef:
return {
"frameName": ...,
}
# MetricTypeDef definition
class MetricTypeDef(TypedDict):
frameName: str,
threadStates: List[str],
type: MetricTypeType, # (1)
- See MetricTypeType
TimestampStructureTypeDef#
# TimestampStructureTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import TimestampStructureTypeDef
def get_value() -> TimestampStructureTypeDef:
return {
"value": ...,
}
# TimestampStructureTypeDef definition
class TimestampStructureTypeDef(TypedDict):
value: datetime,
ChannelOutputTypeDef#
# ChannelOutputTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import ChannelOutputTypeDef
def get_value() -> ChannelOutputTypeDef:
return {
"eventPublishers": ...,
}
# ChannelOutputTypeDef definition
class ChannelOutputTypeDef(TypedDict):
eventPublishers: List[EventPublisherType], # (1)
uri: str,
id: NotRequired[str],
ChannelTypeDef#
# ChannelTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import ChannelTypeDef
def get_value() -> ChannelTypeDef:
return {
"eventPublishers": ...,
}
# ChannelTypeDef definition
class ChannelTypeDef(TypedDict):
eventPublishers: Sequence[EventPublisherType], # (1)
uri: str,
id: NotRequired[str],
ConfigureAgentRequestTypeDef#
# ConfigureAgentRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import ConfigureAgentRequestTypeDef
def get_value() -> ConfigureAgentRequestTypeDef:
return {
"profilingGroupName": ...,
}
# ConfigureAgentRequestTypeDef definition
class ConfigureAgentRequestTypeDef(TypedDict):
profilingGroupName: str,
fleetInstanceId: NotRequired[str],
metadata: NotRequired[Mapping[MetadataFieldType, str]], # (1)
DeleteProfilingGroupRequestTypeDef#
# DeleteProfilingGroupRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import DeleteProfilingGroupRequestTypeDef
def get_value() -> DeleteProfilingGroupRequestTypeDef:
return {
"profilingGroupName": ...,
}
# DeleteProfilingGroupRequestTypeDef definition
class DeleteProfilingGroupRequestTypeDef(TypedDict):
profilingGroupName: str,
DescribeProfilingGroupRequestTypeDef#
# DescribeProfilingGroupRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import DescribeProfilingGroupRequestTypeDef
def get_value() -> DescribeProfilingGroupRequestTypeDef:
return {
"profilingGroupName": ...,
}
# DescribeProfilingGroupRequestTypeDef definition
class DescribeProfilingGroupRequestTypeDef(TypedDict):
profilingGroupName: str,
FindingsReportSummaryTypeDef#
# FindingsReportSummaryTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import FindingsReportSummaryTypeDef
def get_value() -> FindingsReportSummaryTypeDef:
return {
"id": ...,
}
# FindingsReportSummaryTypeDef definition
class FindingsReportSummaryTypeDef(TypedDict):
id: NotRequired[str],
profileEndTime: NotRequired[datetime],
profileStartTime: NotRequired[datetime],
profilingGroupName: NotRequired[str],
totalNumberOfFindings: NotRequired[int],
FrameMetricOutputTypeDef#
# FrameMetricOutputTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import FrameMetricOutputTypeDef
def get_value() -> FrameMetricOutputTypeDef:
return {
"frameName": ...,
}
# FrameMetricOutputTypeDef definition
class FrameMetricOutputTypeDef(TypedDict):
frameName: str,
threadStates: List[str],
type: MetricTypeType, # (1)
- See MetricTypeType
FrameMetricTypeDef#
# FrameMetricTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import FrameMetricTypeDef
def get_value() -> FrameMetricTypeDef:
return {
"frameName": ...,
}
# FrameMetricTypeDef definition
class FrameMetricTypeDef(TypedDict):
frameName: str,
threadStates: Sequence[str],
type: MetricTypeType, # (1)
- See MetricTypeType
GetFindingsReportAccountSummaryRequestTypeDef#
# GetFindingsReportAccountSummaryRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import GetFindingsReportAccountSummaryRequestTypeDef
def get_value() -> GetFindingsReportAccountSummaryRequestTypeDef:
return {
"dailyReportsOnly": ...,
}
# GetFindingsReportAccountSummaryRequestTypeDef definition
class GetFindingsReportAccountSummaryRequestTypeDef(TypedDict):
dailyReportsOnly: NotRequired[bool],
maxResults: NotRequired[int],
nextToken: NotRequired[str],
GetNotificationConfigurationRequestTypeDef#
# GetNotificationConfigurationRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import GetNotificationConfigurationRequestTypeDef
def get_value() -> GetNotificationConfigurationRequestTypeDef:
return {
"profilingGroupName": ...,
}
# GetNotificationConfigurationRequestTypeDef definition
class GetNotificationConfigurationRequestTypeDef(TypedDict):
profilingGroupName: str,
GetPolicyRequestTypeDef#
# GetPolicyRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import GetPolicyRequestTypeDef
def get_value() -> GetPolicyRequestTypeDef:
return {
"profilingGroupName": ...,
}
# GetPolicyRequestTypeDef definition
class GetPolicyRequestTypeDef(TypedDict):
profilingGroupName: str,
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ProfileTimeTypeDef#
# ProfileTimeTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import ProfileTimeTypeDef
def get_value() -> ProfileTimeTypeDef:
return {
"start": ...,
}
# ProfileTimeTypeDef definition
class ProfileTimeTypeDef(TypedDict):
start: NotRequired[datetime],
ListProfilingGroupsRequestTypeDef#
# ListProfilingGroupsRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import ListProfilingGroupsRequestTypeDef
def get_value() -> ListProfilingGroupsRequestTypeDef:
return {
"includeDescription": ...,
}
# ListProfilingGroupsRequestTypeDef definition
class ListProfilingGroupsRequestTypeDef(TypedDict):
includeDescription: NotRequired[bool],
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListTagsForResourceRequestTypeDef#
# ListTagsForResourceRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import ListTagsForResourceRequestTypeDef
def get_value() -> ListTagsForResourceRequestTypeDef:
return {
"resourceArn": ...,
}
# ListTagsForResourceRequestTypeDef definition
class ListTagsForResourceRequestTypeDef(TypedDict):
resourceArn: str,
MatchTypeDef#
# MatchTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import MatchTypeDef
def get_value() -> MatchTypeDef:
return {
"frameAddress": ...,
}
# MatchTypeDef definition
class MatchTypeDef(TypedDict):
frameAddress: NotRequired[str],
targetFramesIndex: NotRequired[int],
thresholdBreachValue: NotRequired[float],
PatternTypeDef#
# PatternTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import PatternTypeDef
def get_value() -> PatternTypeDef:
return {
"countersToAggregate": ...,
}
# 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],
PutPermissionRequestTypeDef#
# PutPermissionRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import PutPermissionRequestTypeDef
def get_value() -> PutPermissionRequestTypeDef:
return {
"actionGroup": ...,
}
# PutPermissionRequestTypeDef definition
class PutPermissionRequestTypeDef(TypedDict):
actionGroup: ActionGroupType, # (1)
principals: Sequence[str],
profilingGroupName: str,
revisionId: NotRequired[str],
- See ActionGroupType
RemoveNotificationChannelRequestTypeDef#
# RemoveNotificationChannelRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import RemoveNotificationChannelRequestTypeDef
def get_value() -> RemoveNotificationChannelRequestTypeDef:
return {
"channelId": ...,
}
# RemoveNotificationChannelRequestTypeDef definition
class RemoveNotificationChannelRequestTypeDef(TypedDict):
channelId: str,
profilingGroupName: str,
RemovePermissionRequestTypeDef#
# RemovePermissionRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import RemovePermissionRequestTypeDef
def get_value() -> RemovePermissionRequestTypeDef:
return {
"actionGroup": ...,
}
# RemovePermissionRequestTypeDef definition
class RemovePermissionRequestTypeDef(TypedDict):
actionGroup: ActionGroupType, # (1)
profilingGroupName: str,
revisionId: str,
- See ActionGroupType
SubmitFeedbackRequestTypeDef#
# SubmitFeedbackRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import SubmitFeedbackRequestTypeDef
def get_value() -> SubmitFeedbackRequestTypeDef:
return {
"anomalyInstanceId": ...,
}
# SubmitFeedbackRequestTypeDef definition
class SubmitFeedbackRequestTypeDef(TypedDict):
anomalyInstanceId: str,
profilingGroupName: str,
type: FeedbackTypeType, # (1)
comment: NotRequired[str],
- See FeedbackTypeType
TagResourceRequestTypeDef#
# TagResourceRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import TagResourceRequestTypeDef
def get_value() -> TagResourceRequestTypeDef:
return {
"resourceArn": ...,
}
# TagResourceRequestTypeDef definition
class TagResourceRequestTypeDef(TypedDict):
resourceArn: str,
tags: Mapping[str, str],
UntagResourceRequestTypeDef#
# UntagResourceRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import UntagResourceRequestTypeDef
def get_value() -> UntagResourceRequestTypeDef:
return {
"resourceArn": ...,
}
# UntagResourceRequestTypeDef definition
class UntagResourceRequestTypeDef(TypedDict):
resourceArn: str,
tagKeys: Sequence[str],
GetPolicyResponseTypeDef#
# GetPolicyResponseTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import GetPolicyResponseTypeDef
def get_value() -> GetPolicyResponseTypeDef:
return {
"policy": ...,
}
# GetPolicyResponseTypeDef definition
class GetPolicyResponseTypeDef(TypedDict):
policy: str,
revisionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetProfileResponseTypeDef#
# GetProfileResponseTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import GetProfileResponseTypeDef
def get_value() -> GetProfileResponseTypeDef:
return {
"contentEncoding": ...,
}
# GetProfileResponseTypeDef definition
class GetProfileResponseTypeDef(TypedDict):
contentEncoding: str,
contentType: str,
profile: StreamingBody,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import ListTagsForResourceResponseTypeDef
def get_value() -> ListTagsForResourceResponseTypeDef:
return {
"tags": ...,
}
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
PutPermissionResponseTypeDef#
# PutPermissionResponseTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import PutPermissionResponseTypeDef
def get_value() -> PutPermissionResponseTypeDef:
return {
"policy": ...,
}
# PutPermissionResponseTypeDef definition
class PutPermissionResponseTypeDef(TypedDict):
policy: str,
revisionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
RemovePermissionResponseTypeDef#
# RemovePermissionResponseTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import RemovePermissionResponseTypeDef
def get_value() -> RemovePermissionResponseTypeDef:
return {
"policy": ...,
}
# RemovePermissionResponseTypeDef definition
class RemovePermissionResponseTypeDef(TypedDict):
policy: str,
revisionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ConfigureAgentResponseTypeDef#
# ConfigureAgentResponseTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import ConfigureAgentResponseTypeDef
def get_value() -> ConfigureAgentResponseTypeDef:
return {
"configuration": ...,
}
# ConfigureAgentResponseTypeDef definition
class ConfigureAgentResponseTypeDef(TypedDict):
configuration: AgentConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateProfilingGroupRequestTypeDef#
# CreateProfilingGroupRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import CreateProfilingGroupRequestTypeDef
def get_value() -> CreateProfilingGroupRequestTypeDef:
return {
"clientToken": ...,
}
# CreateProfilingGroupRequestTypeDef definition
class CreateProfilingGroupRequestTypeDef(TypedDict):
clientToken: str,
profilingGroupName: str,
agentOrchestrationConfig: NotRequired[AgentOrchestrationConfigTypeDef], # (1)
computePlatform: NotRequired[ComputePlatformType], # (2)
tags: NotRequired[Mapping[str, str]],
UpdateProfilingGroupRequestTypeDef#
# UpdateProfilingGroupRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import UpdateProfilingGroupRequestTypeDef
def get_value() -> UpdateProfilingGroupRequestTypeDef:
return {
"agentOrchestrationConfig": ...,
}
# UpdateProfilingGroupRequestTypeDef definition
class UpdateProfilingGroupRequestTypeDef(TypedDict):
agentOrchestrationConfig: AgentOrchestrationConfigTypeDef, # (1)
profilingGroupName: str,
ProfilingStatusTypeDef#
# ProfilingStatusTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import ProfilingStatusTypeDef
def get_value() -> ProfilingStatusTypeDef:
return {
"latestAgentOrchestratedAt": ...,
}
# ProfilingStatusTypeDef definition
class ProfilingStatusTypeDef(TypedDict):
latestAgentOrchestratedAt: NotRequired[datetime],
latestAgentProfileReportedAt: NotRequired[datetime],
latestAggregatedProfile: NotRequired[AggregatedProfileTimeTypeDef], # (1)
AnomalyInstanceTypeDef#
# AnomalyInstanceTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import AnomalyInstanceTypeDef
def get_value() -> AnomalyInstanceTypeDef:
return {
"endTime": ...,
}
# AnomalyInstanceTypeDef definition
class AnomalyInstanceTypeDef(TypedDict):
id: str,
startTime: datetime,
endTime: NotRequired[datetime],
userFeedback: NotRequired[UserFeedbackTypeDef], # (1)
GetProfileRequestTypeDef#
# GetProfileRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import GetProfileRequestTypeDef
def get_value() -> GetProfileRequestTypeDef:
return {
"profilingGroupName": ...,
}
# GetProfileRequestTypeDef definition
class GetProfileRequestTypeDef(TypedDict):
profilingGroupName: str,
accept: NotRequired[str],
endTime: NotRequired[TimestampTypeDef],
maxDepth: NotRequired[int],
period: NotRequired[str],
startTime: NotRequired[TimestampTypeDef],
GetRecommendationsRequestTypeDef#
# GetRecommendationsRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import GetRecommendationsRequestTypeDef
def get_value() -> GetRecommendationsRequestTypeDef:
return {
"endTime": ...,
}
# GetRecommendationsRequestTypeDef definition
class GetRecommendationsRequestTypeDef(TypedDict):
endTime: TimestampTypeDef,
profilingGroupName: str,
startTime: TimestampTypeDef,
locale: NotRequired[str],
ListFindingsReportsRequestTypeDef#
# ListFindingsReportsRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import ListFindingsReportsRequestTypeDef
def get_value() -> ListFindingsReportsRequestTypeDef:
return {
"endTime": ...,
}
# ListFindingsReportsRequestTypeDef definition
class ListFindingsReportsRequestTypeDef(TypedDict):
endTime: TimestampTypeDef,
profilingGroupName: str,
startTime: TimestampTypeDef,
dailyReportsOnly: NotRequired[bool],
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListProfileTimesRequestTypeDef#
# ListProfileTimesRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import ListProfileTimesRequestTypeDef
def get_value() -> ListProfileTimesRequestTypeDef:
return {
"endTime": ...,
}
# ListProfileTimesRequestTypeDef definition
class ListProfileTimesRequestTypeDef(TypedDict):
endTime: TimestampTypeDef,
period: AggregationPeriodType, # (1)
profilingGroupName: str,
startTime: TimestampTypeDef,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
orderBy: NotRequired[OrderByType], # (2)
- See AggregationPeriodType
- See OrderByType
PostAgentProfileRequestTypeDef#
# PostAgentProfileRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import PostAgentProfileRequestTypeDef
def get_value() -> PostAgentProfileRequestTypeDef:
return {
"agentProfile": ...,
}
# PostAgentProfileRequestTypeDef definition
class PostAgentProfileRequestTypeDef(TypedDict):
agentProfile: BlobTypeDef,
contentType: str,
profilingGroupName: str,
profileToken: NotRequired[str],
NotificationConfigurationTypeDef#
# NotificationConfigurationTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import NotificationConfigurationTypeDef
def get_value() -> NotificationConfigurationTypeDef:
return {
"channels": ...,
}
# NotificationConfigurationTypeDef definition
class NotificationConfigurationTypeDef(TypedDict):
channels: NotRequired[List[ChannelOutputTypeDef]], # (1)
GetFindingsReportAccountSummaryResponseTypeDef#
# GetFindingsReportAccountSummaryResponseTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import GetFindingsReportAccountSummaryResponseTypeDef
def get_value() -> GetFindingsReportAccountSummaryResponseTypeDef:
return {
"nextToken": ...,
}
# GetFindingsReportAccountSummaryResponseTypeDef definition
class GetFindingsReportAccountSummaryResponseTypeDef(TypedDict):
reportSummaries: List[FindingsReportSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListFindingsReportsResponseTypeDef#
# ListFindingsReportsResponseTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import ListFindingsReportsResponseTypeDef
def get_value() -> ListFindingsReportsResponseTypeDef:
return {
"findingsReportSummaries": ...,
}
# ListFindingsReportsResponseTypeDef definition
class ListFindingsReportsResponseTypeDef(TypedDict):
findingsReportSummaries: List[FindingsReportSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
FrameMetricDatumTypeDef#
# FrameMetricDatumTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import FrameMetricDatumTypeDef
def get_value() -> FrameMetricDatumTypeDef:
return {
"frameMetric": ...,
}
# FrameMetricDatumTypeDef definition
class FrameMetricDatumTypeDef(TypedDict):
frameMetric: FrameMetricOutputTypeDef, # (1)
values: List[float],
ListProfileTimesRequestPaginateTypeDef#
# ListProfileTimesRequestPaginateTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import ListProfileTimesRequestPaginateTypeDef
def get_value() -> ListProfileTimesRequestPaginateTypeDef:
return {
"endTime": ...,
}
# 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 TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import ListProfileTimesResponseTypeDef
def get_value() -> ListProfileTimesResponseTypeDef:
return {
"nextToken": ...,
}
# ListProfileTimesResponseTypeDef definition
class ListProfileTimesResponseTypeDef(TypedDict):
profileTimes: List[ProfileTimeTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
RecommendationTypeDef#
# RecommendationTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import RecommendationTypeDef
def get_value() -> RecommendationTypeDef:
return {
"allMatchesCount": ...,
}
# 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 TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import ProfilingGroupDescriptionTypeDef
def get_value() -> ProfilingGroupDescriptionTypeDef:
return {
"agentOrchestrationConfig": ...,
}
# 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 TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import AnomalyTypeDef
def get_value() -> AnomalyTypeDef:
return {
"instances": ...,
}
# AnomalyTypeDef definition
class AnomalyTypeDef(TypedDict):
instances: List[AnomalyInstanceTypeDef], # (1)
metric: MetricTypeDef, # (2)
reason: str,
- See AnomalyInstanceTypeDef
- See MetricTypeDef
AddNotificationChannelsResponseTypeDef#
# AddNotificationChannelsResponseTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import AddNotificationChannelsResponseTypeDef
def get_value() -> AddNotificationChannelsResponseTypeDef:
return {
"notificationConfiguration": ...,
}
# AddNotificationChannelsResponseTypeDef definition
class AddNotificationChannelsResponseTypeDef(TypedDict):
notificationConfiguration: NotificationConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetNotificationConfigurationResponseTypeDef#
# GetNotificationConfigurationResponseTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import GetNotificationConfigurationResponseTypeDef
def get_value() -> GetNotificationConfigurationResponseTypeDef:
return {
"notificationConfiguration": ...,
}
# GetNotificationConfigurationResponseTypeDef definition
class GetNotificationConfigurationResponseTypeDef(TypedDict):
notificationConfiguration: NotificationConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
RemoveNotificationChannelResponseTypeDef#
# RemoveNotificationChannelResponseTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import RemoveNotificationChannelResponseTypeDef
def get_value() -> RemoveNotificationChannelResponseTypeDef:
return {
"notificationConfiguration": ...,
}
# RemoveNotificationChannelResponseTypeDef definition
class RemoveNotificationChannelResponseTypeDef(TypedDict):
notificationConfiguration: NotificationConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
AddNotificationChannelsRequestTypeDef#
# AddNotificationChannelsRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import AddNotificationChannelsRequestTypeDef
def get_value() -> AddNotificationChannelsRequestTypeDef:
return {
"channels": ...,
}
# AddNotificationChannelsRequestTypeDef definition
class AddNotificationChannelsRequestTypeDef(TypedDict):
channels: Sequence[ChannelUnionTypeDef], # (1)
profilingGroupName: str,
BatchGetFrameMetricDataResponseTypeDef#
# BatchGetFrameMetricDataResponseTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import BatchGetFrameMetricDataResponseTypeDef
def get_value() -> BatchGetFrameMetricDataResponseTypeDef:
return {
"endTime": ...,
}
# 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
BatchGetFrameMetricDataRequestTypeDef#
# BatchGetFrameMetricDataRequestTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import BatchGetFrameMetricDataRequestTypeDef
def get_value() -> BatchGetFrameMetricDataRequestTypeDef:
return {
"profilingGroupName": ...,
}
# BatchGetFrameMetricDataRequestTypeDef definition
class BatchGetFrameMetricDataRequestTypeDef(TypedDict):
profilingGroupName: str,
endTime: NotRequired[TimestampTypeDef],
frameMetrics: NotRequired[Sequence[FrameMetricUnionTypeDef]], # (1)
period: NotRequired[str],
startTime: NotRequired[TimestampTypeDef],
targetResolution: NotRequired[AggregationPeriodType], # (2)
CreateProfilingGroupResponseTypeDef#
# CreateProfilingGroupResponseTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import CreateProfilingGroupResponseTypeDef
def get_value() -> CreateProfilingGroupResponseTypeDef:
return {
"profilingGroup": ...,
}
# CreateProfilingGroupResponseTypeDef definition
class CreateProfilingGroupResponseTypeDef(TypedDict):
profilingGroup: ProfilingGroupDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeProfilingGroupResponseTypeDef#
# DescribeProfilingGroupResponseTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import DescribeProfilingGroupResponseTypeDef
def get_value() -> DescribeProfilingGroupResponseTypeDef:
return {
"profilingGroup": ...,
}
# DescribeProfilingGroupResponseTypeDef definition
class DescribeProfilingGroupResponseTypeDef(TypedDict):
profilingGroup: ProfilingGroupDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListProfilingGroupsResponseTypeDef#
# ListProfilingGroupsResponseTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import ListProfilingGroupsResponseTypeDef
def get_value() -> ListProfilingGroupsResponseTypeDef:
return {
"nextToken": ...,
}
# ListProfilingGroupsResponseTypeDef definition
class ListProfilingGroupsResponseTypeDef(TypedDict):
profilingGroupNames: List[str],
profilingGroups: List[ProfilingGroupDescriptionTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
UpdateProfilingGroupResponseTypeDef#
# UpdateProfilingGroupResponseTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import UpdateProfilingGroupResponseTypeDef
def get_value() -> UpdateProfilingGroupResponseTypeDef:
return {
"profilingGroup": ...,
}
# UpdateProfilingGroupResponseTypeDef definition
class UpdateProfilingGroupResponseTypeDef(TypedDict):
profilingGroup: ProfilingGroupDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetRecommendationsResponseTypeDef#
# GetRecommendationsResponseTypeDef TypedDict usage example
from mypy_boto3_codeguruprofiler.type_defs import GetRecommendationsResponseTypeDef
def get_value() -> GetRecommendationsResponseTypeDef:
return {
"anomalies": ...,
}
# GetRecommendationsResponseTypeDef definition
class GetRecommendationsResponseTypeDef(TypedDict):
anomalies: List[AnomalyTypeDef], # (1)
profileEndTime: datetime,
profileStartTime: datetime,
profilingGroupName: str,
recommendations: List[RecommendationTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)