update_call_analytics_category
async
¶
update_call_analytics_category(
category_name: CategoryName,
rules: RuleList,
*,
config_overrides: Optional[AsyncTranscribeClientConfig] = None,
input_type: Optional[InputType] = None,
) -> UpdateCallAnalyticsCategoryResponse
Updates the specified Call Analytics category with new rules. Note that the UpdateCallAnalyticsCategory operation overwrites all existing rules contained in the specified category. You cannot append additional rules onto an existing category.
To create a new category, see .
Parameters:
-
category_name(CategoryName) –The name of the Call Analytics category you want to update. Category names are case sensitive.
-
rules(RuleList) –The rules used for the updated Call Analytics category. The rules you provide in this field replace the ones that are currently being used in the specified category.
-
input_type(Optional[InputType], default:None) –Choose whether you want to update a real-time or a post-call category. The input type you specify must match the input type specified when the category was created. For example, if you created a category with the
POST_CALLinput type, you must usePOST_CALLas the input type when updating this category.
Raises:
-
BadRequestException–Your request didn't pass one or more validation tests. This can occur when a parameter has an invalid value, when you combine parameters in a way that isn't supported, when the entity you're trying to delete doesn't exist, or if it's in a non-terminal state (such as
IN PROGRESS). See the exception message field for more information. -
ConflictException–A resource already exists with this name. Resource names must be unique within an Amazon Web Services account.
-
InternalFailureException–There was an internal error. Check the error message, correct the issue, and try your request again.
-
LimitExceededException–You've either sent too many requests or your input file is too long. Wait before retrying your request, or use a smaller file and try your request again.
-
NotFoundException–We can't find the requested resource. Check that the specified name is correct and try your request again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_transcribe/_services/async_transcribe.py
3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 | |