start_voice_tone_analysis_task
¶
start_voice_tone_analysis_task(
identifier: NonEmptyString,
language_code: VoiceAnalyticsLanguageCode,
*,
config_overrides: Optional[ChimeSDKMediaPipelinesClientConfig] = None,
kinesis_video_stream_source_task_configuration: Optional[
KinesisVideoStreamSourceTaskConfiguration
] = None,
client_request_token: Optional[ClientRequestToken] = None,
) -> StartVoiceToneAnalysisTaskResponse
Starts a voice tone analysis task. For more information about voice tone analysis, see Using Amazon Chime SDK voice analytics in the Amazon Chime SDK Developer Guide.
Before starting any voice tone analysis tasks, you must provide all notices and obtain all consents from the speaker as required under applicable privacy and biometrics laws, and as required under the AWS service terms for the Amazon Chime SDK.
Parameters:
-
identifier(NonEmptyString) –The unique identifier of the resource to be updated. Valid values include the ID and ARN of the media insights pipeline.
-
language_code(VoiceAnalyticsLanguageCode) –The language code.
-
kinesis_video_stream_source_task_configuration(Optional[KinesisVideoStreamSourceTaskConfiguration], default:None) –The task configuration for the Kinesis video stream source of the media insights pipeline.
-
client_request_token(Optional[ClientRequestToken], default:None) –The unique identifier for the client request. Use a different token for different voice tone analysis tasks.
Raises:
-
BadRequestException–The input parameters don't match the service's restrictions.
-
ConflictException–The request could not be processed because of conflict in the current state of the resource.
-
ForbiddenException–The client is permanently forbidden from making the request.
-
NotFoundException–One or more of the resources in the request does not exist in the system.
-
ServiceFailureException–The service encountered an unexpected error.
-
ServiceUnavailableException–The service is currently unavailable.
-
ThrottledClientException–The client exceeded its request rate limit.
-
UnauthorizedClientException–The client is not currently authorized to make the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_chime_sdk_media_pipelines/_services/chime_sdk_media_pipelines.py
1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 | |