Skip to content

Type definitions#

Index > CloudWatchApplicationSignals > Type definitions

Auto-generated documentation for CloudWatchApplicationSignals type annotations stubs module mypy-boto3-application-signals.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

GoalUnionTypeDef#

# GoalUnionTypeDef definition

GoalUnionTypeDef = Union[
    GoalTypeDef,  # (1)
    GoalOutputTypeDef,  # (2)
]
  1. See GoalTypeDef
  2. See GoalOutputTypeDef

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

ServiceLevelObjectiveBudgetReportErrorTypeDef#

# ServiceLevelObjectiveBudgetReportErrorTypeDef definition

class ServiceLevelObjectiveBudgetReportErrorTypeDef(TypedDict):
    Name: str,
    Arn: str,
    ErrorCode: str,
    ErrorMessage: str,

CalendarIntervalOutputTypeDef#

# CalendarIntervalOutputTypeDef definition

class CalendarIntervalOutputTypeDef(TypedDict):
    StartTime: datetime,
    DurationUnit: DurationUnitType,  # (1)
    Duration: int,
  1. See DurationUnitType

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: str,
    Value: str,

DeleteServiceLevelObjectiveInputRequestTypeDef#

# DeleteServiceLevelObjectiveInputRequestTypeDef definition

class DeleteServiceLevelObjectiveInputRequestTypeDef(TypedDict):
    Id: str,

DimensionTypeDef#

# DimensionTypeDef definition

class DimensionTypeDef(TypedDict):
    Name: str,
    Value: str,

GetServiceLevelObjectiveInputRequestTypeDef#

# GetServiceLevelObjectiveInputRequestTypeDef definition

class GetServiceLevelObjectiveInputRequestTypeDef(TypedDict):
    Id: str,

RollingIntervalTypeDef#

# RollingIntervalTypeDef definition

class RollingIntervalTypeDef(TypedDict):
    DurationUnit: DurationUnitType,  # (1)
    Duration: int,
  1. See DurationUnitType

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

ListServiceLevelObjectivesInputRequestTypeDef#

# ListServiceLevelObjectivesInputRequestTypeDef definition

class ListServiceLevelObjectivesInputRequestTypeDef(TypedDict):
    KeyAttributes: NotRequired[Mapping[str, str]],
    OperationName: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ServiceLevelObjectiveSummaryTypeDef#

# ServiceLevelObjectiveSummaryTypeDef definition

class ServiceLevelObjectiveSummaryTypeDef(TypedDict):
    Arn: str,
    Name: str,
    KeyAttributes: NotRequired[Dict[str, str]],
    OperationName: NotRequired[str],
    CreatedTime: NotRequired[datetime],

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

BatchGetServiceLevelObjectiveBudgetReportInputRequestTypeDef#

# BatchGetServiceLevelObjectiveBudgetReportInputRequestTypeDef definition

class BatchGetServiceLevelObjectiveBudgetReportInputRequestTypeDef(TypedDict):
    Timestamp: Union[datetime, str],
    SloIds: Sequence[str],

CalendarIntervalTypeDef#

# CalendarIntervalTypeDef definition

class CalendarIntervalTypeDef(TypedDict):
    StartTime: Union[datetime, str],
    DurationUnit: DurationUnitType,  # (1)
    Duration: int,
  1. See DurationUnitType

GetServiceInputRequestTypeDef#

# GetServiceInputRequestTypeDef definition

class GetServiceInputRequestTypeDef(TypedDict):
    StartTime: Union[datetime, str],
    EndTime: Union[datetime, str],
    KeyAttributes: Mapping[str, str],

ListServiceDependenciesInputRequestTypeDef#

# ListServiceDependenciesInputRequestTypeDef definition

class ListServiceDependenciesInputRequestTypeDef(TypedDict):
    StartTime: Union[datetime, str],
    EndTime: Union[datetime, str],
    KeyAttributes: Mapping[str, str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListServiceDependentsInputRequestTypeDef#

# ListServiceDependentsInputRequestTypeDef definition

class ListServiceDependentsInputRequestTypeDef(TypedDict):
    StartTime: Union[datetime, str],
    EndTime: Union[datetime, str],
    KeyAttributes: Mapping[str, str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListServiceOperationsInputRequestTypeDef#

# ListServiceOperationsInputRequestTypeDef definition

class ListServiceOperationsInputRequestTypeDef(TypedDict):
    StartTime: Union[datetime, str],
    EndTime: Union[datetime, str],
    KeyAttributes: Mapping[str, str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListServicesInputRequestTypeDef#

# ListServicesInputRequestTypeDef definition

class ListServicesInputRequestTypeDef(TypedDict):
    StartTime: Union[datetime, str],
    EndTime: Union[datetime, str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    Tags: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

MetricOutputTypeDef#

# MetricOutputTypeDef definition

class MetricOutputTypeDef(TypedDict):
    Namespace: NotRequired[str],
    MetricName: NotRequired[str],
    Dimensions: NotRequired[List[DimensionTypeDef]],  # (1)
  1. See DimensionTypeDef

MetricReferenceTypeDef#

# MetricReferenceTypeDef definition

class MetricReferenceTypeDef(TypedDict):
    Namespace: str,
    MetricType: str,
    MetricName: str,
    Dimensions: NotRequired[List[DimensionTypeDef]],  # (1)
  1. See DimensionTypeDef

MetricTypeDef#

# MetricTypeDef definition

class MetricTypeDef(TypedDict):
    Namespace: NotRequired[str],
    MetricName: NotRequired[str],
    Dimensions: NotRequired[Sequence[DimensionTypeDef]],  # (1)
  1. See DimensionTypeDef

IntervalOutputTypeDef#

# IntervalOutputTypeDef definition

class IntervalOutputTypeDef(TypedDict):
    RollingInterval: NotRequired[RollingIntervalTypeDef],  # (1)
    CalendarInterval: NotRequired[CalendarIntervalOutputTypeDef],  # (2)
  1. See RollingIntervalTypeDef
  2. See CalendarIntervalOutputTypeDef

ListServiceDependenciesInputListServiceDependenciesPaginateTypeDef#

# ListServiceDependenciesInputListServiceDependenciesPaginateTypeDef definition

class ListServiceDependenciesInputListServiceDependenciesPaginateTypeDef(TypedDict):
    StartTime: Union[datetime, str],
    EndTime: Union[datetime, str],
    KeyAttributes: Mapping[str, str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListServiceDependentsInputListServiceDependentsPaginateTypeDef#

# ListServiceDependentsInputListServiceDependentsPaginateTypeDef definition

class ListServiceDependentsInputListServiceDependentsPaginateTypeDef(TypedDict):
    StartTime: Union[datetime, str],
    EndTime: Union[datetime, str],
    KeyAttributes: Mapping[str, str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListServiceLevelObjectivesInputListServiceLevelObjectivesPaginateTypeDef#

# ListServiceLevelObjectivesInputListServiceLevelObjectivesPaginateTypeDef definition

class ListServiceLevelObjectivesInputListServiceLevelObjectivesPaginateTypeDef(TypedDict):
    KeyAttributes: NotRequired[Mapping[str, str]],
    OperationName: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListServiceOperationsInputListServiceOperationsPaginateTypeDef#

# ListServiceOperationsInputListServiceOperationsPaginateTypeDef definition

class ListServiceOperationsInputListServiceOperationsPaginateTypeDef(TypedDict):
    StartTime: Union[datetime, str],
    EndTime: Union[datetime, str],
    KeyAttributes: Mapping[str, str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListServicesInputListServicesPaginateTypeDef#

# ListServicesInputListServicesPaginateTypeDef definition

class ListServicesInputListServicesPaginateTypeDef(TypedDict):
    StartTime: Union[datetime, str],
    EndTime: Union[datetime, str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListServiceLevelObjectivesOutputTypeDef#

# ListServiceLevelObjectivesOutputTypeDef definition

class ListServiceLevelObjectivesOutputTypeDef(TypedDict):
    SloSummaries: List[ServiceLevelObjectiveSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ServiceLevelObjectiveSummaryTypeDef
  2. See ResponseMetadataTypeDef

IntervalTypeDef#

# IntervalTypeDef definition

class IntervalTypeDef(TypedDict):
    RollingInterval: NotRequired[RollingIntervalTypeDef],  # (1)
    CalendarInterval: NotRequired[CalendarIntervalTypeDef],  # (2)
  1. See RollingIntervalTypeDef
  2. See CalendarIntervalTypeDef

MetricStatOutputTypeDef#

# MetricStatOutputTypeDef definition

class MetricStatOutputTypeDef(TypedDict):
    Metric: MetricOutputTypeDef,  # (1)
    Period: int,
    Stat: str,
    Unit: NotRequired[StandardUnitType],  # (2)
  1. See MetricOutputTypeDef
  2. See StandardUnitType

ServiceDependencyTypeDef#

# ServiceDependencyTypeDef definition

class ServiceDependencyTypeDef(TypedDict):
    OperationName: str,
    DependencyKeyAttributes: Dict[str, str],
    DependencyOperationName: str,
    MetricReferences: List[MetricReferenceTypeDef],  # (1)
  1. See MetricReferenceTypeDef

ServiceDependentTypeDef#

# ServiceDependentTypeDef definition

class ServiceDependentTypeDef(TypedDict):
    DependentKeyAttributes: Dict[str, str],
    MetricReferences: List[MetricReferenceTypeDef],  # (1)
    OperationName: NotRequired[str],
    DependentOperationName: NotRequired[str],
  1. See MetricReferenceTypeDef

ServiceOperationTypeDef#

# ServiceOperationTypeDef definition

class ServiceOperationTypeDef(TypedDict):
    Name: str,
    MetricReferences: List[MetricReferenceTypeDef],  # (1)
  1. See MetricReferenceTypeDef

ServiceSummaryTypeDef#

# ServiceSummaryTypeDef definition

class ServiceSummaryTypeDef(TypedDict):
    KeyAttributes: Dict[str, str],
    MetricReferences: List[MetricReferenceTypeDef],  # (1)
    AttributeMaps: NotRequired[List[Dict[str, str]]],
  1. See MetricReferenceTypeDef

ServiceTypeDef#

# ServiceTypeDef definition

class ServiceTypeDef(TypedDict):
    KeyAttributes: Dict[str, str],
    MetricReferences: List[MetricReferenceTypeDef],  # (1)
    AttributeMaps: NotRequired[List[Dict[str, str]]],
  1. See MetricReferenceTypeDef

MetricStatTypeDef#

# MetricStatTypeDef definition

class MetricStatTypeDef(TypedDict):
    Metric: MetricTypeDef,  # (1)
    Period: int,
    Stat: str,
    Unit: NotRequired[StandardUnitType],  # (2)
  1. See MetricTypeDef
  2. See StandardUnitType

GoalOutputTypeDef#

# GoalOutputTypeDef definition

class GoalOutputTypeDef(TypedDict):
    Interval: NotRequired[IntervalOutputTypeDef],  # (1)
    AttainmentGoal: NotRequired[float],
    WarningThreshold: NotRequired[float],
  1. See IntervalOutputTypeDef

GoalTypeDef#

# GoalTypeDef definition

class GoalTypeDef(TypedDict):
    Interval: NotRequired[IntervalTypeDef],  # (1)
    AttainmentGoal: NotRequired[float],
    WarningThreshold: NotRequired[float],
  1. See IntervalTypeDef

MetricDataQueryOutputTypeDef#

# MetricDataQueryOutputTypeDef definition

class MetricDataQueryOutputTypeDef(TypedDict):
    Id: str,
    MetricStat: NotRequired[MetricStatOutputTypeDef],  # (1)
    Expression: NotRequired[str],
    Label: NotRequired[str],
    ReturnData: NotRequired[bool],
    Period: NotRequired[int],
    AccountId: NotRequired[str],
  1. See MetricStatOutputTypeDef

ListServiceDependenciesOutputTypeDef#

# ListServiceDependenciesOutputTypeDef definition

class ListServiceDependenciesOutputTypeDef(TypedDict):
    StartTime: datetime,
    EndTime: datetime,
    ServiceDependencies: List[ServiceDependencyTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ServiceDependencyTypeDef
  2. See ResponseMetadataTypeDef

ListServiceDependentsOutputTypeDef#

# ListServiceDependentsOutputTypeDef definition

class ListServiceDependentsOutputTypeDef(TypedDict):
    StartTime: datetime,
    EndTime: datetime,
    ServiceDependents: List[ServiceDependentTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ServiceDependentTypeDef
  2. See ResponseMetadataTypeDef

ListServiceOperationsOutputTypeDef#

# ListServiceOperationsOutputTypeDef definition

class ListServiceOperationsOutputTypeDef(TypedDict):
    StartTime: datetime,
    EndTime: datetime,
    ServiceOperations: List[ServiceOperationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ServiceOperationTypeDef
  2. See ResponseMetadataTypeDef

ListServicesOutputTypeDef#

# ListServicesOutputTypeDef definition

class ListServicesOutputTypeDef(TypedDict):
    StartTime: datetime,
    EndTime: datetime,
    ServiceSummaries: List[ServiceSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ServiceSummaryTypeDef
  2. See ResponseMetadataTypeDef

GetServiceOutputTypeDef#

# GetServiceOutputTypeDef definition

class GetServiceOutputTypeDef(TypedDict):
    Service: ServiceTypeDef,  # (1)
    StartTime: datetime,
    EndTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ServiceTypeDef
  2. See ResponseMetadataTypeDef

MetricDataQueryTypeDef