Type definitions#
Index > PrometheusService > Type definitions
Auto-generated documentation for PrometheusService type annotations stubs module mypy-boto3-amp.
BlobTypeDef#
# BlobTypeDef definition
BlobTypeDef = Union[
str,
bytes,
IO[Any],
StreamingBody,
]
ScrapeConfigurationUnionTypeDef#
# ScrapeConfigurationUnionTypeDef definition
ScrapeConfigurationUnionTypeDef = Union[
ScrapeConfigurationTypeDef, # (1)
ScrapeConfigurationOutputTypeDef, # (2)
]
SourceUnionTypeDef#
# SourceUnionTypeDef definition
SourceUnionTypeDef = Union[
SourceTypeDef, # (1)
SourceExtraOutputTypeDef, # (2)
]
AlertManagerDefinitionStatusTypeDef#
# AlertManagerDefinitionStatusTypeDef definition
class AlertManagerDefinitionStatusTypeDef(TypedDict):
statusCode: AlertManagerDefinitionStatusCodeType, # (1)
statusReason: NotRequired[str],
AmpConfigurationTypeDef#
# AmpConfigurationTypeDef definition
class AmpConfigurationTypeDef(TypedDict):
workspaceArn: str,
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
CreateLoggingConfigurationRequestRequestTypeDef#
# CreateLoggingConfigurationRequestRequestTypeDef definition
class CreateLoggingConfigurationRequestRequestTypeDef(TypedDict):
logGroupArn: str,
workspaceId: str,
clientToken: NotRequired[str],
LoggingConfigurationStatusTypeDef#
# LoggingConfigurationStatusTypeDef definition
class LoggingConfigurationStatusTypeDef(TypedDict):
statusCode: LoggingConfigurationStatusCodeType, # (1)
statusReason: NotRequired[str],
RuleGroupsNamespaceStatusTypeDef#
# RuleGroupsNamespaceStatusTypeDef definition
class RuleGroupsNamespaceStatusTypeDef(TypedDict):
statusCode: RuleGroupsNamespaceStatusCodeType, # (1)
statusReason: NotRequired[str],
ScraperStatusTypeDef#
# ScraperStatusTypeDef definition
class ScraperStatusTypeDef(TypedDict):
statusCode: ScraperStatusCodeType, # (1)
CreateWorkspaceRequestRequestTypeDef#
# CreateWorkspaceRequestRequestTypeDef definition
class CreateWorkspaceRequestRequestTypeDef(TypedDict):
alias: NotRequired[str],
clientToken: NotRequired[str],
kmsKeyArn: NotRequired[str],
tags: NotRequired[Mapping[str, str]],
WorkspaceStatusTypeDef#
# WorkspaceStatusTypeDef definition
class WorkspaceStatusTypeDef(TypedDict):
statusCode: WorkspaceStatusCodeType, # (1)
DeleteAlertManagerDefinitionRequestRequestTypeDef#
# DeleteAlertManagerDefinitionRequestRequestTypeDef definition
class DeleteAlertManagerDefinitionRequestRequestTypeDef(TypedDict):
workspaceId: str,
clientToken: NotRequired[str],
DeleteLoggingConfigurationRequestRequestTypeDef#
# DeleteLoggingConfigurationRequestRequestTypeDef definition
class DeleteLoggingConfigurationRequestRequestTypeDef(TypedDict):
workspaceId: str,
clientToken: NotRequired[str],
DeleteRuleGroupsNamespaceRequestRequestTypeDef#
# DeleteRuleGroupsNamespaceRequestRequestTypeDef definition
class DeleteRuleGroupsNamespaceRequestRequestTypeDef(TypedDict):
name: str,
workspaceId: str,
clientToken: NotRequired[str],
DeleteScraperRequestRequestTypeDef#
# DeleteScraperRequestRequestTypeDef definition
class DeleteScraperRequestRequestTypeDef(TypedDict):
scraperId: str,
clientToken: NotRequired[str],
DeleteWorkspaceRequestRequestTypeDef#
# DeleteWorkspaceRequestRequestTypeDef definition
class DeleteWorkspaceRequestRequestTypeDef(TypedDict):
workspaceId: str,
clientToken: NotRequired[str],
DescribeAlertManagerDefinitionRequestRequestTypeDef#
# DescribeAlertManagerDefinitionRequestRequestTypeDef definition
class DescribeAlertManagerDefinitionRequestRequestTypeDef(TypedDict):
workspaceId: str,
DescribeLoggingConfigurationRequestRequestTypeDef#
# DescribeLoggingConfigurationRequestRequestTypeDef definition
class DescribeLoggingConfigurationRequestRequestTypeDef(TypedDict):
workspaceId: str,
DescribeRuleGroupsNamespaceRequestRequestTypeDef#
# DescribeRuleGroupsNamespaceRequestRequestTypeDef definition
class DescribeRuleGroupsNamespaceRequestRequestTypeDef(TypedDict):
name: str,
workspaceId: str,
DescribeScraperRequestRequestTypeDef#
# DescribeScraperRequestR