Module aws_lambda_powertools.metrics.types
Expand source code
from typing_extensions import NotRequired, TypedDict
class MetricNameUnitResolution(TypedDict):
Name: str
Unit: str
StorageResolution: NotRequired[int]
Classes
class MetricNameUnitResolution (*args, **kwargs)
-
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2)
Expand source code
class MetricNameUnitResolution(TypedDict): Name: str Unit: str StorageResolution: NotRequired[int]
Ancestors
- builtins.dict
Class variables
var Name : str
var StorageResolution : typing_extensions.NotRequired[int]
var Unit : str