update_sip_rule
async
¶
update_sip_rule(
sip_rule_id: NonEmptyString,
name: SipRuleName,
*,
config_overrides: Optional[AsyncChimeSDKVoiceClientConfig] = None,
disabled: Optional[NullableBoolean] = None,
target_applications: Optional[SipRuleTargetApplicationList] = None,
) -> UpdateSipRuleResponse
Updates the details of the specified SIP rule.
Parameters:
-
sip_rule_id(NonEmptyString) –The SIP rule ID.
-
name(SipRuleName) –The new name for the specified SIP rule.
-
disabled(Optional[NullableBoolean], default:None) –The new value that indicates whether the rule is disabled.
-
target_applications(Optional[SipRuleTargetApplicationList], default:None) –The new list of target applications.
Raises:
-
BadRequestException–The input parameters don't match the service's restrictions.
-
ConflictException–Multiple instances of the same request were made simultaneously.
-
ForbiddenException–The client is permanently forbidden from making the request.
-
NotFoundException–The requested resource couldn't be found.
-
ResourceLimitExceededException–The request exceeds the resource limit.
-
ServiceFailureException–The service encountered an unexpected error.
-
ServiceUnavailableException–The service is currently unavailable.
-
ThrottledClientException–The number of customer requests exceeds the request rate limit.
-
UnauthorizedClientException–The client isn't authorized to request a resource.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_chime_sdk_voice/_services/async_chime_sdk_voice.py
6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 | |