TranscribeService
public struct TranscribeService
Client object for interacting with AWS TranscribeService service.
Operations and objects for transcribing speech to text.
-
Undocumented
Declaration
Swift
public let client: AWSClient
-
Initialize the TranscribeService client
Declaration
Swift
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, sessionToken: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil, middlewares: [AWSServiceMiddleware] = [], eventLoopGroupProvider: AWSClient.EventLoopGroupProvider = .useAWSClientShared)
Parameters
accessKeyId
Public access key provided by AWS
secretAccessKey
Private access key provided by AWS
sessionToken
Token provided by STS.AssumeRole() which allows access to another AWS account
region
Region of server you want to communicate with
endpoint
Custom endpoint URL to use instead of standard AWS servers
middlewares
Array of middlewares to apply to requests and responses
eventLoopGroupProvider
EventLoopGroup to use. Use
useAWSClientShared
if the client shall manage its own EventLoopGroup.
-
Creates a new custom language model. Use Amazon S3 prefixes to provide the location of your input files. The time it takes to create your model depends on the size of your training data.
Declaration
Swift
public func createLanguageModel(_ input: CreateLanguageModelRequest) -> EventLoopFuture<CreateLanguageModelResponse>
-
Creates a new custom vocabulary that you can use to change how Amazon Transcribe Medical transcribes your audio file.
Declaration
Swift
public func createMedicalVocabulary(_ input: CreateMedicalVocabularyRequest) -> EventLoopFuture<CreateMedicalVocabularyResponse>
-
Creates a new custom vocabulary that you can use to change the way Amazon Transcribe handles transcription of an audio file.
Declaration
Swift
public func createVocabulary(_ input: CreateVocabularyRequest) -> EventLoopFuture<CreateVocabularyResponse>
-
Creates a new vocabulary filter that you can use to filter words, such as profane words, from the output of a transcription job.
Declaration
Swift
public func createVocabularyFilter(_ input: CreateVocabularyFilterRequest) -> EventLoopFuture<CreateVocabularyFilterResponse>
-
Deletes a custom language model using its name.
Declaration
Swift
@discardableResult public func deleteLanguageModel(_ input: DeleteLanguageModelRequest) -> EventLoopFuture<Void>
-
Deletes a transcription job generated by Amazon Transcribe Medical and any related information.
Declaration
Swift
@discardableResult public func deleteMedicalTranscriptionJob(_ input: DeleteMedicalTranscriptionJobRequest) -> EventLoopFuture<Void>
-
Deletes a vocabulary from Amazon Transcribe Medical.
Declaration
Swift
@discardableResult public func deleteMedicalVocabulary(_ input: DeleteMedicalVocabularyRequest) -> EventLoopFuture<Void>
-
Deletes a previously submitted transcription job along with any other generated results such as the transcription, models, and so on.
Declaration
Swift
@discardableResult public func deleteTranscriptionJob(_ input: DeleteTranscriptionJobRequest) -> EventLoopFuture<Void>
-
Deletes a vocabulary from Amazon Transcribe.
Declaration
Swift
@discardableResult public func deleteVocabulary(_ input: DeleteVocabularyRequest) -> EventLoopFuture<Void>
-
Removes a vocabulary filter.
Declaration
Swift
@discardableResult public func deleteVocabularyFilter(_ input: DeleteVocabularyFilterRequest) -> EventLoopFuture<Void>
-
Gets information about a single custom language model. Use this information to see details about the language model in your AWS account. You can also see whether the base language model used to create your custom language model has been updated. If Amazon Transcribe has updated the base model, you can create a new custom language model using the updated base model. If the language model wasn’t created, you can use this operation to understand why Amazon Transcribe couldn’t create it.
Declaration
Swift
public func describeLanguageModel(_ input: DescribeLanguageModelRequest) -> EventLoopFuture<DescribeLanguageModelResponse>
-
Returns information about a transcription job from Amazon Transcribe Medical. To see the status of the job, check the TranscriptionJobStatus field. If the status is COMPLETED, the job is finished. You find the results of the completed job in the TranscriptFileUri field.
Declaration
Swift
public func getMedicalTranscriptionJob(_ input: GetMedicalTranscriptionJobRequest) -> EventLoopFuture<GetMedicalTranscriptionJobResponse>
-
Retrieves information about a medical vocabulary.
Declaration
Swift
public func getMedicalVocabulary(_ input: GetMedicalVocabularyRequest) -> EventLoopFuture<GetMedicalVocabularyResponse>
-
Returns information about a transcription job. To see the status of the job, check the TranscriptionJobStatus field. If the status is COMPLETED, the job is finished and you can find the results at the location specified in the TranscriptFileUri field. If you enable content redaction, the redacted transcript appears in RedactedTranscriptFileUri.
Declaration
Swift
public func getTranscriptionJob(_ input: GetTranscriptionJobRequest) -> EventLoopFuture<GetTranscriptionJobResponse>
-
Gets information about a vocabulary.
Declaration
Swift
public func getVocabulary(_ input: GetVocabularyRequest) -> EventLoopFuture<GetVocabularyResponse>
-
Returns information about a vocabulary filter.
Declaration
Swift
public func getVocabularyFilter(_ input: GetVocabularyFilterRequest) -> EventLoopFuture<GetVocabularyFilterResponse>
-
Provides more information about the custom language models you’ve created. You can use the information in this list to find a specific custom language model. You can then use the operation to get more information about it.
Declaration
Swift
public func listLanguageModels(_ input: ListLanguageModelsRequest) -> EventLoopFuture<ListLanguageModelsResponse>
-
Lists medical transcription jobs with a specified status or substring that matches their names.
Declaration
Swift
public func listMedicalTranscriptionJobs(_ input: ListMedicalTranscriptionJobsRequest) -> EventLoopFuture<ListMedicalTranscriptionJobsResponse>
-
Returns a list of vocabularies that match the specified criteria. If you don’t enter a value in any of the request parameters, returns the entire list of vocabularies.
Declaration
Swift
public func listMedicalVocabularies(_ input: ListMedicalVocabulariesRequest) -> EventLoopFuture<ListMedicalVocabulariesResponse>
-
Lists transcription jobs with the specified status.
Declaration
Swift
public func listTranscriptionJobs(_ input: ListTranscriptionJobsRequest) -> EventLoopFuture<ListTranscriptionJobsResponse>
-
Returns a list of vocabularies that match the specified criteria. If no criteria are specified, returns the entire list of vocabularies.
Declaration
Swift
public func listVocabularies(_ input: ListVocabulariesRequest) -> EventLoopFuture<ListVocabulariesResponse>
-
Gets information about vocabulary filters.
Declaration
Swift
public func listVocabularyFilters(_ input: ListVocabularyFiltersRequest) -> EventLoopFuture<ListVocabularyFiltersResponse>
-
Starts a batch job to transcribe medical speech to text.
Declaration
Swift
public func startMedicalTranscriptionJob(_ input: StartMedicalTranscriptionJobRequest) -> EventLoopFuture<StartMedicalTranscriptionJobResponse>
-
Starts an asynchronous job to transcribe speech to text.
Declaration
Swift
public func startTranscriptionJob(_ input: StartTranscriptionJobRequest) -> EventLoopFuture<StartTranscriptionJobResponse>
-
Updates a vocabulary with new values that you provide in a different text file from the one you used to create the vocabulary. The UpdateMedicalVocabulary operation overwrites all of the existing information with the values that you provide in the request.
Declaration
Swift
public func updateMedicalVocabulary(_ input: UpdateMedicalVocabularyRequest) -> EventLoopFuture<UpdateMedicalVocabularyResponse>
-
Updates an existing vocabulary with new values. The UpdateVocabulary operation overwrites all of the existing information with the values that you provide in the request.
Declaration
Swift
public func updateVocabulary(_ input: UpdateVocabularyRequest) -> EventLoopFuture<UpdateVocabularyResponse>
-
Updates a vocabulary filter with a new list of filtered words.
Declaration
Swift
public func updateVocabularyFilter(_ input: UpdateVocabularyFilterRequest) -> EventLoopFuture<UpdateVocabularyFilterResponse>
-
Provides more information about the custom language models you’ve created. You can use the information in this list to find a specific custom language model. You can then use the operation to get more information about it.
Declaration
Swift
public func listLanguageModelsPaginator(_ input: ListLanguageModelsRequest, onPage: @escaping (ListLanguageModelsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Lists medical transcription jobs with a specified status or substring that matches their names.
Declaration
Swift
public func listMedicalTranscriptionJobsPaginator(_ input: ListMedicalTranscriptionJobsRequest, onPage: @escaping (ListMedicalTranscriptionJobsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Returns a list of vocabularies that match the specified criteria. If you don’t enter a value in any of the request parameters, returns the entire list of vocabularies.
Declaration
Swift
public func listMedicalVocabulariesPaginator(_ input: ListMedicalVocabulariesRequest, onPage: @escaping (ListMedicalVocabulariesResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Lists transcription jobs with the specified status.
Declaration
Swift
public func listTranscriptionJobsPaginator(_ input: ListTranscriptionJobsRequest, onPage: @escaping (ListTranscriptionJobsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Returns a list of vocabularies that match the specified criteria. If no criteria are specified, returns the entire list of vocabularies.
Declaration
Swift
public func listVocabulariesPaginator(_ input: ListVocabulariesRequest, onPage: @escaping (ListVocabulariesResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Gets information about vocabulary filters.
Declaration
Swift
public func listVocabularyFiltersPaginator(_ input: ListVocabularyFiltersRequest, onPage: @escaping (ListVocabularyFiltersResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Undocumented
See moreDeclaration
Swift
public struct ListLanguageModelsRequest : AWSShape
extension TranscribeService.ListLanguageModelsRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListMedicalTranscriptionJobsRequest : AWSShape
extension TranscribeService.ListMedicalTranscriptionJobsRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListMedicalVocabulariesRequest : AWSShape
extension TranscribeService.ListMedicalVocabulariesRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListTranscriptionJobsRequest : AWSShape
extension TranscribeService.ListTranscriptionJobsRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListVocabulariesRequest : AWSShape
extension TranscribeService.ListVocabulariesRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListVocabularyFiltersRequest : AWSShape
extension TranscribeService.ListVocabularyFiltersRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public enum BaseModelName : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum CLMLanguageCode : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum LanguageCode : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum MediaFormat : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum ModelStatus : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum OutputLocationType : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum RedactionOutput : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum RedactionType : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum Specialty : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum TranscriptionJobStatus : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum `Type` : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum VocabularyFilterMethod : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum VocabularyState : String, CustomStringConvertible, Codable