start_speaker_search_task
async
¶
start_speaker_search_task(
identifier: NonEmptyString,
voice_profile_domain_arn: Arn,
*,
config_overrides: Optional[AsyncChimeSDKMediaPipelinesClientConfig] = None,
kinesis_video_stream_source_task_configuration: Optional[
KinesisVideoStreamSourceTaskConfiguration
] = None,
client_request_token: Optional[ClientRequestToken] = None,
) -> StartSpeakerSearchTaskResponse
Starts a speaker search task.
Before starting any speaker search 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.
-
voice_profile_domain_arn(Arn) –The ARN of the voice profile domain that will store the voice profile.
-
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 speaker search 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/async_chime_sdk_media_pipelines.py
1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 | |