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[Union[RuleTypeDef, RuleOutputTypeDef]],  # (1)
    InputType: InputTypeType = ...,  # (2)
) -> CreateCallAnalyticsCategoryResponseTypeDef:  # (3)
    ...
  1. See RuleTypeDef RuleOutputTypeDef
  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.