start_auto_management
async
¶
start_auto_management(
opt_in_level: OptInLevel,
opt_in_type: OptInType,
*,
config_overrides: Optional[AsyncServiceQuotasClientConfig] = None,
notification_arn: Optional[AmazonResourceName] = None,
exclusion_list: Optional[ExclusionList] = None,
) -> StartAutoManagementResponse
Starts Service Quotas Automatic Management for an Amazon Web Services account, including notification preferences and excluded quotas configurations. Automatic Management monitors your Service Quotas utilization and notifies you before you run out of your allocated quotas.
Parameters:
-
opt_in_level(OptInLevel) –Sets the opt-in level for Automatic Management. Only Amazon Web Services account level is supported.
-
opt_in_type(OptInType) –Sets the opt-in type for Automatic Management. There are two modes: Notify only and Notify and Auto-Adjust. Currently, only NotifyOnly is available.
-
notification_arn(Optional[AmazonResourceName], default:None) –The User Notifications Amazon Resource Name (ARN) for Automatic Management notifications.
-
exclusion_list(Optional[ExclusionList], default:None) –List of Amazon Web Services services excluded from Automatic Management. You won't be notified of Service Quotas utilization for Amazon Web Services services added to the Automatic Management exclusion list.
Raises:
-
AccessDeniedException–You do not have sufficient permission to perform this action.
-
IllegalArgumentException–Invalid input was provided.
-
NoSuchResourceException–The specified resource does not exist.
-
ServiceException–Something went wrong.
-
TooManyRequestsException–Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase for this quota.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_service_quotas/_services/async_service_quotas.py
1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 | |