start_speaker_search_task
¶
start_speaker_search_task(
identifier: NonEmptyString,
voice_profile_domain_arn: Arn,
*,
config_overrides: Optional[ChimeSDKMediaPipelinesClientConfig] = 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/chime_sdk_media_pipelines.py
1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 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 | |