Typed dictionaries
Auto-generated documentation for Budgets type annotations stubs module mypy-boto3-budgets.
ActionThresholdTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import ActionThresholdTypeDef
def get_value() -> ActionThresholdTypeDef:
return {
"ActionThresholdValue": ...,
"ActionThresholdType": ...,
}
Definition
class ActionThresholdTypeDef(TypedDict):
ActionThresholdValue: float,
ActionThresholdType: ThresholdTypeType, # (1)
SubscriberTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import SubscriberTypeDef
def get_value() -> SubscriberTypeDef:
return {
"SubscriptionType": ...,
"Address": ...,
}
Definition
class SubscriberTypeDef(TypedDict):
SubscriptionType: SubscriptionTypeType, # (1)
Address: str,
HistoricalOptionsTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import HistoricalOptionsTypeDef
def get_value() -> HistoricalOptionsTypeDef:
return {
"BudgetAdjustmentPeriod": ...,
}
Definition
class HistoricalOptionsTypeDef(TypedDict):
BudgetAdjustmentPeriod: int,
LookBackAvailablePeriods: NotRequired[int],
NotificationTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import NotificationTypeDef
def get_value() -> NotificationTypeDef:
return {
"NotificationType": ...,
"ComparisonOperator": ...,
"Threshold": ...,
}
Definition
class NotificationTypeDef(TypedDict):
NotificationType: NotificationTypeType, # (1)
ComparisonOperator: ComparisonOperatorType, # (2)
Threshold: float,
ThresholdType: NotRequired[ThresholdTypeType], # (3)
NotificationState: NotRequired[NotificationStateType], # (4)
CostTypesTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import CostTypesTypeDef
def get_value() -> CostTypesTypeDef:
return {
"IncludeTax": ...,
}
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
Usage Example
from mypy_boto3_budgets.type_defs import SpendTypeDef
def get_value() -> SpendTypeDef:
return {
"Amount": ...,
"Unit": ...,
}
TimePeriodTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import TimePeriodTypeDef
def get_value() -> TimePeriodTypeDef:
return {
"Start": ...,
}
Definition
class TimePeriodTypeDef(TypedDict):
Start: NotRequired[Union[datetime, str]],
End: NotRequired[Union[datetime, str]],
ResponseMetadataTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
Definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
IamActionDefinitionTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import IamActionDefinitionTypeDef
def get_value() -> IamActionDefinitionTypeDef:
return {
"PolicyArn": ...,
}
Definition
class IamActionDefinitionTypeDef(TypedDict):
PolicyArn: str,
Roles: NotRequired[Sequence[str]],
Groups: NotRequired[Sequence[str]],
Users: NotRequired[Sequence[str]],
ScpActionDefinitionTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import ScpActionDefinitionTypeDef
def get_value() -> ScpActionDefinitionTypeDef:
return {
"PolicyId": ...,
"TargetIds": ...,
}
SsmActionDefinitionTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import SsmActionDefinitionTypeDef
def get_value() -> SsmActionDefinitionTypeDef:
return {
"ActionSubType": ...,
"Region": ...,
"InstanceIds": ...,
}
Definition
class SsmActionDefinitionTypeDef(TypedDict):
ActionSubType: ActionSubTypeType, # (1)
Region: str,
InstanceIds: Sequence[str],
DeleteBudgetActionRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DeleteBudgetActionRequestRequestTypeDef
def get_value() -> DeleteBudgetActionRequestRequestTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
"ActionId": ...,
}
Definition
class DeleteBudgetActionRequestRequestTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
ActionId: str,
DeleteBudgetRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DeleteBudgetRequestRequestTypeDef
def get_value() -> DeleteBudgetRequestRequestTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
}
PaginatorConfigTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
Definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
DescribeBudgetActionRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetActionRequestRequestTypeDef
def get_value() -> DescribeBudgetActionRequestRequestTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
"ActionId": ...,
}
Definition
class DescribeBudgetActionRequestRequestTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
ActionId: str,
DescribeBudgetActionsForAccountRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetActionsForAccountRequestRequestTypeDef
def get_value() -> DescribeBudgetActionsForAccountRequestRequestTypeDef:
return {
"AccountId": ...,
}
Definition
class DescribeBudgetActionsForAccountRequestRequestTypeDef(TypedDict):
AccountId: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
DescribeBudgetActionsForBudgetRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetActionsForBudgetRequestRequestTypeDef
def get_value() -> DescribeBudgetActionsForBudgetRequestRequestTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
}
Definition
class DescribeBudgetActionsForBudgetRequestRequestTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
DescribeBudgetNotificationsForAccountRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetNotificationsForAccountRequestRequestTypeDef
def get_value() -> DescribeBudgetNotificationsForAccountRequestRequestTypeDef:
return {
"AccountId": ...,
}
Definition
class DescribeBudgetNotificationsForAccountRequestRequestTypeDef(TypedDict):
AccountId: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
DescribeBudgetRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetRequestRequestTypeDef
def get_value() -> DescribeBudgetRequestRequestTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
}
DescribeBudgetsRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetsRequestRequestTypeDef
def get_value() -> DescribeBudgetsRequestRequestTypeDef:
return {
"AccountId": ...,
}
Definition
class DescribeBudgetsRequestRequestTypeDef(TypedDict):
AccountId: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
DescribeNotificationsForBudgetRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeNotificationsForBudgetRequestRequestTypeDef
def get_value() -> DescribeNotificationsForBudgetRequestRequestTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
}
Definition
class DescribeNotificationsForBudgetRequestRequestTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ExecuteBudgetActionRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import ExecuteBudgetActionRequestRequestTypeDef
def get_value() -> ExecuteBudgetActionRequestRequestTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
"ActionId": ...,
"ExecutionType": ...,
}
Definition
class ExecuteBudgetActionRequestRequestTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
ActionId: str,
ExecutionType: ExecutionTypeType, # (1)
AutoAdjustDataTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import AutoAdjustDataTypeDef
def get_value() -> AutoAdjustDataTypeDef:
return {
"AutoAdjustType": ...,
}
Definition
class AutoAdjustDataTypeDef(TypedDict):
AutoAdjustType: AutoAdjustTypeType, # (1)
HistoricalOptions: NotRequired[HistoricalOptionsTypeDef], # (2)
LastAutoAdjustTime: NotRequired[Union[datetime, str]],
BudgetNotificationsForAccountTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import BudgetNotificationsForAccountTypeDef
def get_value() -> BudgetNotificationsForAccountTypeDef:
return {
"Notifications": ...,
}
Definition
class BudgetNotificationsForAccountTypeDef(TypedDict):
Notifications: NotRequired[List[NotificationTypeDef]], # (1)
BudgetName: NotRequired[str],
CreateNotificationRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import CreateNotificationRequestRequestTypeDef
def get_value() -> CreateNotificationRequestRequestTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
"Notification": ...,
"Subscribers": ...,
}
Definition
class CreateNotificationRequestRequestTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
Notification: NotificationTypeDef, # (1)
Subscribers: Sequence[SubscriberTypeDef], # (2)
- See NotificationTypeDef
- See SubscriberTypeDef
CreateSubscriberRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import CreateSubscriberRequestRequestTypeDef
def get_value() -> CreateSubscriberRequestRequestTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
"Notification": ...,
"Subscriber": ...,
}
Definition
class CreateSubscriberRequestRequestTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
Notification: NotificationTypeDef, # (1)
Subscriber: SubscriberTypeDef, # (2)
- See NotificationTypeDef
- See SubscriberTypeDef
DeleteNotificationRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DeleteNotificationRequestRequestTypeDef
def get_value() -> DeleteNotificationRequestRequestTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
"Notification": ...,
}
Definition
class DeleteNotificationRequestRequestTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
Notification: NotificationTypeDef, # (1)
DeleteSubscriberRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DeleteSubscriberRequestRequestTypeDef
def get_value() -> DeleteSubscriberRequestRequestTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
"Notification": ...,
"Subscriber": ...,
}
Definition
class DeleteSubscriberRequestRequestTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
Notification: NotificationTypeDef, # (1)
Subscriber: SubscriberTypeDef, # (2)
- See NotificationTypeDef
- See SubscriberTypeDef
DescribeSubscribersForNotificationRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeSubscribersForNotificationRequestRequestTypeDef
def get_value() -> DescribeSubscribersForNotificationRequestRequestTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
"Notification": ...,
}
Definition
class DescribeSubscribersForNotificationRequestRequestTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
Notification: NotificationTypeDef, # (1)
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
NotificationWithSubscribersTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import NotificationWithSubscribersTypeDef
def get_value() -> NotificationWithSubscribersTypeDef:
return {
"Notification": ...,
"Subscribers": ...,
}
Definition
class NotificationWithSubscribersTypeDef(TypedDict):
Notification: NotificationTypeDef, # (1)
Subscribers: Sequence[SubscriberTypeDef], # (2)
- See NotificationTypeDef
- See SubscriberTypeDef
UpdateNotificationRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import UpdateNotificationRequestRequestTypeDef
def get_value() -> UpdateNotificationRequestRequestTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
"OldNotification": ...,
"NewNotification": ...,
}
Definition
class UpdateNotificationRequestRequestTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
OldNotification: NotificationTypeDef, # (1)
NewNotification: NotificationTypeDef, # (1)
UpdateSubscriberRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import UpdateSubscriberRequestRequestTypeDef
def get_value() -> UpdateSubscriberRequestRequestTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
"Notification": ...,
"OldSubscriber": ...,
"NewSubscriber": ...,
}
Definition
class UpdateSubscriberRequestRequestTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
Notification: NotificationTypeDef, # (1)
OldSubscriber: SubscriberTypeDef, # (2)
NewSubscriber: SubscriberTypeDef, # (2)
- See NotificationTypeDef
- See SubscriberTypeDef
- See SubscriberTypeDef
CalculatedSpendTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import CalculatedSpendTypeDef
def get_value() -> CalculatedSpendTypeDef:
return {
"ActualSpend": ...,
}
Definition
class CalculatedSpendTypeDef(TypedDict):
ActualSpend: SpendTypeDef, # (1)
ForecastedSpend: NotRequired[SpendTypeDef], # (1)
- See SpendTypeDef
- See SpendTypeDef
BudgetedAndActualAmountsTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import BudgetedAndActualAmountsTypeDef
def get_value() -> BudgetedAndActualAmountsTypeDef:
return {
"BudgetedAmount": ...,
}
Definition
class BudgetedAndActualAmountsTypeDef(TypedDict):
BudgetedAmount: NotRequired[SpendTypeDef], # (1)
ActualAmount: NotRequired[SpendTypeDef], # (1)
TimePeriod: NotRequired[TimePeriodTypeDef], # (3)
- See SpendTypeDef
- See SpendTypeDef
- See TimePeriodTypeDef
DescribeBudgetActionHistoriesRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetActionHistoriesRequestRequestTypeDef
def get_value() -> DescribeBudgetActionHistoriesRequestRequestTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
"ActionId": ...,
}
Definition
class DescribeBudgetActionHistoriesRequestRequestTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
ActionId: str,
TimePeriod: NotRequired[TimePeriodTypeDef], # (1)
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
DescribeBudgetPerformanceHistoryRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetPerformanceHistoryRequestRequestTypeDef
def get_value() -> DescribeBudgetPerformanceHistoryRequestRequestTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
}
Definition
class DescribeBudgetPerformanceHistoryRequestRequestTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
TimePeriod: NotRequired[TimePeriodTypeDef], # (1)
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
CreateBudgetActionResponseTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import CreateBudgetActionResponseTypeDef
def get_value() -> CreateBudgetActionResponseTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
"ActionId": ...,
"ResponseMetadata": ...,
}
Definition
class CreateBudgetActionResponseTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
ActionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeNotificationsForBudgetResponseTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeNotificationsForBudgetResponseTypeDef
def get_value() -> DescribeNotificationsForBudgetResponseTypeDef:
return {
"Notifications": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeNotificationsForBudgetResponseTypeDef(TypedDict):
Notifications: List[NotificationTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeSubscribersForNotificationResponseTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeSubscribersForNotificationResponseTypeDef
def get_value() -> DescribeSubscribersForNotificationResponseTypeDef:
return {
"Subscribers": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeSubscribersForNotificationResponseTypeDef(TypedDict):
Subscribers: List[SubscriberTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ExecuteBudgetActionResponseTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import ExecuteBudgetActionResponseTypeDef
def get_value() -> ExecuteBudgetActionResponseTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
"ActionId": ...,
"ExecutionType": ...,
"ResponseMetadata": ...,
}
Definition
class ExecuteBudgetActionResponseTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
ActionId: str,
ExecutionType: ExecutionTypeType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DefinitionTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DefinitionTypeDef
def get_value() -> DefinitionTypeDef:
return {
"IamActionDefinition": ...,
}
Definition
class DefinitionTypeDef(TypedDict):
IamActionDefinition: NotRequired[IamActionDefinitionTypeDef], # (1)
ScpActionDefinition: NotRequired[ScpActionDefinitionTypeDef], # (2)
SsmActionDefinition: NotRequired[SsmActionDefinitionTypeDef], # (3)
DescribeBudgetActionHistoriesRequestDescribeBudgetActionHistoriesPaginateTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetActionHistoriesRequestDescribeBudgetActionHistoriesPaginateTypeDef
def get_value() -> DescribeBudgetActionHistoriesRequestDescribeBudgetActionHistoriesPaginateTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
"ActionId": ...,
}
Definition
class DescribeBudgetActionHistoriesRequestDescribeBudgetActionHistoriesPaginateTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
ActionId: str,
TimePeriod: NotRequired[TimePeriodTypeDef], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
DescribeBudgetActionsForAccountRequestDescribeBudgetActionsForAccountPaginateTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetActionsForAccountRequestDescribeBudgetActionsForAccountPaginateTypeDef
def get_value() -> DescribeBudgetActionsForAccountRequestDescribeBudgetActionsForAccountPaginateTypeDef:
return {
"AccountId": ...,
}
Definition
class DescribeBudgetActionsForAccountRequestDescribeBudgetActionsForAccountPaginateTypeDef(TypedDict):
AccountId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeBudgetActionsForBudgetRequestDescribeBudgetActionsForBudgetPaginateTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetActionsForBudgetRequestDescribeBudgetActionsForBudgetPaginateTypeDef
def get_value() -> DescribeBudgetActionsForBudgetRequestDescribeBudgetActionsForBudgetPaginateTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
}
Definition
class DescribeBudgetActionsForBudgetRequestDescribeBudgetActionsForBudgetPaginateTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeBudgetNotificationsForAccountRequestDescribeBudgetNotificationsForAccountPaginateTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetNotificationsForAccountRequestDescribeBudgetNotificationsForAccountPaginateTypeDef
def get_value() -> DescribeBudgetNotificationsForAccountRequestDescribeBudgetNotificationsForAccountPaginateTypeDef:
return {
"AccountId": ...,
}
Definition
class DescribeBudgetNotificationsForAccountRequestDescribeBudgetNotificationsForAccountPaginateTypeDef(TypedDict):
AccountId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeBudgetPerformanceHistoryRequestDescribeBudgetPerformanceHistoryPaginateTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetPerformanceHistoryRequestDescribeBudgetPerformanceHistoryPaginateTypeDef
def get_value() -> DescribeBudgetPerformanceHistoryRequestDescribeBudgetPerformanceHistoryPaginateTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
}
Definition
class DescribeBudgetPerformanceHistoryRequestDescribeBudgetPerformanceHistoryPaginateTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
TimePeriod: NotRequired[TimePeriodTypeDef], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
DescribeBudgetsRequestDescribeBudgetsPaginateTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetsRequestDescribeBudgetsPaginateTypeDef
def get_value() -> DescribeBudgetsRequestDescribeBudgetsPaginateTypeDef:
return {
"AccountId": ...,
}
Definition
class DescribeBudgetsRequestDescribeBudgetsPaginateTypeDef(TypedDict):
AccountId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeNotificationsForBudgetRequestDescribeNotificationsForBudgetPaginateTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeNotificationsForBudgetRequestDescribeNotificationsForBudgetPaginateTypeDef
def get_value() -> DescribeNotificationsForBudgetRequestDescribeNotificationsForBudgetPaginateTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
}
Definition
class DescribeNotificationsForBudgetRequestDescribeNotificationsForBudgetPaginateTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeSubscribersForNotificationRequestDescribeSubscribersForNotificationPaginateTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeSubscribersForNotificationRequestDescribeSubscribersForNotificationPaginateTypeDef
def get_value() -> DescribeSubscribersForNotificationRequestDescribeSubscribersForNotificationPaginateTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
"Notification": ...,
}
Definition
class DescribeSubscribersForNotificationRequestDescribeSubscribersForNotificationPaginateTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
Notification: NotificationTypeDef, # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
DescribeBudgetNotificationsForAccountResponseTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetNotificationsForAccountResponseTypeDef
def get_value() -> DescribeBudgetNotificationsForAccountResponseTypeDef:
return {
"BudgetNotificationsForAccount": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeBudgetNotificationsForAccountResponseTypeDef(TypedDict):
BudgetNotificationsForAccount: List[BudgetNotificationsForAccountTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BudgetTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import BudgetTypeDef
def get_value() -> BudgetTypeDef:
return {
"BudgetName": ...,
"TimeUnit": ...,
"BudgetType": ...,
}
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[TimePeriodTypeDef], # (5)
CalculatedSpend: NotRequired[CalculatedSpendTypeDef], # (6)
LastUpdatedTime: NotRequired[Union[datetime, str]],
AutoAdjustData: NotRequired[AutoAdjustDataTypeDef], # (8)
- See SpendTypeDef
- See SpendTypeDef
- See CostTypesTypeDef
- See TimeUnitType
- See TimePeriodTypeDef
- See CalculatedSpendTypeDef
- See BudgetTypeType
- See AutoAdjustDataTypeDef
BudgetPerformanceHistoryTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import BudgetPerformanceHistoryTypeDef
def get_value() -> BudgetPerformanceHistoryTypeDef:
return {
"BudgetName": ...,
}
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)
- See BudgetTypeType
- See CostTypesTypeDef
- See TimeUnitType
- See BudgetedAndActualAmountsTypeDef
ActionTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import ActionTypeDef
def get_value() -> ActionTypeDef:
return {
"ActionId": ...,
"BudgetName": ...,
"NotificationType": ...,
"ActionType": ...,
"ActionThreshold": ...,
"Definition": ...,
"ExecutionRoleArn": ...,
"ApprovalModel": ...,
"Status": ...,
"Subscribers": ...,
}
Definition
class ActionTypeDef(TypedDict):
ActionId: str,
BudgetName: str,
NotificationType: NotificationTypeType, # (1)
ActionType: ActionTypeType, # (2)
ActionThreshold: ActionThresholdTypeDef, # (3)
Definition: DefinitionTypeDef, # (4)
ExecutionRoleArn: str,
ApprovalModel: ApprovalModelType, # (5)
Status: ActionStatusType, # (6)
Subscribers: List[SubscriberTypeDef], # (7)
- See NotificationTypeType
- See ActionTypeType
- See ActionThresholdTypeDef
- See DefinitionTypeDef
- See ApprovalModelType
- See ActionStatusType
- See SubscriberTypeDef
CreateBudgetActionRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import CreateBudgetActionRequestRequestTypeDef
def get_value() -> CreateBudgetActionRequestRequestTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
"NotificationType": ...,
"ActionType": ...,
"ActionThreshold": ...,
"Definition": ...,
"ExecutionRoleArn": ...,
"ApprovalModel": ...,
"Subscribers": ...,
}
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)
- See NotificationTypeType
- See ActionTypeType
- See ActionThresholdTypeDef
- See DefinitionTypeDef
- See ApprovalModelType
- See SubscriberTypeDef
UpdateBudgetActionRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import UpdateBudgetActionRequestRequestTypeDef
def get_value() -> UpdateBudgetActionRequestRequestTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
"ActionId": ...,
}
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)
- See NotificationTypeType
- See ActionThresholdTypeDef
- See DefinitionTypeDef
- See ApprovalModelType
- See SubscriberTypeDef
CreateBudgetRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import CreateBudgetRequestRequestTypeDef
def get_value() -> CreateBudgetRequestRequestTypeDef:
return {
"AccountId": ...,
"Budget": ...,
}
Definition
class CreateBudgetRequestRequestTypeDef(TypedDict):
AccountId: str,
Budget: BudgetTypeDef, # (1)
NotificationsWithSubscribers: NotRequired[Sequence[NotificationWithSubscribersTypeDef]], # (2)
DescribeBudgetResponseTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetResponseTypeDef
def get_value() -> DescribeBudgetResponseTypeDef:
return {
"Budget": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeBudgetResponseTypeDef(TypedDict):
Budget: BudgetTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See BudgetTypeDef
- See ResponseMetadataTypeDef
DescribeBudgetsResponseTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetsResponseTypeDef
def get_value() -> DescribeBudgetsResponseTypeDef:
return {
"Budgets": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeBudgetsResponseTypeDef(TypedDict):
Budgets: List[BudgetTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See BudgetTypeDef
- See ResponseMetadataTypeDef
UpdateBudgetRequestRequestTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import UpdateBudgetRequestRequestTypeDef
def get_value() -> UpdateBudgetRequestRequestTypeDef:
return {
"AccountId": ...,
"NewBudget": ...,
}
Definition
class UpdateBudgetRequestRequestTypeDef(TypedDict):
AccountId: str,
NewBudget: BudgetTypeDef, # (1)
- See BudgetTypeDef
DescribeBudgetPerformanceHistoryResponseTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetPerformanceHistoryResponseTypeDef
def get_value() -> DescribeBudgetPerformanceHistoryResponseTypeDef:
return {
"BudgetPerformanceHistory": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeBudgetPerformanceHistoryResponseTypeDef(TypedDict):
BudgetPerformanceHistory: BudgetPerformanceHistoryTypeDef, # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ActionHistoryDetailsTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import ActionHistoryDetailsTypeDef
def get_value() -> ActionHistoryDetailsTypeDef:
return {
"Message": ...,
"Action": ...,
}
- See ActionTypeDef
DeleteBudgetActionResponseTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DeleteBudgetActionResponseTypeDef
def get_value() -> DeleteBudgetActionResponseTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
"Action": ...,
"ResponseMetadata": ...,
}
Definition
class DeleteBudgetActionResponseTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
Action: ActionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See ActionTypeDef
- See ResponseMetadataTypeDef
DescribeBudgetActionResponseTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetActionResponseTypeDef
def get_value() -> DescribeBudgetActionResponseTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
"Action": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeBudgetActionResponseTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
Action: ActionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See ActionTypeDef
- See ResponseMetadataTypeDef
DescribeBudgetActionsForAccountResponseTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetActionsForAccountResponseTypeDef
def get_value() -> DescribeBudgetActionsForAccountResponseTypeDef:
return {
"Actions": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeBudgetActionsForAccountResponseTypeDef(TypedDict):
Actions: List[ActionTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See ActionTypeDef
- See ResponseMetadataTypeDef
DescribeBudgetActionsForBudgetResponseTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetActionsForBudgetResponseTypeDef
def get_value() -> DescribeBudgetActionsForBudgetResponseTypeDef:
return {
"Actions": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeBudgetActionsForBudgetResponseTypeDef(TypedDict):
Actions: List[ActionTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See ActionTypeDef
- See ResponseMetadataTypeDef
UpdateBudgetActionResponseTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import UpdateBudgetActionResponseTypeDef
def get_value() -> UpdateBudgetActionResponseTypeDef:
return {
"AccountId": ...,
"BudgetName": ...,
"OldAction": ...,
"NewAction": ...,
"ResponseMetadata": ...,
}
Definition
class UpdateBudgetActionResponseTypeDef(TypedDict):
AccountId: str,
BudgetName: str,
OldAction: ActionTypeDef, # (1)
NewAction: ActionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See ActionTypeDef
- See ActionTypeDef
- See ResponseMetadataTypeDef
ActionHistoryTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import ActionHistoryTypeDef
def get_value() -> ActionHistoryTypeDef:
return {
"Timestamp": ...,
"Status": ...,
"EventType": ...,
"ActionHistoryDetails": ...,
}
Definition
class ActionHistoryTypeDef(TypedDict):
Timestamp: datetime,
Status: ActionStatusType, # (1)
EventType: EventTypeType, # (2)
ActionHistoryDetails: ActionHistoryDetailsTypeDef, # (3)
- See ActionStatusType
- See EventTypeType
- See ActionHistoryDetailsTypeDef
DescribeBudgetActionHistoriesResponseTypeDef
Usage Example
from mypy_boto3_budgets.type_defs import DescribeBudgetActionHistoriesResponseTypeDef
def get_value() -> DescribeBudgetActionHistoriesResponseTypeDef:
return {
"ActionHistories": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}