[ aws . transcribe ]

list-medical-vocabularies

Description

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.

See also: AWS API Documentation

See ‘aws help’ for descriptions of global parameters.

Synopsis

  list-medical-vocabularies
[--next-token <value>]
[--max-results <value>]
[--state-equals <value>]
[--name-contains <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]

Options

--next-token (string)

If the result of your previous request to ListMedicalVocabularies was truncated, include the NextToken to fetch the next set of vocabularies.

--max-results (integer)

The maximum number of vocabularies to return in each page of results. If there are fewer results than the value you specify, only the actual results are returned. If you do not specify a value, the default of 5 is used.

--state-equals (string)

When specified, returns only vocabularies with the VocabularyState equal to the specified vocabulary state. Use this field to see which vocabularies are ready for your medical transcription jobs.

Possible values:

  • PENDING

  • READY

  • FAILED

--name-contains (string)

Returns vocabularies whose names contain the specified string. The search is not case sensitive. ListMedicalVocabularies returns both “vocabularyname ” and “VocabularyName “.

--cli-input-json | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See ‘aws help’ for descriptions of global parameters.

Examples

To list your medical custom vocabularies

The following list-medical-vocabularies example lists the medical custom vocabularies associated with your AWS account and Region. To get more information about a particular transcription job, copy the value of a MedicalTranscriptionJobName parameter in the transcription output, and specify that value for the MedicalTranscriptionJobName option of the get-medical-transcription-job command. To see more of your transcription jobs, copy the value of the NextToken parameter, run the list-medical-transcription-jobs command again, and specify that value in the --next-token option.

aws transcribe list-medical-vocabularies

Output:

{
    "Vocabularies": [
        {
            "VocabularyName": "cli-medical-vocab-2",
            "LanguageCode": "en-US",
            "LastModifiedTime": "2020-09-21T21:44:59.521000+00:00",
            "VocabularyState": "READY"
        },
        {
            "VocabularyName": "cli-medical-vocab-1",
            "LanguageCode": "en-US",
            "LastModifiedTime": "2020-09-19T23:59:04.349000+00:00",
            "VocabularyState": "READY"
        }
    ]
}

For more information, see Medical Custom Vocabularies in the Amazon Transcribe Developer Guide.

Output

Status -> (string)

The requested vocabulary state.

NextToken -> (string)

The ListMedicalVocabularies operation returns a page of vocabularies at a time. You set the maximum number of vocabularies to return on a page with the MaxResults parameter. If there are more jobs in the list will fit on a page, Amazon Transcribe Medical returns the NextPage token. To return the next page of vocabularies, include the token in the next request to the ListMedicalVocabularies operation .

Vocabularies -> (list)

A list of objects that describe the vocabularies that match your search criteria.

(structure)

Provides information about a custom vocabulary.

VocabularyName -> (string)

The name of the vocabulary.

LanguageCode -> (string)

The language code of the vocabulary entries.

LastModifiedTime -> (timestamp)

The date and time that the vocabulary was last modified.

VocabularyState -> (string)

The processing state of the vocabulary. If the state is READY you can use the vocabulary in a StartTranscriptionJob request.