Skip to content

Type definitions#

Index > ForecastService > Type definitions

Auto-generated documentation for ForecastService type annotations stubs module mypy-boto3-forecast.

ActionTypeDef#

# ActionTypeDef definition

class ActionTypeDef(TypedDict):
    AttributeName: str,
    Operation: OperationType,  # (1)
    Value: float,
  1. See OperationType

AdditionalDatasetTypeDef#

# AdditionalDatasetTypeDef definition

class AdditionalDatasetTypeDef(TypedDict):
    Name: str,
    Configuration: NotRequired[Mapping[str, Sequence[str]]],

AttributeConfigTypeDef#

# AttributeConfigTypeDef definition

class AttributeConfigTypeDef(TypedDict):
    AttributeName: str,
    Transformations: Mapping[str, str],

BaselineMetricTypeDef#

# BaselineMetricTypeDef definition

class BaselineMetricTypeDef(TypedDict):
    Name: NotRequired[str],
    Value: NotRequired[float],

CategoricalParameterRangeTypeDef#

# CategoricalParameterRangeTypeDef definition

class CategoricalParameterRangeTypeDef(TypedDict):
    Name: str,
    Values: Sequence[str],

ContinuousParameterRangeTypeDef#

# ContinuousParameterRangeTypeDef definition

class ContinuousParameterRangeTypeDef(TypedDict):
    Name: str,
    MaxValue: float,
    MinValue: float,
    ScalingType: NotRequired[ScalingTypeType],  # (1)
  1. See ScalingTypeType

EncryptionConfigTypeDef#

# EncryptionConfigTypeDef definition

class EncryptionConfigTypeDef(TypedDict):
    RoleArn: str,
    KMSKeyArn: str,

MonitorConfigTypeDef#

# MonitorConfigTypeDef definition

class MonitorConfigTypeDef(TypedDict):
    MonitorName: str,

TagTypeDef#

# TagTypeDef definition

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

TimeAlignmentBoundaryTypeDef#

# TimeAlignmentBoundaryTypeDef definition

class TimeAlignmentBoundaryTypeDef(TypedDict):
    Month: NotRequired[MonthType],  # (1)
    DayOfMonth: NotRequired[int],
    DayOfWeek: NotRequired[DayOfWeekType],  # (2)
    Hour: NotRequired[int],
  1. See MonthType
  2. See DayOfWeekType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

ExplainabilityConfigTypeDef#

# ExplainabilityConfigTypeDef definition

class ExplainabilityConfigTypeDef(TypedDict):
    TimeSeriesGranularity: TimeSeriesGranularityType,  # (1)
    TimePointGranularity: TimePointGranularityType,  # (2)
  1. See TimeSeriesGranularityType
  2. See