Skip to content

TranscribeServiceClient#

Index > TranscribeService > TranscribeServiceClient

Auto-generated documentation for TranscribeService type annotations stubs module mypy-boto3-transcribe.

TranscribeServiceClient#

Type annotations and code completion for boto3.client("transcribe"). boto3 documentation

# TranscribeServiceClient usage example

from boto3.session import Session
from mypy_boto3_transcribe.client import TranscribeServiceClient

def get_transcribe_client() -> TranscribeServiceClient:
    return Session().client("transcribe")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("transcribe").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("transcribe")

try:
    do_something(client)
except (
    client.exceptions.BadRequestException,
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    client.exceptions.InternalFailureException,
    client.exceptions.LimitExceededException,
    client.exceptions.NotFoundException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_transcribe.client import Exceptions

def handle_error(exc: Exceptions.BadRequestException) -> None:
    ...

Methods#

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("transcribe").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

close#

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("transcribe").close method. boto3 documentation

# close method definition

def close(
    self,
) -> None:
    ...

create_call_analytics_category#

Creates a new Call Analytics category.

Type annotations and code completion for boto3.client("transcribe").create_call_analytics_category method. boto3 documentation

# create_call_analytics_category method definition

def create_call_analytics_category(
    self,
    *,
    CategoryName: str,
    Rules: Sequence[RuleTypeDef],  # (1)
    InputType: InputTypeType = ...,  # (2)
) -> CreateCallAnalyticsCategoryResponseTypeDef:  # (3)
    ...
  1. See RuleTypeDef
  2. See InputTypeType
  3. See CreateCallAnalyticsCategoryResponseTypeDef
# create_call_analytics_category method usage example with argument unpacking

kwargs: CreateCallAnalyticsCategoryRequestRequestTypeDef = {  # (1)
    "CategoryName": ...,
    "Rules": ...,
}

parent.create_call_analytics_category(**kwargs)
  1. See CreateCallAnalyticsCategoryRequestRequestTypeDef

create_language_model#

Creates a new custom language model.

Type annotations and code completion for boto3.client("transcribe").create_language_model method. boto3 documentation

# create_language_model method definition

def create_language_model(
    self,
    *,
    LanguageCode: CLMLanguageCodeType,  # (1)
    BaseModelName: BaseModelNameType,  # (2)
    ModelName: str,
    InputDataConfig: InputDataConfigTypeDef,  # (3)
    Tags: Sequence[TagTypeDef] = ...,  # (4)
) -> CreateLanguageModelResponseTypeDef:  # (5)
    ...
  1. See CLMLanguageCodeType
  2. See BaseModelNameType
  3. See InputDataConfigTypeDef
  4. See TagTypeDef
  5. See CreateLanguageModelResponseTypeDef
# create_language_model method usage example with argument unpacking

kwargs: CreateLanguageModelRequestRequestTypeDef = {  # (1)
    "LanguageCode": ...,
    "BaseModelName": ...,
    "ModelName": ...,
    "InputDataConfig": ...,
}

parent.create_language_model(**kwargs)
  1. See CreateLanguageModelRequestRequestTypeDef

create_medical_vocabulary#

Creates a new custom medical vocabulary.

Type annotations and code completion for boto3.client("transcribe").create_medical_vocabulary method. boto3 documentation

# create_medical_vocabulary method definition

def create_medical_vocabulary(
    self,
    *,
    VocabularyName: str,
    LanguageCode: LanguageCodeType,  # (1)
    VocabularyFileUri: str,
    Tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateMedicalVocabularyResponseTypeDef:  # (3)
    ...
  1. See LanguageCodeType
  2. See TagTypeDef
  3. See CreateMedicalVocabularyResponseTypeDef
# create_medical_vocabulary method usage example with argument unpacking

kwargs: CreateMedicalVocabularyRequestRequestTypeDef = {  # (1)
    "VocabularyName": ...,
    "LanguageCode": ...,
    "VocabularyFileUri": ...,
}

parent.create_medical_vocabulary(**kwargs)
  1. See CreateMedicalVocabularyRequestRequestTypeDef

create_vocabulary#

Creates a new custom vocabulary.

Type annotations and code completion for boto3.client("transcribe").create_vocabulary method. boto3 documentation

# create_vocabulary method definition

def create_vocabulary(
    self,
    *,
    VocabularyName: str,
    LanguageCode: LanguageCodeType,  # (1)
    Phrases: Sequence[str] = ...,
    VocabularyFileUri: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (2)
    DataAccessRoleArn: str = ...,
) -> CreateVocabularyResponseTypeDef:  # (3)
    ...
  1. See LanguageCodeType
  2. See TagTypeDef
  3. See CreateVocabularyResponseTypeDef
# create_vocabulary method usage example with argument unpacking

kwargs: CreateVocabularyRequestRequestTypeDef = {  # (1)
    "VocabularyName": ...,
    "LanguageCode": ...,
}

parent.create_vocabulary(**kwargs)
  1. See CreateVocabularyRequestRequestTypeDef

create_vocabulary_filter#

Creates a new custom vocabulary filter.

Type annotations and code completion for boto3.client("transcribe").create_vocabulary_filter method. boto3 documentation

# create_vocabulary_filter method definition

def create_vocabulary_filter(
    self,
    *,
    VocabularyFilterName: str,
    LanguageCode: LanguageCodeType,  # (1)
    Words: Sequence[str] = ...,
    VocabularyFilterFileUri: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (2)
    DataAccessRoleArn: str = ...,
) -> CreateVocabularyFilterResponseTypeDef:  # (3)
    ...
  1. See LanguageCodeType
  2. See TagTypeDef
  3. See CreateVocabularyFilterResponseTypeDef
# create_vocabulary_filter method usage example with argument unpacking

kwargs: CreateVocabularyFilterRequestRequestTypeDef = {  # (1)
    "VocabularyFilterName": ...,
    "LanguageCode": ...,
}

parent.create_vocabulary_filter(**kwargs)
  1. See CreateVocabularyFilterRequestRequestTypeDef

delete_call_analytics_category#

Deletes a Call Analytics category.

Type annotations and code completion for boto3.client("transcribe").delete_call_analytics_category method. boto3 documentation

# delete_call_analytics_category method definition

def delete_call_analytics_category(
    self,
    *,
    CategoryName: str,
) -> Dict[str, Any]:
    ...
# delete_call_analytics_category method usage example with argument unpacking

kwargs: DeleteCallAnalyticsCategoryRequestRequestTypeDef = {  # (1)
    "CategoryName": ...,
}

parent.delete_call_analytics_category(**kwargs)
  1. See DeleteCallAnalyticsCategoryRequestRequestTypeDef

delete_call_analytics_job#

Deletes a Call Analytics job.

Type annotations and code completion for boto3.client("transcribe").delete_call_analytics_job method. boto3 documentation

# delete_call_analytics_job method definition

def delete_call_analytics_job(
    self,
    *,
    CallAnalyticsJobName: str,
) -> Dict[str, Any]:
    ...
# delete_call_analytics_job method usage example with argument unpacking

kwargs: DeleteCallAnalyticsJobRequestRequestTypeDef = {  # (1)
    "CallAnalyticsJobName": ...,
}

parent.delete_call_analytics_job(**kwargs)
  1. See DeleteCallAnalyticsJobRequestRequestTypeDef

delete_language_model#

Deletes a custom language model.

Type annotations and code completion for boto3.client("transcribe").delete_language_model method. boto3 documentation

# delete_language_model method definition

def delete_language_model(
    self,
    *,
    ModelName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_language_model method usage example with argument unpacking

kwargs: DeleteLanguageModelRequestRequestTypeDef = {  # (1)
    "ModelName": ...,
}

parent.delete_language_model(**kwargs)
  1. See DeleteLanguageModelRequestRequestTypeDef

delete_medical_transcription_job#

Deletes a medical transcription job.

Type annotations and code completion for boto3.client("transcribe").delete_medical_transcription_job method. boto3 documentation

# delete_medical_transcription_job method definition

def delete_medical_transcription_job(
    self,
    *,
    MedicalTranscriptionJobName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_medical_transcription_job method usage example with argument unpacking

kwargs: DeleteMedicalTranscriptionJobRequestRequestTypeDef = {  # (1)
    "MedicalTranscriptionJobName": ...,
}

parent.delete_medical_transcription_job(**kwargs)
  1. See DeleteMedicalTranscriptionJobRequestRequestTypeDef

delete_medical_vocabulary#

Deletes a custom medical vocabulary.

Type annotations and code completion for boto3.client("transcribe").delete_medical_vocabulary method. boto3 documentation

# delete_medical_vocabulary method definition

def delete_medical_vocabulary(
    self,
    *,
    VocabularyName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_medical_vocabulary method usage example with argument unpacking

kwargs: DeleteMedicalVocabularyRequestRequestTypeDef = {  # (1)
    "VocabularyName": ...,
}

parent.delete_medical_vocabulary(**kwargs)
  1. See DeleteMedicalVocabularyRequestRequestTypeDef

delete_transcription_job#

Deletes a transcription job.

Type annotations and code completion for boto3.client("transcribe").delete_transcription_job method. boto3 documentation

# delete_transcription_job method definition

def delete_transcription_job(
    self,
    *,
    TranscriptionJobName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_transcription_job method usage example with argument unpacking

kwargs: DeleteTranscriptionJobRequestRequestTypeDef = {  # (1)
    "TranscriptionJobName": ...,
}

parent.delete_transcription_job(**kwargs)
  1. See DeleteTranscriptionJobRequestRequestTypeDef

delete_vocabulary#

Deletes a custom vocabulary.

Type annotations and code completion for boto3.client("transcribe").delete_vocabulary method. boto3 documentation

# delete_vocabulary method definition

def delete_vocabulary(
    self,
    *,
    VocabularyName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_vocabulary method usage example with argument unpacking

kwargs: DeleteVocabularyRequestRequestTypeDef = {  # (1)
    "VocabularyName": ...,
}

parent.delete_vocabulary(**kwargs)
  1. See DeleteVocabularyRequestRequestTypeDef

delete_vocabulary_filter#

Deletes a custom vocabulary filter.

Type annotations and code completion for boto3.client("transcribe").delete_vocabulary_filter method. boto3 documentation

# delete_vocabulary_filter method definition

def delete_vocabulary_filter(
    self,
    *,
    VocabularyFilterName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_vocabulary_filter method usage example with argument unpacking

kwargs: DeleteVocabularyFilterRequestRequestTypeDef = {  # (1)
    "VocabularyFilterName": ...,
}

parent.delete_vocabulary_filter(**kwargs)
  1. See DeleteVocabularyFilterRequestRequestTypeDef

describe_language_model#

Provides information about the specified custom language model.

Type annotations and code completion for boto3.client("transcribe").describe_language_model method. boto3 documentation

# describe_language_model method definition

def describe_language_model(
    self,
    *,
    ModelName: str,
) -> DescribeLanguageModelResponseTypeDef:  # (1)
    ...
  1. See DescribeLanguageModelResponseTypeDef
# describe_language_model method usage example with argument unpacking

kwargs: DescribeLanguageModelRequestRequestTypeDef = {  # (1)
    "ModelName": ...,
}

parent.describe_language_model(**kwargs)
  1. See DescribeLanguageModelRequestRequestTypeDef

generate_presigned_url#

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("transcribe").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

get_call_analytics_category#

Provides information about the specified Call Analytics category.

Type annotations and code completion for boto3.client("transcribe").get_call_analytics_category method. boto3 documentation

# get_call_analytics_category method definition

def get_call_analytics_category(
    self,
    *,
    CategoryName: str,
) -> GetCallAnalyticsCategoryResponseTypeDef:  # (1)
    ...
  1. See GetCallAnalyticsCategoryResponseTypeDef
# get_call_analytics_category method usage example with argument unpacking

kwargs: GetCallAnalyticsCategoryRequestRequestTypeDef = {  # (1)
    "CategoryName": ...,
}

parent.get_call_analytics_category(**kwargs)
  1. See GetCallAnalyticsCategoryRequestRequestTypeDef

get_call_analytics_job#

Provides information about the specified Call Analytics job.

Type annotations and code completion for boto3.client("transcribe").get_call_analytics_job method. boto3 documentation

# get_call_analytics_job method definition

def get_call_analytics_job(
    self,
    *,
    CallAnalyticsJobName: str,
) -> GetCallAnalyticsJobResponseTypeDef:  # (1)
    ...
  1. See GetCallAnalyticsJobResponseTypeDef
# get_call_analytics_job method usage example with argument unpacking

kwargs: GetCallAnalyticsJobRequestRequestTypeDef = {  # (1)
    "CallAnalyticsJobName": ...,
}

parent.get_call_analytics_job(**kwargs)
  1. See GetCallAnalyticsJobRequestRequestTypeDef

get_medical_transcription_job#

Provides information about the specified medical transcription job.

Type annotations and code completion for boto3.client("transcribe").get_medical_transcription_job method. boto3 documentation

# get_medical_transcription_job method definition

def get_medical_transcription_job(
    self,
    *,
    MedicalTranscriptionJobName: str,
) -> GetMedicalTranscriptionJobResponseTypeDef:  # (1)
    ...
  1. See GetMedicalTranscriptionJobResponseTypeDef
# get_medical_transcription_job method usage example with argument unpacking

kwargs: GetMedicalTranscriptionJobRequestRequestTypeDef = {  # (1)
    "MedicalTranscriptionJobName": ...,
}

parent.get_medical_transcription_job(**kwargs)
  1. See GetMedicalTranscriptionJobRequestRequestTypeDef

get_medical_vocabulary#

Provides information about the specified custom medical vocabulary.

Type annotations and code completion for boto3.client("transcribe").get_medical_vocabulary method. boto3 documentation

# get_medical_vocabulary method definition

def get_medical_vocabulary(
    self,
    *,
    VocabularyName: str,
) -> GetMedicalVocabularyResponseTypeDef:  # (1)
    ...
  1. See GetMedicalVocabularyResponseTypeDef
# get_medical_vocabulary method usage example with argument unpacking

kwargs: GetMedicalVocabularyRequestRequestTypeDef = {  # (1)
    "VocabularyName": ...,
}

parent.get_medical_vocabulary(**kwargs)
  1. See GetMedicalVocabularyRequestRequestTypeDef

get_transcription_job#

Provides information about the specified transcription job.

Type annotations and code completion for boto3.client("transcribe").get_transcription_job method. boto3 documentation

# get_transcription_job method definition

def get_transcription_job(
    self,
    *,
    TranscriptionJobName: str,
) -> GetTranscriptionJobResponseTypeDef:  # (1)
    ...
  1. See GetTranscriptionJobResponseTypeDef
# get_transcription_job method usage example with argument unpacking

kwargs: GetTranscriptionJobRequestRequestTypeDef = {  # (1)
    "TranscriptionJobName": ...,
}

parent.get_transcription_job(**kwargs)
  1. See GetTranscriptionJobRequestRequestTypeDef

get_vocabulary#

Provides information about the specified custom vocabulary.

Type annotations and code completion for boto3.client("transcribe").get_vocabulary method. boto3 documentation

# get_vocabulary method definition

def get_vocabulary(
    self,
    *,
    VocabularyName: str,
) -> GetVocabularyResponseTypeDef:  # (1)
    ...
  1. See GetVocabularyResponseTypeDef
# get_vocabulary method usage example with argument unpacking

kwargs: GetVocabularyRequestRequestTypeDef = {  # (1)
    "VocabularyName": ...,
}

parent.get_vocabulary(**kwargs)
  1. See GetVocabularyRequestRequestTypeDef

get_vocabulary_filter#

Provides information about the specified custom vocabulary filter.

Type annotations and code completion for boto3.client("transcribe").get_vocabulary_filter method. boto3 documentation

# get_vocabulary_filter method definition

def get_vocabulary_filter(
    self,
    *,
    VocabularyFilterName: str,
) -> GetVocabularyFilterResponseTypeDef:  # (1)
    ...
  1. See GetVocabularyFilterResponseTypeDef
# get_vocabulary_filter method usage example with argument unpacking

kwargs: GetVocabularyFilterRequestRequestTypeDef = {  # (1)
    "VocabularyFilterName": ...,
}

parent.get_vocabulary_filter(**kwargs)
  1. See GetVocabularyFilterRequestRequestTypeDef

list_call_analytics_categories#

Provides a list of Call Analytics categories, including all rules that make up each category.

Type annotations and code completion for boto3.client("transcribe").list_call_analytics_categories method. boto3 documentation

# list_call_analytics_categories method definition

def list_call_analytics_categories(
    self,
    *,
    NextToken: str = ...,
    MaxResults: int = ...,
) -> ListCallAnalyticsCategoriesResponseTypeDef:  # (1)
    ...
  1. See ListCallAnalyticsCategoriesResponseTypeDef
# list_call_analytics_categories method usage example with argument unpacking

kwargs: ListCallAnalyticsCategoriesRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_call_analytics_categories(**kwargs)
  1. See ListCallAnalyticsCategoriesRequestRequestTypeDef

list_call_analytics_jobs#

Provides a list of Call Analytics jobs that match the specified criteria.

Type annotations and code completion for boto3.client("transcribe").list_call_analytics_jobs method. boto3 documentation

# list_call_analytics_jobs method definition

def list_call_analytics_jobs(
    self,
    *,
    Status: CallAnalyticsJobStatusType = ...,  # (1)
    JobNameContains: str = ...,
    NextToken: str = ...,
    MaxResults: int = ...,
) -> ListCallAnalyticsJobsResponseTypeDef:  # (2)
    ...
  1. See CallAnalyticsJobStatusType
  2. See ListCallAnalyticsJobsResponseTypeDef
# list_call_analytics_jobs method usage example with argument unpacking

kwargs: ListCallAnalyticsJobsRequestRequestTypeDef = {  # (1)
    "Status": ...,
}

parent.list_call_analytics_jobs(**kwargs)
  1. See ListCallAnalyticsJobsRequestRequestTypeDef

list_language_models#

Provides a list of custom language models that match the specified criteria.

Type annotations and code completion for boto3.client("transcribe").list_language_models method. boto3 documentation

# list_language_models method definition

def list_language_models(
    self,
    *,
    StatusEquals: ModelStatusType = ...,  # (1)
    NameContains: str = ...,
    NextToken: str = ...,
    MaxResults: int = ...,
) -> ListLanguageModelsResponseTypeDef:  # (2)
    ...
  1. See ModelStatusType
  2. See ListLanguageModelsResponseTypeDef
# list_language_models method usage example with argument unpacking

kwargs: ListLanguageModelsRequestRequestTypeDef = {  # (1)
    "StatusEquals": ...,
}

parent.list_language_models(**kwargs)
  1. See ListLanguageModelsRequestRequestTypeDef

list_medical_transcription_jobs#

Provides a list of medical transcription jobs that match the specified criteria.

Type annotations and code completion for boto3.client("transcribe").list_medical_transcription_jobs method. boto3 documentation

# list_medical_transcription_jobs method definition

def list_medical_transcription_jobs(
    self,
    *,
    Status: TranscriptionJobStatusType = ...,  # (1)
    JobNameContains: str = ...,
    NextToken: str = ...,
    MaxResults: int = ...,
) -> ListMedicalTranscriptionJobsResponseTypeDef:  # (2)
    ...
  1. See TranscriptionJobStatusType
  2. See ListMedicalTranscriptionJobsResponseTypeDef
# list_medical_transcription_jobs method usage example with argument unpacking

kwargs: ListMedicalTranscriptionJobsRequestRequestTypeDef = {  # (1)
    "Status": ...,
}

parent.list_medical_transcription_jobs(**kwargs)
  1. See ListMedicalTranscriptionJobsRequestRequestTypeDef

list_medical_vocabularies#

Provides a list of custom medical vocabularies that match the specified criteria.

Type annotations and code completion for boto3.client("transcribe").list_medical_vocabularies method.