update_budget_action
async
¶
update_budget_action(
account_id: AccountId,
budget_name: BudgetName,
action_id: ActionId,
*,
config_overrides: Optional[AsyncBudgetsClientConfig] = None,
notification_type: Optional[NotificationType] = None,
action_threshold: Optional[ActionThreshold] = None,
definition: Optional[Definition] = None,
execution_role_arn: Optional[RoleArn] = None,
approval_model: Optional[ApprovalModel] = None,
subscribers: Optional[Subscribers] = None,
) -> UpdateBudgetActionResponse
Updates a budget action.
Parameters:
-
action_id(ActionId) –A system-generated universally unique identifier (UUID) for the action.
-
execution_role_arn(Optional[RoleArn], default:None) –The role passed for action execution and reversion. Roles and actions must be in the same account.
-
approval_model(Optional[ApprovalModel], default:None) –This specifies if the action needs manual or automatic approval.
Raises:
-
AccessDeniedException–You are not authorized to use this operation with the given parameters.
-
InternalErrorException–An error on the server occurred during the processing of your request. Try again later.
-
InvalidParameterException–An error on the client occurred. Typically, the cause is an invalid input value.
-
NotFoundException–We can’t locate the resource that you specified.
-
ResourceLockedException–The request was received and recognized by the server, but the server rejected that particular method for the requested resource.
-
ThrottlingException–The number of API requests has exceeded the maximum allowed API request throttling limit for the account.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_budgets/_services/async_budgets.py
1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 | |