modify_usage_limit
¶
modify_usage_limit(
*,
config_overrides: Optional[RedshiftClientConfig] = None,
usage_limit_id: Optional[String] = None,
amount: Optional[LongOptional] = None,
breach_action: Optional[UsageLimitBreachAction] = None,
) -> UsageLimit
Modifies a usage limit in a cluster. You can't modify the feature type or period of a usage limit.
Parameters:
-
usage_limit_id(Optional[String], default:None) –The identifier of the usage limit to modify.
-
amount(Optional[LongOptional], default:None) –The new limit amount. For more information about this parameter, see UsageLimit.
-
breach_action(Optional[UsageLimitBreachAction], default:None) –The new action that Amazon Redshift takes when the limit is reached. For more information about this parameter, see UsageLimit.
Raises:
-
InvalidUsageLimitFault–The usage limit is not valid.
-
UnsupportedOperationFault–The requested operation isn't supported.
-
UsageLimitNotFoundFault–The usage limit identifier can't be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_redshift/_services/redshift.py
9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 | |