update_capacity_provider
¶
update_capacity_provider(
capacity_provider_name: CapacityProviderName,
*,
config_overrides: Optional[LambdaClientConfig] = None,
capacity_provider_scaling_config: Optional[CapacityProviderScalingConfig] = None,
propagate_tags: Optional[PropagateTags] = None,
telemetry_config: Optional[CapacityProviderTelemetryConfig] = None,
) -> UpdateCapacityProviderResponse
Updates the configuration of an existing capacity provider.
Parameters:
-
capacity_provider_name(CapacityProviderName) –The name of the capacity provider to update.
-
capacity_provider_scaling_config(Optional[CapacityProviderScalingConfig], default:None) –The updated scaling configuration for the capacity provider.
-
telemetry_config(Optional[CapacityProviderTelemetryConfig], default:None) –The updated telemetry configuration for the capacity provider.
Raises:
-
InvalidParameterValueException–One of the parameters in the request is not valid.
-
ResourceConflictException–The resource already exists, or another operation is in progress.
-
ResourceNotFoundException–The resource specified in the request does not exist.
-
ServiceException–The Lambda service encountered an internal error.
-
TooManyRequestsException–The request throughput limit was exceeded. For more information, see Lambda quotas.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_lambda/_services/_lambda.py
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 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 | |