Skip to content

Type definitions#

Index > Budgets > Type definitions

Auto-generated documentation for Budgets type annotations stubs module mypy-boto3-budgets.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

IamActionDefinitionUnionTypeDef#

# IamActionDefinitionUnionTypeDef definition

IamActionDefinitionUnionTypeDef = Union[
    IamActionDefinitionTypeDef,  # (1)
    IamActionDefinitionOutputTypeDef,  # (2)
]
  1. See IamActionDefinitionTypeDef
  2. See IamActionDefinitionOutputTypeDef

ScpActionDefinitionUnionTypeDef#

# ScpActionDefinitionUnionTypeDef definition

ScpActionDefinitionUnionTypeDef = Union[
    ScpActionDefinitionTypeDef,  # (1)
    ScpActionDefinitionOutputTypeDef,  # (2)
]
  1. See ScpActionDefinitionTypeDef
  2. See ScpActionDefinitionOutputTypeDef

SsmActionDefinitionUnionTypeDef#

# SsmActionDefinitionUnionTypeDef definition

SsmActionDefinitionUnionTypeDef = Union[
    SsmActionDefinitionTypeDef,  # (1)
    SsmActionDefinitionOutputTypeDef,  # (2)
]
  1. See SsmActionDefinitionTypeDef
  2. See SsmActionDefinitionOutputTypeDef

AutoAdjustDataUnionTypeDef#

# AutoAdjustDataUnionTypeDef definition

AutoAdjustDataUnionTypeDef = Union[
    AutoAdjustDataTypeDef,  # (1)
    AutoAdjustDataOutputTypeDef,  # (2)
]
  1. See AutoAdjustDataTypeDef
  2. See AutoAdjustDataOutputTypeDef

TimePeriodUnionTypeDef#

# TimePeriodUnionTypeDef definition

TimePeriodUnionTypeDef = Union[
    TimePeriodTypeDef,  # (1)
    TimePeriodOutputTypeDef,  # (2)
]
  1. See TimePeriodTypeDef
  2. See TimePeriodOutputTypeDef

ActionThresholdTypeDef#

# ActionThresholdTypeDef definition

class ActionThresholdTypeDef(TypedDict):
    ActionThresholdValue: float,
    ActionThresholdType: ThresholdTypeType,  # (1)
  1. See ThresholdTypeType

SubscriberTypeDef#

# SubscriberTypeDef definition

class SubscriberTypeDef(TypedDict):
    SubscriptionType: SubscriptionTypeType,  # (1)
    Address: str,
  1. See SubscriptionTypeType

HistoricalOptionsTypeDef#

# HistoricalOptionsTypeDef definition

class HistoricalOptionsTypeDef(TypedDict):
    BudgetAdjustmentPeriod: int,
    LookBackAvailablePeriods: NotRequired[int],

NotificationTypeDef#

# NotificationTypeDef definition

class NotificationTypeDef(TypedDict):
    NotificationType: NotificationTypeType,  # (1)
    ComparisonOperator: ComparisonOperatorType,  # (2)
    Threshold: float,
    ThresholdType: NotRequired[ThresholdTypeType],  # (3)
    NotificationState: NotRequired[NotificationStateType],  # (4)
  1. See NotificationTypeType
  2. See ComparisonOperatorType
  3. See ThresholdTypeType
  4. See NotificationStateType

CostTypesTypeDef#

# CostTypesTypeDef definition

class CostTypesTypeDef(TypedDict):
    IncludeTax: NotRequired[bool],
    IncludeSubscription: NotRequired[bool],
    UseBlended: NotRequired[bool],
    IncludeRefund: NotRequired[bool],
    IncludeCredit: NotRequired[bool],
    IncludeUpfront: NotRequired[bool],
    IncludeRecurring: NotRequired[bool],
    IncludeOtherSubscription: NotRequired[bool],
    IncludeSupport: NotRequired[bool],
    IncludeDiscount: NotRequired[bool],
    UseAmortized: NotRequired[bool],

SpendTypeDef#

# SpendTypeDef definition

class SpendTypeDef(TypedDict):
    Amount: str,
    Unit: str,

TimePeriodOutputTypeDef#

# TimePeriodOutputTypeDef definition

class TimePeriodOutputTypeDef(TypedDict):
    Start: NotRequired[datetime],
    End: NotRequired[datetime],

ResourceTagTypeDef#

# ResourceTagTypeDef definition

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

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

IamActionDefinitionOutputTypeDef#

# IamActionDefinitionOutputTypeDef definition

class IamActionDefinitionOutputTypeDef(TypedDict):
    PolicyArn: str,
    Roles: NotRequired[list[str]],
    Groups: NotRequired[list[str]],
    Users: NotRequired[list[str]],

ScpActionDefinitionOutputTypeDef#

# ScpActionDefinitionOutputTypeDef definition

class ScpActionDefinitionOutputTypeDef(TypedDict):
    PolicyId: str,
    TargetIds: list[str],

SsmActionDefinitionOutputTypeDef#

# SsmActionDefinitionOutputTypeDef definition

class SsmActionDefinitionOutputTypeDef(TypedDict):
    ActionSubType: ActionSubTypeType,  # (1)
    Region: str,
    InstanceIds: list[str],
  1. See ActionSubTypeType

DeleteBudgetActionRequestRequestTypeDef#

# DeleteBudgetActionRequestRequestTypeDef definition

class DeleteBudgetActionRequestRequestTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    ActionId: str,

DeleteBudgetRequestRequestTypeDef#

# DeleteBudgetRequestRequestTypeDef definition

class DeleteBudgetRequestRequestTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

DescribeBudgetActionRequestRequestTypeDef#

# DescribeBudgetActionRequestRequestTypeDef definition

class DescribeBudgetActionRequestRequestTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    ActionId: str,

DescribeBudgetActionsForAccountRequestRequestTypeDef#

# DescribeBudgetActionsForAccountRequestRequestTypeDef definition

class DescribeBudgetActionsForAccountRequestRequestTypeDef(TypedDict):
    AccountId: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

DescribeBudgetActionsForBudgetRequestRequestTypeDef#

# DescribeBudgetActionsForBudgetRequestRequestTypeDef definition

class DescribeBudgetActionsForBudgetRequestRequestTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

DescribeBudgetNotificationsForAccountRequestRequestTypeDef#

# DescribeBudgetNotificationsForAccountRequestRequestTypeDef definition

class DescribeBudgetNotificationsForAccountRequestRequestTypeDef(TypedDict):
    AccountId: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

DescribeBudgetRequestRequestTypeDef#

# DescribeBudgetRequestRequestTypeDef definition

class DescribeBudgetRequestRequestTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,

DescribeBudgetsRequestRequestTypeDef#

# DescribeBudgetsRequestRequestTypeDef definition

class DescribeBudgetsRequestRequestTypeDef(TypedDict):
    AccountId: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

DescribeNotificationsForBudgetRequestRequestTypeDef#

# DescribeNotificationsForBudgetRequestRequestTypeDef definition

class DescribeNotificationsForBudgetRequestRequestTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ExecuteBudgetActionRequestRequestTypeDef#

# ExecuteBudgetActionRequestRequestTypeDef definition

class ExecuteBudgetActionRequestRequestTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    ActionId: str,
    ExecutionType: ExecutionTypeType,  # (1)
  1. See ExecutionTypeType

IamActionDefinitionTypeDef#

# IamActionDefinitionTypeDef definition

class IamActionDefinitionTypeDef(TypedDict):
    PolicyArn: str,
    Roles: NotRequired[Sequence[str]],
    Groups: NotRequired[Sequence[str]],
    Users: NotRequired[Sequence[str]],

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceARN: str,

ScpActionDefinitionTypeDef#

# ScpActionDefinitionTypeDef definition

class ScpActionDefinitionTypeDef(TypedDict):
    PolicyId: str,
    TargetIds: Sequence[str],

SsmActionDefinitionTypeDef#

# SsmActionDefinitionTypeDef definition

class SsmActionDefinitionTypeDef(TypedDict):
    ActionSubType: ActionSubTypeType,  # (1)
    Region: str,
    InstanceIds: Sequence[str],
  1. See ActionSubTypeType

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceARN: str,
    ResourceTagKeys: Sequence[str],

AutoAdjustDataOutputTypeDef#

# AutoAdjustDataOutputTypeDef definition

class AutoAdjustDataOutputTypeDef(TypedDict):
    AutoAdjustType: AutoAdjustTypeType,  # (1)
    HistoricalOptions: NotRequired[HistoricalOptionsTypeDef],  # (2)
    LastAutoAdjustTime: NotRequired[datetime],
  1. See AutoAdjustTypeType
  2. See HistoricalOptionsTypeDef

AutoAdjustDataTypeDef#

# AutoAdjustDataTypeDef definition

class AutoAdjustDataTypeDef(TypedDict):
    AutoAdjustType: AutoAdjustTypeType,  # (1)
    HistoricalOptions: NotRequired[HistoricalOptionsTypeDef],  # (2)
    LastAutoAdjustTime: NotRequired[TimestampTypeDef],
  1. See AutoAdjustTypeType
  2. See HistoricalOptionsTypeDef

TimePeriodTypeDef#

# TimePeriodTypeDef definition

class TimePeriodTypeDef(TypedDict):
    Start: NotRequired[TimestampTypeDef],
    End: NotRequired[TimestampTypeDef],

BudgetNotificationsForAccountTypeDef#

# BudgetNotificationsForAccountTypeDef definition

class BudgetNotificationsForAccountTypeDef(TypedDict):
    Notifications: NotRequired[list[NotificationTypeDef]],  # (1)
    BudgetName: NotRequired[str],
  1. See NotificationTypeDef

CreateNotificationRequestRequestTypeDef#

# CreateNotificationRequestRequestTypeDef definition

class CreateNotificationRequestRequestTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    Notification: NotificationTypeDef,  # (1)
    Subscribers: Sequence[SubscriberTypeDef],  # (2)
  1. See NotificationTypeDef
  2. See SubscriberTypeDef

CreateSubscriberRequestRequestTypeDef#

# CreateSubscriberRequestRequestTypeDef definition

class CreateSubscriberRequestRequestTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    Notification: NotificationTypeDef,  # (1)
    Subscriber: SubscriberTypeDef,  # (2)
  1. See NotificationTypeDef
  2. See SubscriberTypeDef

DeleteNotificationRequestRequestTypeDef#

# DeleteNotificationRequestRequestTypeDef definition

class DeleteNotificationRequestRequestTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    Notification: NotificationTypeDef,  # (1)
  1. See NotificationTypeDef

DeleteSubscriberRequestRequestTypeDef#

# DeleteSubscriberRequestRequestTypeDef definition

class DeleteSubscriberRequestRequestTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    Notification: NotificationTypeDef,  # (1)
    Subscriber: SubscriberTypeDef,  # (2)
  1. See NotificationTypeDef
  2. See SubscriberTypeDef

DescribeSubscribersForNotificationRequestRequestTypeDef#

# DescribeSubscribersForNotificationRequestRequestTypeDef definition

class DescribeSubscribersForNotificationRequestRequestTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    Notification: NotificationTypeDef,  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See NotificationTypeDef

NotificationWithSubscribersTypeDef#

# NotificationWithSubscribersTypeDef definition

class NotificationWithSubscribersTypeDef(TypedDict):
    Notification: NotificationTypeDef,  # (1)
    Subscribers: Sequence[SubscriberTypeDef],  # (2)
  1. See NotificationTypeDef
  2. See SubscriberTypeDef

UpdateNotificationRequestRequestTypeDef#

# UpdateNotificationRequestRequestTypeDef definition

class UpdateNotificationRequestRequestTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    OldNotification: NotificationTypeDef,  # (1)
    NewNotification: NotificationTypeDef,  # (1)
  1. See NotificationTypeDef
  2. See NotificationTypeDef

UpdateSubscriberRequestRequestTypeDef#

# UpdateSubscriberRequestRequestTypeDef definition

class UpdateSubscriberRequestRequestTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    Notification: NotificationTypeDef,  # (1)
    OldSubscriber: SubscriberTypeDef,  # (2)
    NewSubscriber: SubscriberTypeDef,  # (2)
  1. See NotificationTypeDef
  2. See SubscriberTypeDef
  3. See SubscriberTypeDef

CalculatedSpendTypeDef#

# CalculatedSpendTypeDef definition

class CalculatedSpendTypeDef(TypedDict):
    ActualSpend: SpendTypeDef,  # (1)
    ForecastedSpend: NotRequired[SpendTypeDef],  # (1)
  1. See SpendTypeDef
  2. See SpendTypeDef

BudgetedAndActualAmountsTypeDef#

# BudgetedAndActualAmountsTypeDef definition

class BudgetedAndActualAmountsTypeDef(TypedDict):
    BudgetedAmount: NotRequired[SpendTypeDef],  # (1)
    ActualAmount: NotRequired[SpendTypeDef],  # (1)
    TimePeriod: NotRequired[TimePeriodOutputTypeDef],  # (3)
  1. See SpendTypeDef
  2. See SpendTypeDef
  3. See TimePeriodOutputTypeDef

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceARN: str,
    ResourceTags: Sequence[ResourceTagTypeDef],  # (1)
  1. See ResourceTagTypeDef

CreateBudgetActionResponseTypeDef#

# CreateBudgetActionResponseTypeDef definition

class CreateBudgetActionResponseTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    ActionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeNotificationsForBudgetResponseTypeDef#

# DescribeNotificationsForBudgetResponseTypeDef definition

class DescribeNotificationsForBudgetResponseTypeDef(TypedDict):
    Notifications: list[NotificationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See NotificationTypeDef
  2. See ResponseMetadataTypeDef

DescribeSubscribersForNotificationResponseTypeDef#

# DescribeSubscribersForNotificationResponseTypeDef definition

class DescribeSubscribersForNotificationResponseTypeDef(TypedDict):
    Subscribers: list[SubscriberTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See SubscriberTypeDef
  2. See ResponseMetadataTypeDef

ExecuteBudgetActionResponseTypeDef#

# ExecuteBudgetActionResponseTypeDef definition

class ExecuteBudgetActionResponseTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    ActionId: str,
    ExecutionType: ExecutionTypeType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ExecutionTypeType
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    ResourceTags: list[ResourceTagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourceTagTypeDef
  2. See ResponseMetadataTypeDef

DefinitionOutputTypeDef#

# DefinitionOutputTypeDef definition

class DefinitionOutputTypeDef(TypedDict):
    IamActionDefinition: NotRequired[IamActionDefinitionOutputTypeDef],  # (1)
    ScpActionDefinition: NotRequired[ScpActionDefinitionOutputTypeDef],  # (2)
    SsmActionDefinition: NotRequired[SsmActionDefinitionOutputTypeDef],  # (3)
  1. See IamActionDefinitionOutputTypeDef
  2. See ScpActionDefinitionOutputTypeDef
  3. See SsmActionDefinitionOutputTypeDef

DescribeBudgetActionsForAccountRequestPaginateTypeDef#

# DescribeBudgetActionsForAccountRequestPaginateTypeDef definition

class DescribeBudgetActionsForAccountRequestPaginateTypeDef(TypedDict):
    AccountId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeBudgetActionsForBudgetRequestPaginateTypeDef#

# DescribeBudgetActionsForBudgetRequestPaginateTypeDef definition

class DescribeBudgetActionsForBudgetRequestPaginateTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeBudgetNotificationsForAccountRequestPaginateTypeDef#

# DescribeBudgetNotificationsForAccountRequestPaginateTypeDef definition

class DescribeBudgetNotificationsForAccountRequestPaginateTypeDef(TypedDict):
    AccountId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeBudgetsRequestPaginateTypeDef#

# DescribeBudgetsRequestPaginateTypeDef definition

class DescribeBudgetsRequestPaginateTypeDef(TypedDict):
    AccountId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeNotificationsForBudgetRequestPaginateTypeDef#

# DescribeNotificationsForBudgetRequestPaginateTypeDef definition

class DescribeNotificationsForBudgetRequestPaginateTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeSubscribersForNotificationRequestPaginateTypeDef#

# DescribeSubscribersForNotificationRequestPaginateTypeDef definition

class DescribeSubscribersForNotificationRequestPaginateTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    Notification: NotificationTypeDef,  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See NotificationTypeDef
  2. See PaginatorConfigTypeDef

DescribeBudgetActionHistoriesRequestPaginateTypeDef#

# DescribeBudgetActionHistoriesRequestPaginateTypeDef definition

class DescribeBudgetActionHistoriesRequestPaginateTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    ActionId: str,
    TimePeriod: NotRequired[TimePeriodTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See TimePeriodTypeDef
  2. See PaginatorConfigTypeDef

DescribeBudgetActionHistoriesRequestRequestTypeDef#

# DescribeBudgetActionHistoriesRequestRequestTypeDef definition

class DescribeBudgetActionHistoriesRequestRequestTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    ActionId: str,
    TimePeriod: NotRequired[TimePeriodTypeDef],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See TimePeriodTypeDef

DescribeBudgetPerformanceHistoryRequestPaginateTypeDef#

# DescribeBudgetPerformanceHistoryRequestPaginateTypeDef definition

class DescribeBudgetPerformanceHistoryRequestPaginateTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    TimePeriod: NotRequired[TimePeriodTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See TimePeriodTypeDef
  2. See PaginatorConfigTypeDef

DescribeBudgetPerformanceHistoryRequestRequestTypeDef#

# DescribeBudgetPerformanceHistoryRequestRequestTypeDef definition

class DescribeBudgetPerformanceHistoryRequestRequestTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    TimePeriod: NotRequired[TimePeriodTypeDef],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See TimePeriodTypeDef

DescribeBudgetNotificationsForAccountResponseTypeDef#

# DescribeBudgetNotificationsForAccountResponseTypeDef definition

class DescribeBudgetNotificationsForAccountResponseTypeDef(TypedDict):
    BudgetNotificationsForAccount: list[BudgetNotificationsForAccountTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See BudgetNotificationsForAccountTypeDef
  2. See ResponseMetadataTypeDef

BudgetOutputTypeDef#

# BudgetOutputTypeDef definition

class BudgetOutputTypeDef(TypedDict):
    BudgetName: str,
    TimeUnit: TimeUnitType,  # (4)
    BudgetType: BudgetTypeType,  # (7)
    BudgetLimit: NotRequired[SpendTypeDef],  # (1)
    PlannedBudgetLimits: NotRequired[dict[str, SpendTypeDef]],  # (2)
    CostFilters: NotRequired[dict[str, list[str]]],
    CostTypes: NotRequired[CostTypesTypeDef],  # (3)
    TimePeriod: NotRequired[TimePeriodOutputTypeDef],  # (5)
    CalculatedSpend: NotRequired[CalculatedSpendTypeDef],  # (6)
    LastUpdatedTime: NotRequired[datetime],
    AutoAdjustData: NotRequired[AutoAdjustDataOutputTypeDef],  # (8)
  1. See SpendTypeDef
  2. See SpendTypeDef
  3. See CostTypesTypeDef
  4. See TimeUnitType
  5. See TimePeriodOutputTypeDef
  6. See CalculatedSpendTypeDef
  7. See BudgetTypeType
  8. See AutoAdjustDataOutputTypeDef

BudgetPerformanceHistoryTypeDef#

# BudgetPerformanceHistoryTypeDef definition

class BudgetPerformanceHistoryTypeDef(TypedDict):
    BudgetName: NotRequired[str],
    BudgetType: NotRequired[BudgetTypeType],  # (1)
    CostFilters: NotRequired[dict[str, list[str]]],
    CostTypes: NotRequired[CostTypesTypeDef],  # (2)
    TimeUnit: NotRequired[TimeUnitType],  # (3)
    BudgetedAndActualAmountsList: NotRequired[list[BudgetedAndActualAmountsTypeDef]],  # (4)
  1. See BudgetTypeType
  2. See CostTypesTypeDef
  3. See TimeUnitType
  4. See BudgetedAndActualAmountsTypeDef

ActionTypeDef#

# ActionTypeDef definition

class ActionTypeDef(TypedDict):
    ActionId: str,
    BudgetName: str,
    NotificationType: NotificationTypeType,  # (1)
    ActionType: ActionTypeType,  # (2)
    ActionThreshold: ActionThresholdTypeDef,  # (3)
    Definition: DefinitionOutputTypeDef,  # (4)
    ExecutionRoleArn: str,
    ApprovalModel: ApprovalModelType,  # (5)
    Status: ActionStatusType,  # (6)
    Subscribers: list[SubscriberTypeDef],  # (7)
  1. See NotificationTypeType
  2. See ActionTypeType
  3. See ActionThresholdTypeDef
  4. See DefinitionOutputTypeDef
  5. See ApprovalModelType
  6. See ActionStatusType
  7. See SubscriberTypeDef

DefinitionTypeDef#

# DefinitionTypeDef definition

class DefinitionTypeDef(TypedDict):
    IamActionDefinition: NotRequired[IamActionDefinitionUnionTypeDef],  # (1)
    ScpActionDefinition: NotRequired[ScpActionDefinitionUnionTypeDef],  # (2)
    SsmActionDefinition: NotRequired[SsmActionDefinitionUnionTypeDef],  # (3)
  1. See IamActionDefinitionTypeDef IamActionDefinitionOutputTypeDef
  2. See ScpActionDefinitionTypeDef ScpActionDefinitionOutputTypeDef
  3. See SsmActionDefinitionTypeDef SsmActionDefinitionOutputTypeDef

BudgetTypeDef#

# BudgetTypeDef definition

class BudgetTypeDef(TypedDict):
    BudgetName: str,
    TimeUnit: TimeUnitType,  # (4)
    BudgetType: BudgetTypeType,  # (7)
    BudgetLimit: NotRequired[SpendTypeDef],  # (1)
    PlannedBudgetLimits: NotRequired[Mapping[str, SpendTypeDef]],  # (2)
    CostFilters: NotRequired[Mapping[str, Sequence[str]]],
    CostTypes: NotRequired[CostTypesTypeDef],  # (3)
    TimePeriod: NotRequired[TimePeriodUnionTypeDef],  # (5)
    CalculatedSpend: NotRequired[CalculatedSpendTypeDef],  # (6)
    LastUpdatedTime: NotRequired[TimestampTypeDef],
    AutoAdjustData: NotRequired[AutoAdjustDataUnionTypeDef],  # (8)
  1. See SpendTypeDef
  2. See SpendTypeDef
  3. See CostTypesTypeDef
  4. See TimeUnitType
  5. See TimePeriodTypeDef TimePeriodOutputTypeDef
  6. See CalculatedSpendTypeDef
  7. See BudgetTypeType
  8. See AutoAdjustDataTypeDef AutoAdjustDataOutputTypeDef

DescribeBudgetResponseTypeDef#

# DescribeBudgetResponseTypeDef definition

class DescribeBudgetResponseTypeDef(TypedDict):
    Budget: BudgetOutputTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BudgetOutputTypeDef
  2. See ResponseMetadataTypeDef

DescribeBudgetsResponseTypeDef#

# DescribeBudgetsResponseTypeDef definition

class DescribeBudgetsResponseTypeDef(TypedDict):
    Budgets: list[BudgetOutputTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See BudgetOutputTypeDef
  2. See ResponseMetadataTypeDef

DescribeBudgetPerformanceHistoryResponseTypeDef#

# DescribeBudgetPerformanceHistoryResponseTypeDef definition

class DescribeBudgetPerformanceHistoryResponseTypeDef(TypedDict):
    BudgetPerformanceHistory: BudgetPerformanceHistoryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See BudgetPerformanceHistoryTypeDef
  2. See ResponseMetadataTypeDef

ActionHistoryDetailsTypeDef#

# ActionHistoryDetailsTypeDef definition

class ActionHistoryDetailsTypeDef(TypedDict):
    Message: str,
    Action: ActionTypeDef,  # (1)
  1. See ActionTypeDef

DeleteBudgetActionResponseTypeDef#

# DeleteBudgetActionResponseTypeDef definition

class DeleteBudgetActionResponseTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    Action: ActionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ActionTypeDef
  2. See ResponseMetadataTypeDef

DescribeBudgetActionResponseTypeDef#

# DescribeBudgetActionResponseTypeDef definition

class DescribeBudgetActionResponseTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    Action: ActionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ActionTypeDef
  2. See ResponseMetadataTypeDef

DescribeBudgetActionsForAccountResponseTypeDef#

# DescribeBudgetActionsForAccountResponseTypeDef definition

class DescribeBudgetActionsForAccountResponseTypeDef(TypedDict):
    Actions: list[ActionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ActionTypeDef
  2. See ResponseMetadataTypeDef

DescribeBudgetActionsForBudgetResponseTypeDef#

# DescribeBudgetActionsForBudgetResponseTypeDef definition

class DescribeBudgetActionsForBudgetResponseTypeDef(TypedDict):
    Actions: list[ActionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ActionTypeDef
  2. See ResponseMetadataTypeDef

UpdateBudgetActionResponseTypeDef#

# UpdateBudgetActionResponseTypeDef definition

class UpdateBudgetActionResponseTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    OldAction: ActionTypeDef,  # (1)
    NewAction: ActionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ActionTypeDef
  2. See ActionTypeDef
  3. See ResponseMetadataTypeDef

CreateBudgetActionRequestRequestTypeDef#

# CreateBudgetActionRequestRequestTypeDef definition

class CreateBudgetActionRequestRequestTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    NotificationType: NotificationTypeType,  # (1)
    ActionType: ActionTypeType,  # (2)
    ActionThreshold: ActionThresholdTypeDef,  # (3)
    Definition: DefinitionTypeDef,  # (4)
    ExecutionRoleArn: str,
    ApprovalModel: ApprovalModelType,  # (5)
    Subscribers: Sequence[SubscriberTypeDef],  # (6)
    ResourceTags: NotRequired[Sequence[ResourceTagTypeDef]],  # (7)
  1. See NotificationTypeType
  2. See ActionTypeType
  3. See ActionThresholdTypeDef
  4. See DefinitionTypeDef
  5. See ApprovalModelType
  6. See SubscriberTypeDef
  7. See ResourceTagTypeDef

UpdateBudgetActionRequestRequestTypeDef#

# UpdateBudgetActionRequestRequestTypeDef definition

class UpdateBudgetActionRequestRequestTypeDef(TypedDict):
    AccountId: str,
    BudgetName: str,
    ActionId: str,
    NotificationType: NotRequired[NotificationTypeType],  # (1)
    ActionThreshold: NotRequired[ActionThresholdTypeDef],  # (2)
    Definition: NotRequired[DefinitionTypeDef],  # (3)
    ExecutionRoleArn: NotRequired[str],
    ApprovalModel: NotRequired[ApprovalModelType],  # (4)
    Subscribers: NotRequired[Sequence[SubscriberTypeDef]],  # (5)
  1. See NotificationTypeType
  2. See ActionThresholdTypeDef
  3. See DefinitionTypeDef
  4. See ApprovalModelType
  5. See SubscriberTypeDef

CreateBudgetRequestRequestTypeDef#

# CreateBudgetRequestRequestTypeDef definition

class CreateBudgetRequestRequestTypeDef(TypedDict):
    AccountId: str,
    Budget: BudgetTypeDef,  # (1)
    NotificationsWithSubscribers: NotRequired[Sequence[NotificationWithSubscribersTypeDef]],  # (2)
    ResourceTags: NotRequired[Sequence[ResourceTagTypeDef]],  # (3)
  1. See BudgetTypeDef
  2. See NotificationWithSubscribersTypeDef
  3. See ResourceTagTypeDef

UpdateBudgetRequestRequestTypeDef#

# UpdateBudgetRequestRequestTypeDef definition

class UpdateBudgetRequestRequestTypeDef(TypedDict):
    AccountId: str,
    NewBudget: BudgetTypeDef,  # (1)
  1. See BudgetTypeDef

ActionHistoryTypeDef#

# ActionHistoryTypeDef definition

class ActionHistoryTypeDef(TypedDict):
    Timestamp: datetime,
    Status: ActionStatusType,  # (1)
    EventType: EventTypeType,  # (2)
    ActionHistoryDetails: ActionHistoryDetailsTypeDef,  # (3)
  1. See ActionStatusType
  2. See EventTypeType
  3. See ActionHistoryDetailsTypeDef

DescribeBudgetActionHistoriesResponseTypeDef#

# DescribeBudgetActionHistoriesResponseTypeDef definition

class DescribeBudgetActionHistoriesResponseTypeDef(TypedDict):
    ActionHistories: list[ActionHistoryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ActionHistoryTypeDef
  2. See ResponseMetadataTypeDef