Type definitions#
Index > ApplicationInsights > Type definitions
Auto-generated documentation for ApplicationInsights type annotations stubs module mypy-boto3-application-insights.
TimestampTypeDef#
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
WorkloadConfigurationTypeDef#
# WorkloadConfigurationTypeDef definition
class WorkloadConfigurationTypeDef(TypedDict):
WorkloadName: NotRequired[str],
Tier: NotRequired[TierType], # (1)
Configuration: NotRequired[str],
- See TierType
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
ApplicationComponentTypeDef#
# ApplicationComponentTypeDef definition
class ApplicationComponentTypeDef(TypedDict):
ComponentName: NotRequired[str],
ComponentRemarks: NotRequired[str],
ResourceType: NotRequired[str],
OsType: NotRequired[OsTypeType], # (1)
Tier: NotRequired[TierType], # (2)
Monitor: NotRequired[bool],
DetectedWorkload: NotRequired[Dict[TierType, Dict[str, str]]], # (3)
- See OsTypeType
- See TierType
- See TierType
ApplicationInfoTypeDef#
# ApplicationInfoTypeDef definition
class ApplicationInfoTypeDef(TypedDict):
AccountId: NotRequired[str],
ResourceGroupName: NotRequired[str],
LifeCycle: NotRequired[str],
OpsItemSNSTopicArn: NotRequired[str],
OpsCenterEnabled: NotRequired[bool],
CWEMonitorEnabled: NotRequired[bool],
Remarks: NotRequired[str],
AutoConfigEnabled: NotRequired[bool],
DiscoveryType: NotRequired[DiscoveryTypeType], # (1)
AttachMissingPermission: NotRequired[bool],
ConfigurationEventTypeDef#
# ConfigurationEventTypeDef definition
class ConfigurationEventTypeDef(TypedDict):
ResourceGroupName: NotRequired[str],
AccountId: NotRequired[str],
MonitoredResourceARN: NotRequired[str],
EventStatus: NotRequired[ConfigurationEventStatusType], # (1)
EventResourceType: NotRequired[ConfigurationEventResourceTypeType], # (2)
EventTime: NotRequired[datetime],
EventDetail: NotRequired[str],
EventResourceName: NotRequired[str],
TagTypeDef#
# TagTypeDef definition
class TagTypeDef(TypedDict):
Key: str,
Value: str,
CreateComponentRequestRequestTypeDef#
# CreateComponentRequestRequestTypeDef definition
class CreateComponentRequestRequestTypeDef(TypedDict):
ResourceGroupName: str,
ComponentName: str,
ResourceList: Sequence[str],
CreateLogPatternRequestRequestTypeDef#
# CreateLogPatternRequestRequestTypeDef definition
class CreateLogPatternRequestRequestTypeDef(TypedDict):
ResourceGroupName: str,
PatternSetName: str,
PatternName: str,
Pattern: str,
Rank: int,
LogPatternTypeDef#
# LogPatternTypeDef definition
class LogPatternTypeDef(TypedDict):
PatternSetName: NotRequired[str],
PatternName: NotRequired[str],
Pattern: NotRequired[str],
Rank: NotRequired[int],
DeleteApplicationRequestRequestTypeDef#
# DeleteApplicationRequestRequestTypeDef definition
class DeleteApplicationRequestRequestTypeDef(TypedDict):
ResourceGroupName: str,
DeleteComponentRequestRequestTypeDef#
# DeleteComponentRequestRequestTypeDef definition
class DeleteComponentRequestRequestTypeDef(TypedDict):
ResourceGroupName: str,
ComponentName: str,
DeleteLogPatternRequestRequestTypeDef#
# DeleteLogPatternRequestRequestTypeDef definition
class DeleteLogPatternRequestRequestTypeDef(TypedDict):
ResourceGroupName: str,
PatternSetName: str,
PatternName: str,
DescribeApplicationRequestRequestTypeDef#
# DescribeApplicationRequestRequestTypeDef definition
class DescribeApplicationRequestRequestTypeDef(TypedDict):
ResourceGroupName: str,
AccountId: NotRequired[str],
DescribeComponentConfigurationRecommendationRequestRequestTypeDef#
# DescribeComponentConfigurationRecommendationRequestRequestTypeDef definition
class DescribeComponentConfigurationRecommendationRequestRequestTypeDef(TypedDict):
ResourceGroupName: str,
ComponentName: str,
Tier: TierType, # (1)
WorkloadName: NotRequired[str],
RecommendationType: NotRequired[RecommendationTypeType], # (2)
- See TierType
- See RecommendationTypeType
DescribeComponentConfigurationRequestRequestTypeDef#
# DescribeComponentConfigurationRequestRequestTypeDef definition
class DescribeComponentConfigurationRequestRequestTypeDef(TypedDict):
ResourceGroupName: str,
ComponentName: str,
AccountId: NotRequired[str],
DescribeComponentRequestRequestTypeDef#
# DescribeComponentRequestRequestTypeDef definition
class DescribeComponentRequestRequestTypeDef(TypedDict):
ResourceGroupName: str,
ComponentName: str,
AccountId: NotRequired[str],
DescribeLogPatternRequestRequestTypeDef#
# DescribeLogPatternRequestRequestTypeDef definition
class DescribeLogPatternRequestRequestTypeDef(TypedDict):
ResourceGroupName: str,
PatternSetName: str,
PatternName: str,
AccountId: NotRequired[str],
DescribeObservationRequestRequestTypeDef#
# DescribeObservationRequestRequestTypeDef definition
class DescribeObservationRequestRequestTypeDef(TypedDict):
ObservationId: str,
AccountId: NotRequired[str],
ObservationTypeDef#
# ObservationTypeDef definition
class ObservationTypeDef(TypedDict):
Id: NotRequired[str],
StartTime: NotRequired[datetime],
EndTime: NotRequired[datetime],
SourceType: NotRequired[str],
SourceARN: NotRequired[str],
LogGroup: NotRequired[str],
LineTime: NotRequired[datetime],
LogText: NotRequired[str],
LogFilter: NotRequired[LogFilterType], # (1)
MetricNamespace: NotRequired[str],
MetricName: NotRequired[str],
Unit: NotRequired[str],
Value: NotRequired[float],
CloudWatchEventId: NotRequired[str],
CloudWatchEventSource: NotRequired[CloudWatchEventSourceType], # (2)
CloudWatchEventDetailType: NotRequired[str],
HealthEventArn: NotRequired[str],
HealthService: NotRequired[str],
HealthEventTypeCode: NotRequired[str],
HealthEventTypeCategory: NotRequired[str],
HealthEventDescription: NotRequired[str],
CodeDeployDeploymentId: NotRequired[str],
CodeDeployDeploymentGroup: NotRequired[str],
CodeDeployState: NotRequired[str],
CodeDeployApplication: NotRequired[str],
CodeDeployInstanceGroupId: NotRequired[str],
Ec2State: NotRequired[str],
RdsEventCategories: NotRequired[str],
RdsEventMessage: NotRequired[str],
S3EventName: NotRequired[str],
StatesExecutionArn: NotRequired[str],
StatesArn: NotRequired[str],
StatesStatus: NotRequired[str],
StatesInput: NotRequired[str],
EbsEvent: NotRequired[str],
EbsResult: NotRequired[str],
EbsCause: NotRequired[str],
EbsRequestId: NotRequired[str],
XRayFaultPercent: NotRequired[int],
XRayThrottlePercent: NotRequired[int],
XRayErrorPercent: NotRequired[int],
XRayRequestCount: NotRequired[int],
XRayRequestAverageLatency: NotRequired[int],
XRayNodeName: NotRequired[str],
XRayNodeType: NotRequired[str],
DescribeProblemObservationsRequestRequestTypeDef#
# DescribeProblemObservationsRequestRequestTypeDef definition
class DescribeProblemObservationsRequestRequestTypeDef(TypedDict):
ProblemId: str,
AccountId: NotRequired[str],
DescribeProblemRequestRequestTypeDef#
# DescribeProblemRequestRequestTypeDef definition
class DescribeProblemRequestRequestTypeDef(TypedDict):
ProblemId: str,
AccountId: NotRequired[str],
ProblemTypeDef#
# ProblemTypeDef definition
class ProblemTypeDef(TypedDict):
Id: NotRequired[str],
Title: NotRequired[str],
Insights: NotRequired[str],
Status: NotRequired[StatusType], # (1)
AffectedResource: NotRequired[str],
StartTime: NotRequired[datetime],
EndTime: NotRequired[datetime],
SeverityLevel: NotRequired[SeverityLevelType], # (2)
AccountId: NotRequired[str],
ResourceGroupName: NotRequired[str],
Feedback: NotRequired[Dict[FeedbackKeyType, FeedbackValueType]], # (3)
RecurringCount: NotRequired[int],
LastRecurrenceTime: NotRequired[datetime],
Visibility: NotRequired[VisibilityType], # (4)
ResolutionMethod: NotRequired[ResolutionMethodType], # (5)
- See StatusType
- See SeverityLevelType
- See FeedbackKeyType FeedbackValueType
- See VisibilityType
- See ResolutionMethodType
DescribeWorkloadRequestRequestTypeDef#
# DescribeWorkloadRequestRequestTypeDef definition
class DescribeWorkloadRequestRequestTypeDef(TypedDict):
ResourceGroupName: str,
ComponentName: str,
WorkloadId: str,
AccountId: NotRequired[str],
ListApplicationsRequestRequestTypeDef#
# ListApplicationsRequestRequestTypeDef definition
class ListApplicationsRequestRequestTypeDef(TypedDict):
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
AccountId: NotRequired[str],
ListComponentsRequestRequestTypeDef#
# ListComponentsRequestRequestTypeDef definition
class ListComponentsRequestRequestTypeDef(TypedDict):
ResourceGroupName: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
AccountId: NotRequired[str],
ListLogPatternSetsRequestRequestTypeDef#
# ListLogPatternSetsRequestRequestTypeDef definition
class ListLogPatternSetsRequestRequestTypeDef(TypedDict):
ResourceGroupName: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
AccountId: NotRequired[str],
ListLogPatternsRequestRequestTypeDef#
# ListLogPatternsRequestRequestTypeDef definition
class ListLogPatternsRequestRequestTypeDef(TypedDict):
ResourceGroupName: str,
PatternSetName: NotRequired[str],
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
AccountId: NotRequired[str],
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
ResourceARN: str,
ListWorkloadsRequestRequestTypeDef#
# ListWorkloadsRequestRequestTypeDef definition
class ListWorkloadsRequestRequestTypeDef(TypedDict):
ResourceGroupName: str,
ComponentName: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
AccountId: NotRequired[str],
WorkloadTypeDef#
# WorkloadTypeDef definition
class WorkloadTypeDef(TypedDict):
WorkloadId: NotRequired[str],
ComponentName: NotRequired[str],
WorkloadName: NotRequired[str],
Tier: NotRequired[TierType], # (1)
WorkloadRemarks: NotRequired[str],
- See TierType
RemoveWorkloadRequestRequestTypeDef#
# RemoveWorkloadRequestReques