Documentation ¶
Overview ¶
Package transcribe provides the API client, operations, and parameter types for Amazon Transcribe Service.
Amazon Transcribe offers three main types of batch transcription: Standard, Medical, and Call Analytics.
Standard transcriptions are the most common option. Refer to for details.
Medical transcriptions are tailored to medical professionals and incorporate medical terms. A common use case for this service is transcribing doctor-patient dialogue into after-visit notes. Refer to for details.
Call Analytics transcriptions are designed for use with call center audio on two different channels; if you're looking for insight into customer service calls, use this option. Refer to for details.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AuthResolverParameters
- type AuthSchemeResolver
- type Client
- func (c *Client) CreateCallAnalyticsCategory(ctx context.Context, params *CreateCallAnalyticsCategoryInput, ...) (*CreateCallAnalyticsCategoryOutput, error)
- func (c *Client) CreateLanguageModel(ctx context.Context, params *CreateLanguageModelInput, ...) (*CreateLanguageModelOutput, error)
- func (c *Client) CreateMedicalVocabulary(ctx context.Context, params *CreateMedicalVocabularyInput, ...) (*CreateMedicalVocabularyOutput, error)
- func (c *Client) CreateVocabulary(ctx context.Context, params *CreateVocabularyInput, optFns ...func(*Options)) (*CreateVocabularyOutput, error)
- func (c *Client) CreateVocabularyFilter(ctx context.Context, params *CreateVocabularyFilterInput, ...) (*CreateVocabularyFilterOutput, error)
- func (c *Client) DeleteCallAnalyticsCategory(ctx context.Context, params *DeleteCallAnalyticsCategoryInput, ...) (*DeleteCallAnalyticsCategoryOutput, error)
- func (c *Client) DeleteCallAnalyticsJob(ctx context.Context, params *DeleteCallAnalyticsJobInput, ...) (*DeleteCallAnalyticsJobOutput, error)
- func (c *Client) DeleteLanguageModel(ctx context.Context, params *DeleteLanguageModelInput, ...) (*DeleteLanguageModelOutput, error)
- func (c *Client) DeleteMedicalScribeJob(ctx context.Context, params *DeleteMedicalScribeJobInput, ...) (*DeleteMedicalScribeJobOutput, error)
- func (c *Client) DeleteMedicalTranscriptionJob(ctx context.Context, params *DeleteMedicalTranscriptionJobInput, ...) (*DeleteMedicalTranscriptionJobOutput, error)
- func (c *Client) DeleteMedicalVocabulary(ctx context.Context, params *DeleteMedicalVocabularyInput, ...) (*DeleteMedicalVocabularyOutput, error)
- func (c *Client) DeleteTranscriptionJob(ctx context.Context, params *DeleteTranscriptionJobInput, ...) (*DeleteTranscriptionJobOutput, error)
- func (c *Client) DeleteVocabulary(ctx context.Context, params *DeleteVocabularyInput, optFns ...func(*Options)) (*DeleteVocabularyOutput, error)
- func (c *Client) DeleteVocabularyFilter(ctx context.Context, params *DeleteVocabularyFilterInput, ...) (*DeleteVocabularyFilterOutput, error)
- func (c *Client) DescribeLanguageModel(ctx context.Context, params *DescribeLanguageModelInput, ...) (*DescribeLanguageModelOutput, error)
- func (c *Client) GetCallAnalyticsCategory(ctx context.Context, params *GetCallAnalyticsCategoryInput, ...) (*GetCallAnalyticsCategoryOutput, error)
- func (c *Client) GetCallAnalyticsJob(ctx context.Context, params *GetCallAnalyticsJobInput, ...) (*GetCallAnalyticsJobOutput, error)
- func (c *Client) GetMedicalScribeJob(ctx context.Context, params *GetMedicalScribeJobInput, ...) (*GetMedicalScribeJobOutput, error)
- func (c *Client) GetMedicalTranscriptionJob(ctx context.Context, params *GetMedicalTranscriptionJobInput, ...) (*GetMedicalTranscriptionJobOutput, error)
- func (c *Client) GetMedicalVocabulary(ctx context.Context, params *GetMedicalVocabularyInput, ...) (*GetMedicalVocabularyOutput, error)
- func (c *Client) GetTranscriptionJob(ctx context.Context, params *GetTranscriptionJobInput, ...) (*GetTranscriptionJobOutput, error)
- func (c *Client) GetVocabulary(ctx context.Context, params *GetVocabularyInput, optFns ...func(*Options)) (*GetVocabularyOutput, error)
- func (c *Client) GetVocabularyFilter(ctx context.Context, params *GetVocabularyFilterInput, ...) (*GetVocabularyFilterOutput, error)
- func (c *Client) ListCallAnalyticsCategories(ctx context.Context, params *ListCallAnalyticsCategoriesInput, ...) (*ListCallAnalyticsCategoriesOutput, error)
- func (c *Client) ListCallAnalyticsJobs(ctx context.Context, params *ListCallAnalyticsJobsInput, ...) (*ListCallAnalyticsJobsOutput, error)
- func (c *Client) ListLanguageModels(ctx context.Context, params *ListLanguageModelsInput, optFns ...func(*Options)) (*ListLanguageModelsOutput, error)
- func (c *Client) ListMedicalScribeJobs(ctx context.Context, params *ListMedicalScribeJobsInput, ...) (*ListMedicalScribeJobsOutput, error)
- func (c *Client) ListMedicalTranscriptionJobs(ctx context.Context, params *ListMedicalTranscriptionJobsInput, ...) (*ListMedicalTranscriptionJobsOutput, error)
- func (c *Client) ListMedicalVocabularies(ctx context.Context, params *ListMedicalVocabulariesInput, ...) (*ListMedicalVocabulariesOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) ListTranscriptionJobs(ctx context.Context, params *ListTranscriptionJobsInput, ...) (*ListTranscriptionJobsOutput, error)
- func (c *Client) ListVocabularies(ctx context.Context, params *ListVocabulariesInput, optFns ...func(*Options)) (*ListVocabulariesOutput, error)
- func (c *Client) ListVocabularyFilters(ctx context.Context, params *ListVocabularyFiltersInput, ...) (*ListVocabularyFiltersOutput, error)
- func (c *Client) Options() Options
- func (c *Client) StartCallAnalyticsJob(ctx context.Context, params *StartCallAnalyticsJobInput, ...) (*StartCallAnalyticsJobOutput, error)
- func (c *Client) StartMedicalScribeJob(ctx context.Context, params *StartMedicalScribeJobInput, ...) (*StartMedicalScribeJobOutput, error)
- func (c *Client) StartMedicalTranscriptionJob(ctx context.Context, params *StartMedicalTranscriptionJobInput, ...) (*StartMedicalTranscriptionJobOutput, error)
- func (c *Client) StartTranscriptionJob(ctx context.Context, params *StartTranscriptionJobInput, ...) (*StartTranscriptionJobOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateCallAnalyticsCategory(ctx context.Context, params *UpdateCallAnalyticsCategoryInput, ...) (*UpdateCallAnalyticsCategoryOutput, error)
- func (c *Client) UpdateMedicalVocabulary(ctx context.Context, params *UpdateMedicalVocabularyInput, ...) (*UpdateMedicalVocabularyOutput, error)
- func (c *Client) UpdateVocabulary(ctx context.Context, params *UpdateVocabularyInput, optFns ...func(*Options)) (*UpdateVocabularyOutput, error)
- func (c *Client) UpdateVocabularyFilter(ctx context.Context, params *UpdateVocabularyFilterInput, ...) (*UpdateVocabularyFilterOutput, error)
- type CreateCallAnalyticsCategoryInput
- type CreateCallAnalyticsCategoryOutput
- type CreateLanguageModelInput
- type CreateLanguageModelOutput
- type CreateMedicalVocabularyInput
- type CreateMedicalVocabularyOutput
- type CreateVocabularyFilterInput
- type CreateVocabularyFilterOutput
- type CreateVocabularyInput
- type CreateVocabularyOutput
- type DeleteCallAnalyticsCategoryInput
- type DeleteCallAnalyticsCategoryOutput
- type DeleteCallAnalyticsJobInput
- type DeleteCallAnalyticsJobOutput
- type DeleteLanguageModelInput
- type DeleteLanguageModelOutput
- type DeleteMedicalScribeJobInput
- type DeleteMedicalScribeJobOutput
- type DeleteMedicalTranscriptionJobInput
- type DeleteMedicalTranscriptionJobOutput
- type DeleteMedicalVocabularyInput
- type DeleteMedicalVocabularyOutput
- type DeleteTranscriptionJobInput
- type DeleteTranscriptionJobOutput
- type DeleteVocabularyFilterInput
- type DeleteVocabularyFilterOutput
- type DeleteVocabularyInput
- type DeleteVocabularyOutput
- type DescribeLanguageModelInput
- type DescribeLanguageModelOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type GetCallAnalyticsCategoryInput
- type GetCallAnalyticsCategoryOutput
- type GetCallAnalyticsJobInput
- type GetCallAnalyticsJobOutput
- type GetMedicalScribeJobInput
- type GetMedicalScribeJobOutput
- type GetMedicalTranscriptionJobInput
- type GetMedicalTranscriptionJobOutput
- type GetMedicalVocabularyInput
- type GetMedicalVocabularyOutput
- type GetTranscriptionJobInput
- type GetTranscriptionJobOutput
- type GetVocabularyFilterInput
- type GetVocabularyFilterOutput
- type GetVocabularyInput
- type GetVocabularyOutput
- type HTTPClient
- type HTTPSignerV4
- type ListCallAnalyticsCategoriesAPIClient
- type ListCallAnalyticsCategoriesInput
- type ListCallAnalyticsCategoriesOutput
- type ListCallAnalyticsCategoriesPaginator
- type ListCallAnalyticsCategoriesPaginatorOptions
- type ListCallAnalyticsJobsAPIClient
- type ListCallAnalyticsJobsInput
- type ListCallAnalyticsJobsOutput
- type ListCallAnalyticsJobsPaginator
- type ListCallAnalyticsJobsPaginatorOptions
- type ListLanguageModelsAPIClient
- type ListLanguageModelsInput
- type ListLanguageModelsOutput
- type ListLanguageModelsPaginator
- type ListLanguageModelsPaginatorOptions
- type ListMedicalScribeJobsAPIClient
- type ListMedicalScribeJobsInput
- type ListMedicalScribeJobsOutput
- type ListMedicalScribeJobsPaginator
- type ListMedicalScribeJobsPaginatorOptions
- type ListMedicalTranscriptionJobsAPIClient
- type ListMedicalTranscriptionJobsInput
- type ListMedicalTranscriptionJobsOutput
- type ListMedicalTranscriptionJobsPaginator
- type ListMedicalTranscriptionJobsPaginatorOptions
- type ListMedicalVocabulariesAPIClient
- type ListMedicalVocabulariesInput
- type ListMedicalVocabulariesOutput
- type ListMedicalVocabulariesPaginator
- type ListMedicalVocabulariesPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListTranscriptionJobsAPIClient
- type ListTranscriptionJobsInput
- type ListTranscriptionJobsOutput
- type ListTranscriptionJobsPaginator
- type ListTranscriptionJobsPaginatorOptions
- type ListVocabulariesAPIClient
- type ListVocabulariesInput
- type ListVocabulariesOutput
- type ListVocabulariesPaginator
- type ListVocabulariesPaginatorOptions
- type ListVocabularyFiltersAPIClient
- type ListVocabularyFiltersInput
- type ListVocabularyFiltersOutput
- type ListVocabularyFiltersPaginator
- type ListVocabularyFiltersPaginatorOptions
- type Options
- type ResolveEndpoint
- type StartCallAnalyticsJobInput
- type StartCallAnalyticsJobOutput
- type StartMedicalScribeJobInput
- type StartMedicalScribeJobOutput
- type StartMedicalTranscriptionJobInput
- type StartMedicalTranscriptionJobOutput
- type StartTranscriptionJobInput
- type StartTranscriptionJobOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateCallAnalyticsCategoryInput
- type UpdateCallAnalyticsCategoryOutput
- type UpdateMedicalVocabularyInput
- type UpdateMedicalVocabularyOutput
- type UpdateVocabularyFilterInput
- type UpdateVocabularyFilterOutput
- type UpdateVocabularyInput
- type UpdateVocabularyOutput
Constants ¶
const ServiceAPIVersion = "2017-10-26"
const ServiceID = "Transcribe"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AuthResolverParameters ¶
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for Amazon Transcribe Service.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) CreateCallAnalyticsCategory ¶
func (c *Client) CreateCallAnalyticsCategory(ctx context.Context, params *CreateCallAnalyticsCategoryInput, optFns ...func(*Options)) (*CreateCallAnalyticsCategoryOutput, error)
Creates a new Call Analytics category.
All categories are automatically applied to your Call Analytics transcriptions. Note that in order to apply categories to your transcriptions, you must create them before submitting your transcription request, as categories cannot be applied retroactively.
When creating a new category, you can use the InputType parameter to label the category as a POST_CALL or a REAL_TIME category. POST_CALL categories can only be applied to post-call transcriptions and REAL_TIME categories can only be applied to real-time transcriptions. If you do not include InputType , your category is created as a POST_CALL category by default.
Call Analytics categories are composed of rules. For each category, you must create between 1 and 20 rules. Rules can include these parameters: , , , and .
To update an existing category, see .
To learn more about Call Analytics categories, see Creating categories for post-call transcriptions and Creating categories for real-time transcriptions.
func (*Client) CreateLanguageModel ¶
func (c *Client) CreateLanguageModel(ctx context.Context, params *CreateLanguageModelInput, optFns ...func(*Options)) (*CreateLanguageModelOutput, error)
Creates a new custom language model.
When creating a new custom language model, you must specify:
If you want a Wideband (audio sample rates over 16,000 Hz) or Narrowband (audio sample rates under 16,000 Hz) base model
The location of your training and tuning files (this must be an Amazon S3 URI)
The language of your model
A unique name for your model
func (*Client) CreateMedicalVocabulary ¶
func (c *Client) CreateMedicalVocabulary(ctx context.Context, params *CreateMedicalVocabularyInput, optFns ...func(*Options)) (*CreateMedicalVocabularyOutput, error)
Creates a new custom medical vocabulary.
Before creating a new custom medical vocabulary, you must first upload a text file that contains your vocabulary table into an Amazon S3 bucket. Note that this differs from , where you can include a list of terms within your request using the Phrases flag; CreateMedicalVocabulary does not support the Phrases flag and only accepts vocabularies in table format.
Each language has a character set that contains all allowed characters for that specific language. If you use unsupported characters, your custom vocabulary request fails. Refer to Character Sets for Custom Vocabulariesto get the character set for your language.
For more information, see Custom vocabularies.
func (*Client) CreateVocabulary ¶
func (c *Client) CreateVocabulary(ctx context.Context, params *CreateVocabularyInput, optFns ...func(*Options)) (*CreateVocabularyOutput, error)
Creates a new custom vocabulary.
When creating a new custom vocabulary, you can either upload a text file that contains your new entries, phrases, and terms into an Amazon S3 bucket and include the URI in your request. Or you can include a list of terms directly in your request using the Phrases flag.
Each language has a character set that contains all allowed characters for that specific language. If you use unsupported characters, your custom vocabulary request fails. Refer to Character Sets for Custom Vocabulariesto get the character set for your language.
For more information, see Custom vocabularies.
func (*Client) CreateVocabularyFilter ¶
func (c *Client) CreateVocabularyFilter(ctx context.Context, params *CreateVocabularyFilterInput, optFns ...func(*Options)) (*CreateVocabularyFilterOutput, error)
Creates a new custom vocabulary filter.
You can use custom vocabulary filters to mask, delete, or flag specific words from your transcript. Custom vocabulary filters are commonly used to mask profanity in transcripts.
Each language has a character set that contains all allowed characters for that specific language. If you use unsupported characters, your custom vocabulary filter request fails. Refer to Character Sets for Custom Vocabulariesto get the character set for your language.
For more information, see Vocabulary filtering.
func (*Client) DeleteCallAnalyticsCategory ¶
func (c *Client) DeleteCallAnalyticsCategory(ctx context.Context, params *DeleteCallAnalyticsCategoryInput, optFns ...func(*Options)) (*DeleteCallAnalyticsCategoryOutput, error)
Deletes a Call Analytics category. To use this operation, specify the name of the category you want to delete using CategoryName . Category names are case sensitive.
func (*Client) DeleteCallAnalyticsJob ¶
func (c *Client) DeleteCallAnalyticsJob(ctx context.Context, params *DeleteCallAnalyticsJobInput, optFns ...func(*Options)) (*DeleteCallAnalyticsJobOutput, error)
Deletes a Call Analytics job. To use this operation, specify the name of the job you want to delete using CallAnalyticsJobName . Job names are case sensitive.
func (*Client) DeleteLanguageModel ¶
func (c *Client) DeleteLanguageModel(ctx context.Context, params *DeleteLanguageModelInput, optFns ...func(*Options)) (*DeleteLanguageModelOutput, error)
Deletes a custom language model. To use this operation, specify the name of the language model you want to delete using ModelName . custom language model names are case sensitive.
func (*Client) DeleteMedicalScribeJob ¶
func (c *Client) DeleteMedicalScribeJob(ctx context.Context, params *DeleteMedicalScribeJobInput, optFns ...func(*Options)) (*DeleteMedicalScribeJobOutput, error)
Deletes a Medical Scribe job. To use this operation, specify the name of the job you want to delete using MedicalScribeJobName . Job names are case sensitive.
func (*Client) DeleteMedicalTranscriptionJob ¶
func (c *Client) DeleteMedicalTranscriptionJob(ctx context.Context, params *DeleteMedicalTranscriptionJobInput, optFns ...func(*Options)) (*DeleteMedicalTranscriptionJobOutput, error)
Deletes a medical transcription job. To use this operation, specify the name of the job you want to delete using MedicalTranscriptionJobName . Job names are case sensitive.
func (*Client) DeleteMedicalVocabulary ¶
func (c *Client) DeleteMedicalVocabulary(ctx context.Context, params *DeleteMedicalVocabularyInput, optFns ...func(*Options)) (*DeleteMedicalVocabularyOutput, error)
Deletes a custom medical vocabulary. To use this operation, specify the name of the custom vocabulary you want to delete using VocabularyName . Custom vocabulary names are case sensitive.
func (*Client) DeleteTranscriptionJob ¶
func (c *Client) DeleteTranscriptionJob(ctx context.Context, params *DeleteTranscriptionJobInput, optFns ...func(*Options)) (*DeleteTranscriptionJobOutput, error)
Deletes a transcription job. To use this operation, specify the name of the job you want to delete using TranscriptionJobName . Job names are case sensitive.
func (*Client) DeleteVocabulary ¶
func (c *Client) DeleteVocabulary(ctx context.Context, params *DeleteVocabularyInput, optFns ...func(*Options)) (*DeleteVocabularyOutput, error)
Deletes a custom vocabulary. To use this operation, specify the name of the custom vocabulary you want to delete using VocabularyName . Custom vocabulary names are case sensitive.
func (*Client) DeleteVocabularyFilter ¶
func (c *Client) DeleteVocabularyFilter(ctx context.Context, params *DeleteVocabularyFilterInput, optFns ...func(*Options)) (*DeleteVocabularyFilterOutput, error)
Deletes a custom vocabulary filter. To use this operation, specify the name of the custom vocabulary filter you want to delete using VocabularyFilterName . Custom vocabulary filter names are case sensitive.
func (*Client) DescribeLanguageModel ¶
func (c *Client) DescribeLanguageModel(ctx context.Context, params *DescribeLanguageModelInput, optFns ...func(*Options)) (*DescribeLanguageModelOutput, error)
Provides information about the specified custom language model.
This operation also shows if the base language model that you 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 you tried to create a new custom language model and the request wasn't successful, you can use DescribeLanguageModel to help identify the reason for this failure.
func (*Client) GetCallAnalyticsCategory ¶
func (c *Client) GetCallAnalyticsCategory(ctx context.Context, params *GetCallAnalyticsCategoryInput, optFns ...func(*Options)) (*GetCallAnalyticsCategoryOutput, error)
Provides information about the specified Call Analytics category.
To get a list of your Call Analytics categories, use the operation.
func (*Client) GetCallAnalyticsJob ¶
func (c *Client) GetCallAnalyticsJob(ctx context.Context, params *GetCallAnalyticsJobInput, optFns ...func(*Options)) (*GetCallAnalyticsJobOutput, error)
Provides information about the specified Call Analytics job.
To view the job's status, refer to CallAnalyticsJobStatus . If the status is COMPLETED , the job is finished. You can find your completed transcript at the URI specified in TranscriptFileUri . If the status is FAILED , FailureReason provides details on why your transcription job failed.
If you enabled personally identifiable information (PII) redaction, the redacted transcript appears at the location specified in RedactedTranscriptFileUri .
If you chose to redact the audio in your media file, you can find your redacted media file at the location specified in RedactedMediaFileUri .
To get a list of your Call Analytics jobs, use the operation.
func (*Client) GetMedicalScribeJob ¶
func (c *Client) GetMedicalScribeJob(ctx context.Context, params *GetMedicalScribeJobInput, optFns ...func(*Options)) (*GetMedicalScribeJobOutput, error)
Provides information about the specified Medical Scribe job.
To view the status of the specified medical transcription job, check the MedicalScribeJobStatus field. If the status is COMPLETED , the job is finished. You can find the results at the location specified in MedicalScribeOutput . If the status is FAILED , FailureReason provides details on why your Medical Scribe job failed.
To get a list of your Medical Scribe jobs, use the operation.
func (*Client) GetMedicalTranscriptionJob ¶
func (c *Client) GetMedicalTranscriptionJob(ctx context.Context, params *GetMedicalTranscriptionJobInput, optFns ...func(*Options)) (*GetMedicalTranscriptionJobOutput, error)
Provides information about the specified medical transcription job.
To view the status of the specified medical transcription job, check the TranscriptionJobStatus field. If the status is COMPLETED , the job is finished. You can find the results at the location specified in TranscriptFileUri . If the status is FAILED , FailureReason provides details on why your transcription job failed.
To get a list of your medical transcription jobs, use the operation.
func (*Client) GetMedicalVocabulary ¶
func (c *Client) GetMedicalVocabulary(ctx context.Context, params *GetMedicalVocabularyInput, optFns ...func(*Options)) (*GetMedicalVocabularyOutput, error)
Provides information about the specified custom medical vocabulary.
To view the status of the specified custom medical vocabulary, check the VocabularyState field. If the status is READY , your custom vocabulary is available to use. If the status is FAILED , FailureReason provides details on why your vocabulary failed.
To get a list of your custom medical vocabularies, use the operation.
func (*Client) GetTranscriptionJob ¶
func (c *Client) GetTranscriptionJob(ctx context.Context, params *GetTranscriptionJobInput, optFns ...func(*Options)) (*GetTranscriptionJobOutput, error)
Provides information about the specified transcription job.
To view the status of the specified transcription job, check the TranscriptionJobStatus field. If the status is COMPLETED , the job is finished. You can find the results at the location specified in TranscriptFileUri . If the status is FAILED , FailureReason provides details on why your transcription job failed.
If you enabled content redaction, the redacted transcript can be found at the location specified in RedactedTranscriptFileUri .
To get a list of your transcription jobs, use the operation.
func (*Client) GetVocabulary ¶
func (c *Client) GetVocabulary(ctx context.Context, params *GetVocabularyInput, optFns ...func(*Options)) (*GetVocabularyOutput, error)
Provides information about the specified custom vocabulary.
To view the status of the specified custom vocabulary, check the VocabularyState field. If the status is READY , your custom vocabulary is available to use. If the status is FAILED , FailureReason provides details on why your custom vocabulary failed.
To get a list of your custom vocabularies, use the operation.
func (*Client) GetVocabularyFilter ¶
func (c *Client) GetVocabularyFilter(ctx context.Context, params *GetVocabularyFilterInput, optFns ...func(*Options)) (*GetVocabularyFilterOutput, error)
Provides information about the specified custom vocabulary filter.
To get a list of your custom vocabulary filters, use the operation.
func (*Client) ListCallAnalyticsCategories ¶
func (c *Client) ListCallAnalyticsCategories(ctx context.Context, params *ListCallAnalyticsCategoriesInput, optFns ...func(*Options)) (*ListCallAnalyticsCategoriesOutput, error)
Provides a list of Call Analytics categories, including all rules that make up each category.
To get detailed information about a specific Call Analytics category, use the operation.
func (*Client) ListCallAnalyticsJobs ¶
func (c *Client) ListCallAnalyticsJobs(ctx context.Context, params *ListCallAnalyticsJobsInput, optFns ...func(*Options)) (*ListCallAnalyticsJobsOutput, error)
Provides a list of Call Analytics jobs that match the specified criteria. If no criteria are specified, all Call Analytics jobs are returned.
To get detailed information about a specific Call Analytics job, use the operation.
func (*Client) ListLanguageModels ¶
func (c *Client) ListLanguageModels(ctx context.Context, params *ListLanguageModelsInput, optFns ...func(*Options)) (*ListLanguageModelsOutput, error)
Provides a list of custom language models that match the specified criteria. If no criteria are specified, all custom language models are returned.
To get detailed information about a specific custom language model, use the operation.
func (*Client) ListMedicalScribeJobs ¶
func (c *Client) ListMedicalScribeJobs(ctx context.Context, params *ListMedicalScribeJobsInput, optFns ...func(*Options)) (*ListMedicalScribeJobsOutput, error)
Provides a list of Medical Scribe jobs that match the specified criteria. If no criteria are specified, all Medical Scribe jobs are returned.
To get detailed information about a specific Medical Scribe job, use the operation.
func (*Client) ListMedicalTranscriptionJobs ¶
func (c *Client) ListMedicalTranscriptionJobs(ctx context.Context, params *ListMedicalTranscriptionJobsInput, optFns ...func(*Options)) (*ListMedicalTranscriptionJobsOutput, error)
Provides a list of medical transcription jobs that match the specified criteria. If no criteria are specified, all medical transcription jobs are returned.
To get detailed information about a specific medical transcription job, use the operation.
func (*Client) ListMedicalVocabularies ¶
func (c *Client) ListMedicalVocabularies(ctx context.Context, params *ListMedicalVocabulariesInput, optFns ...func(*Options)) (*ListMedicalVocabulariesOutput, error)
Provides a list of custom medical vocabularies that match the specified criteria. If no criteria are specified, all custom medical vocabularies are returned.
To get detailed information about a specific custom medical vocabulary, use the operation.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Lists all tags associated with the specified transcription job, vocabulary, model, or resource.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
func (*Client) ListTranscriptionJobs ¶
func (c *Client) ListTranscriptionJobs(ctx context.Context, params *ListTranscriptionJobsInput, optFns ...func(*Options)) (*ListTranscriptionJobsOutput, error)
Provides a list of transcription jobs that match the specified criteria. If no criteria are specified, all transcription jobs are returned.
To get detailed information about a specific transcription job, use the operation.
func (*Client) ListVocabularies ¶
func (c *Client) ListVocabularies(ctx context.Context, params *ListVocabulariesInput, optFns ...func(*Options)) (*ListVocabulariesOutput, error)
Provides a list of custom vocabularies that match the specified criteria. If no criteria are specified, all custom vocabularies are returned.
To get detailed information about a specific custom vocabulary, use the operation.
func (*Client) ListVocabularyFilters ¶
func (c *Client) ListVocabularyFilters(ctx context.Context, params *ListVocabularyFiltersInput, optFns ...func(*Options)) (*ListVocabularyFiltersOutput, error)
Provides a list of custom vocabulary filters that match the specified criteria. If no criteria are specified, all custom vocabularies are returned.
To get detailed information about a specific custom vocabulary filter, use the operation.
func (*Client) Options ¶
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) StartCallAnalyticsJob ¶
func (c *Client) StartCallAnalyticsJob(ctx context.Context, params *StartCallAnalyticsJobInput, optFns ...func(*Options)) (*StartCallAnalyticsJobOutput, error)
Transcribes the audio from a customer service call and applies any additional Request Parameters you choose to include in your request.
In addition to many standard transcription features, Call Analytics provides you with call characteristics, call summarization, speaker sentiment, and optional redaction of your text transcript and your audio file. You can also apply custom categories to flag specified conditions. To learn more about these features and insights, refer to Analyzing call center audio with Call Analytics.
If you want to apply categories to your Call Analytics job, you must create them before submitting your job request. Categories cannot be retroactively applied to a job. To create a new category, use the operation. To learn more about Call Analytics categories, see Creating categories for post-call transcriptionsand Creating categories for real-time transcriptions.
To make a StartCallAnalyticsJob request, you must first upload your media file into an Amazon S3 bucket; you can then specify the Amazon S3 location of the file using the Media parameter.
Note that job queuing is enabled by default for Call Analytics jobs.
You must include the following parameters in your StartCallAnalyticsJob request:
region : The Amazon Web Services Region where you are making your request. For a list of Amazon Web Services Regions supported with Amazon Transcribe, refer to Amazon Transcribe endpoints and quotas.
CallAnalyticsJobName : A custom name that you create for your transcription job that's unique within your Amazon Web Services account.
DataAccessRoleArn : The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files.
Media ( MediaFileUri or RedactedMediaFileUri ): The Amazon S3 location of your media file.
With Call Analytics, you can redact the audio contained in your media file by including RedactedMediaFileUri , instead of MediaFileUri , to specify the location of your input audio. If you choose to redact your audio, you can find your redacted media at the location specified in the RedactedMediaFileUri field of your response.
func (*Client) StartMedicalScribeJob ¶
func (c *Client) StartMedicalScribeJob(ctx context.Context, params *StartMedicalScribeJobInput, optFns ...func(*Options)) (*StartMedicalScribeJobOutput, error)
Transcribes patient-clinician conversations and generates clinical notes.
Amazon Web Services HealthScribe automatically provides rich conversation transcripts, identifies speaker roles, classifies dialogues, extracts medical terms, and generates preliminary clinical notes. To learn more about these features, refer to Amazon Web Services HealthScribe.
To make a StartMedicalScribeJob request, you must first upload your media file into an Amazon S3 bucket; you can then specify the Amazon S3 location of the file using the Media parameter.
You must include the following parameters in your StartMedicalTranscriptionJob request:
DataAccessRoleArn : The ARN of an IAM role with the these minimum permissions: read permission on input file Amazon S3 bucket specified in Media , write permission on the Amazon S3 bucket specified in OutputBucketName , and full permissions on the KMS key specified in OutputEncryptionKMSKeyId (if set). The role should also allow transcribe.amazonaws.com to assume it.
Media ( MediaFileUri ): The Amazon S3 location of your media file.
MedicalScribeJobName : A custom name you create for your MedicalScribe job that is unique within your Amazon Web Services account.
OutputBucketName : The Amazon S3 bucket where you want your output files stored.
Settings : A MedicalScribeSettings obect that must set exactly one of ShowSpeakerLabels or ChannelIdentification to true. If ShowSpeakerLabels is true, MaxSpeakerLabels must also be set.
ChannelDefinitions : A MedicalScribeChannelDefinitions array should be set if and only if the ChannelIdentification value of Settings is set to true.
func (*Client) StartMedicalTranscriptionJob ¶
func (c *Client) StartMedicalTranscriptionJob(ctx context.Context, params *StartMedicalTranscriptionJobInput, optFns ...func(*Options)) (*StartMedicalTranscriptionJobOutput, error)
Transcribes the audio from a medical dictation or conversation and applies any additional Request Parameters you choose to include in your request.
In addition to many standard transcription features, Amazon Transcribe Medical provides you with a robust medical vocabulary and, optionally, content identification, which adds flags to personal health information (PHI). To learn more about these features, refer to How Amazon Transcribe Medical works.
To make a StartMedicalTranscriptionJob request, you must first upload your media file into an Amazon S3 bucket; you can then specify the Amazon S3 location of the file using the Media parameter.
You must include the following parameters in your StartMedicalTranscriptionJob request:
region : The Amazon Web Services Region where you are making your request. For a list of Amazon Web Services Regions supported with Amazon Transcribe, refer to Amazon Transcribe endpoints and quotas.
MedicalTranscriptionJobName : A custom name you create for your transcription job that is unique within your Amazon Web Services account.
Media ( MediaFileUri ): The Amazon S3 location of your media file.
LanguageCode : This must be en-US .
OutputBucketName : The Amazon S3 bucket where you want your transcript stored. If you want your output stored in a sub-folder of this bucket, you must also include OutputKey .
Specialty : This must be PRIMARYCARE .
Type : Choose whether your audio is a conversation or a dictation.
func (*Client) StartTranscriptionJob ¶
func (c *Client) StartTranscriptionJob(ctx context.Context, params *StartTranscriptionJobInput, optFns ...func(*Options)) (*StartTranscriptionJobOutput, error)
Transcribes the audio from a media file and applies any additional Request Parameters you choose to include in your request.
To make a StartTranscriptionJob request, you must first upload your media file into an Amazon S3 bucket; you can then specify the Amazon S3 location of the file using the Media parameter.
You must include the following parameters in your StartTranscriptionJob request:
region : The Amazon Web Services Region where you are making your request. For a list of Amazon Web Services Regions supported with Amazon Transcribe, refer to Amazon Transcribe endpoints and quotas.
TranscriptionJobName : A custom name you create for your transcription job that is unique within your Amazon Web Services account.
Media ( MediaFileUri ): The Amazon S3 location of your media file.
One of LanguageCode , IdentifyLanguage , or IdentifyMultipleLanguages : If you know the language of your media file, specify it using the LanguageCode parameter; you can find all valid language codes in the Supported languagestable. If you do not know the languages spoken in your media, use either IdentifyLanguage or IdentifyMultipleLanguages and let Amazon Transcribe identify the languages for you.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Adds one or more custom tags, each in the form of a key:value pair, to the specified resource.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes the specified tags from the specified Amazon Transcribe resource.
If you include UntagResource in your request, you must also include ResourceArn and TagKeys .
func (*Client) UpdateCallAnalyticsCategory ¶
func (c *Client) UpdateCallAnalyticsCategory(ctx context.Context, params *UpdateCallAnalyticsCategoryInput, optFns ...func(*Options)) (*UpdateCallAnalyticsCategoryOutput, error)
Updates the specified Call Analytics category with new rules. Note that the UpdateCallAnalyticsCategory operation overwrites all existing rules contained in the specified category. You cannot append additional rules onto an existing category.
To create a new category, see .
func (*Client) UpdateMedicalVocabulary ¶
func (c *Client) UpdateMedicalVocabulary(ctx context.Context, params *UpdateMedicalVocabularyInput, optFns ...func(*Options)) (*UpdateMedicalVocabularyOutput, error)
Updates an existing custom medical vocabulary with new values. This operation overwrites all existing information with your new values; you cannot append new terms onto an existing custom vocabulary.
func (*Client) UpdateVocabulary ¶
func (c *Client) UpdateVocabulary(ctx context.Context, params *UpdateVocabularyInput, optFns ...func(*Options)) (*UpdateVocabularyOutput, error)
Updates an existing custom vocabulary with new values. This operation overwrites all existing information with your new values; you cannot append new terms onto an existing custom vocabulary.
func (*Client) UpdateVocabularyFilter ¶
func (c *Client) UpdateVocabularyFilter(ctx context.Context, params *UpdateVocabularyFilterInput, optFns ...func(*Options)) (*UpdateVocabularyFilterOutput, error)
Updates an existing custom vocabulary filter with a new list of words. The new list you provide overwrites all previous entries; you cannot append new terms onto an existing custom vocabulary filter.
type CreateCallAnalyticsCategoryInput ¶
type CreateCallAnalyticsCategoryInput struct { // A unique name, chosen by you, for your Call Analytics category. It's helpful to // use a detailed naming system that will make sense to you in the future. For // example, it's better to use sentiment-positive-last30seconds for a category // over a generic name like test-category . // // Category names are case sensitive. // // This member is required. CategoryName *string // Rules define a Call Analytics category. When creating a new category, you must // create between 1 and 20 rules for that category. For each rule, you specify a // filter you want applied to the attributes of a call. For example, you can choose // a sentiment filter that detects if a customer's sentiment was positive during // the last 30 seconds of the call. // // This member is required. Rules []types.Rule // Choose whether you want to create a real-time or a post-call category for your // Call Analytics transcription. // // Specifying POST_CALL assigns your category to post-call transcriptions; // categories with this input type cannot be applied to streaming (real-time) // transcriptions. // // Specifying REAL_TIME assigns your category to streaming transcriptions; // categories with this input type cannot be applied to post-call transcriptions. // // If you do not include InputType , your category is created as a post-call // category by default. InputType types.InputType // contains filtered or unexported fields }
type CreateCallAnalyticsCategoryOutput ¶
type CreateCallAnalyticsCategoryOutput struct { // Provides you with the properties of your new category, including its associated // rules. CategoryProperties *types.CategoryProperties // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateLanguageModelInput ¶
type CreateLanguageModelInput struct { // The Amazon Transcribe standard language model, or base model, used to create // your custom language model. Amazon Transcribe offers two options for base // models: Wideband and Narrowband. // // If the audio you want to transcribe has a sample rate of 16,000 Hz or greater, // choose WideBand . To transcribe audio with a sample rate less than 16,000 Hz, // choose NarrowBand . // // This member is required. BaseModelName types.BaseModelName // Contains the Amazon S3 location of the training data you want to use to create // a new custom language model, and permissions to access this location. // // When using InputDataConfig , you must include these sub-parameters: S3Uri , // which is the Amazon S3 location of your training data, and DataAccessRoleArn , // which is the Amazon Resource Name (ARN) of the role that has permission to // access your specified Amazon S3 location. You can optionally include // TuningDataS3Uri , which is the Amazon S3 location of your tuning data. If you // specify different Amazon S3 locations for training and tuning data, the ARN you // use must have permissions to access both locations. // // This member is required. InputDataConfig *types.InputDataConfig // The language code that represents the language of your model. Each custom // language model must contain terms in only one language, and the language you // select for your custom language model must match the language of your training // and tuning data. // // For a list of supported languages and their associated language codes, refer to // the [Supported languages]table. Note that US English ( en-US ) is the only language supported with // Amazon Transcribe Medical. // // A custom language model can only be used to transcribe files in the same // language as the model. For example, if you create a custom language model using // US English ( en-US ), you can only apply this model to files that contain // English audio. // // [Supported languages]: https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html // // This member is required. LanguageCode types.CLMLanguageCode // A unique name, chosen by you, for your custom language model. // // This name is case sensitive, cannot contain spaces, and must be unique within // an Amazon Web Services account. If you try to create a new custom language model // with the same name as an existing custom language model, you get a // ConflictException error. // // This member is required. ModelName *string // Adds one or more custom tags, each in the form of a key:value pair, to a new // custom language model at the time you create this new model. // // To learn more about using tags with Amazon Transcribe, refer to [Tagging resources]. // // [Tagging resources]: https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html Tags []types.Tag // contains filtered or unexported fields }
type CreateLanguageModelOutput ¶
type CreateLanguageModelOutput struct { // The Amazon Transcribe standard language model, or base model, you specified // when creating your custom language model. BaseModelName types.BaseModelName // Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 // locations you provided for your training ( S3Uri ) and tuning ( TuningDataS3Uri // ) data. InputDataConfig *types.InputDataConfig // The language code you selected for your custom language model. LanguageCode types.CLMLanguageCode // The name of your custom language model. ModelName *string // The status of your custom language model. When the status displays as COMPLETED // , your model is ready to use. ModelStatus types.ModelStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateMedicalVocabularyInput ¶
type CreateMedicalVocabularyInput struct { // The language code that represents the language of the entries in your custom // vocabulary. US English ( en-US ) is the only language supported with Amazon // Transcribe Medical. // // This member is required. LanguageCode types.LanguageCode // The Amazon S3 location (URI) of the text file that contains your custom medical // vocabulary. The URI must be in the same Amazon Web Services Region as the // resource you're calling. // // Here's an example URI path: s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt // // This member is required. VocabularyFileUri *string // A unique name, chosen by you, for your new custom medical vocabulary. // // This name is case sensitive, cannot contain spaces, and must be unique within // an Amazon Web Services account. If you try to create a new custom medical // vocabulary with the same name as an existing custom medical vocabulary, you get // a ConflictException error. // // This member is required. VocabularyName *string // Adds one or more custom tags, each in the form of a key:value pair, to a new // custom medical vocabulary at the time you create this new custom vocabulary. // // To learn more about using tags with Amazon Transcribe, refer to [Tagging resources]. // // [Tagging resources]: https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html Tags []types.Tag // contains filtered or unexported fields }
type CreateMedicalVocabularyOutput ¶
type CreateMedicalVocabularyOutput struct { // If VocabularyState is FAILED , FailureReason contains information about why the // medical transcription job request failed. See also: [Common Errors]. // // [Common Errors]: https://docs.aws.amazon.com/transcribe/latest/APIReference/CommonErrors.html FailureReason *string // The language code you selected for your custom medical vocabulary. US English ( // en-US ) is the only language supported with Amazon Transcribe Medical. LanguageCode types.LanguageCode // The date and time you created your custom medical vocabulary. // // Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC . For example, // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. LastModifiedTime *time.Time // The name you chose for your custom medical vocabulary. VocabularyName *string // The processing state of your custom medical vocabulary. If the state is READY , // you can use the custom vocabulary in a StartMedicalTranscriptionJob request. VocabularyState types.VocabularyState // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateVocabularyFilterInput ¶
type CreateVocabularyFilterInput struct { // The language code that represents the language of the entries in your // vocabulary filter. Each custom vocabulary filter must contain terms in only one // language. // // A custom vocabulary filter can only be used to transcribe files in the same // language as the filter. For example, if you create a custom vocabulary filter // using US English ( en-US ), you can only apply this filter to files that contain // English audio. // // For a list of supported languages and their associated language codes, refer to // the [Supported languages]table. // // [Supported languages]: https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html // // This member is required. LanguageCode types.LanguageCode // A unique name, chosen by you, for your new custom vocabulary filter. // // This name is case sensitive, cannot contain spaces, and must be unique within // an Amazon Web Services account. If you try to create a new custom vocabulary // filter with the same name as an existing custom vocabulary filter, you get a // ConflictException error. // // This member is required. VocabularyFilterName *string // The Amazon Resource Name (ARN) of an IAM role that has permissions to access // the Amazon S3 bucket that contains your input files (in this case, your custom // vocabulary filter). If the role that you specify doesn’t have the appropriate // permissions to access the specified Amazon S3 location, your request fails. // // IAM role ARNs have the format // arn:partition:iam::account:role/role-name-with-path . For example: // arn:aws:iam::111122223333:role/Admin . // // For more information, see [IAM ARNs]. // // [IAM ARNs]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns DataAccessRoleArn *string // Adds one or more custom tags, each in the form of a key:value pair, to a new // custom vocabulary filter at the time you create this new vocabulary filter. // // To learn more about using tags with Amazon Transcribe, refer to [Tagging resources]. // // [Tagging resources]: https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html Tags []types.Tag // The Amazon S3 location of the text file that contains your custom vocabulary // filter terms. The URI must be located in the same Amazon Web Services Region as // the resource you're calling. // // Here's an example URI path: s3://DOC-EXAMPLE-BUCKET/my-vocab-filter-file.txt // // Note that if you include VocabularyFilterFileUri in your request, you cannot // use Words ; you must choose one or the other. VocabularyFilterFileUri *string // Use this parameter if you want to create your custom vocabulary filter by // including all desired terms, as comma-separated values, within your request. The // other option for creating your vocabulary filter is to save your entries in a // text file and upload them to an Amazon S3 bucket, then specify the location of // your file using the VocabularyFilterFileUri parameter. // // Note that if you include Words in your request, you cannot use // VocabularyFilterFileUri ; you must choose one or the other. // // Each language has a character set that contains all allowed characters for that // specific language. If you use unsupported characters, your custom vocabulary // filter request fails. Refer to [Character Sets for Custom Vocabularies]to get the character set for your language. // // [Character Sets for Custom Vocabularies]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html Words []string // contains filtered or unexported fields }
type CreateVocabularyFilterOutput ¶
type CreateVocabularyFilterOutput struct { // The language code you selected for your custom vocabulary filter. LanguageCode types.LanguageCode // The date and time you created your custom vocabulary filter. // // Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC . For example, // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. LastModifiedTime *time.Time // The name you chose for your custom vocabulary filter. VocabularyFilterName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateVocabularyInput ¶
type CreateVocabularyInput struct { // The language code that represents the language of the entries in your custom // vocabulary. Each custom vocabulary must contain terms in only one language. // // A custom vocabulary can only be used to transcribe files in the same language // as the custom vocabulary. For example, if you create a custom vocabulary using // US English ( en-US ), you can only apply this custom vocabulary to files that // contain English audio. // // For a list of supported languages and their associated language codes, refer to // the [Supported languages]table. // // [Supported languages]: https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html // // This member is required. LanguageCode types.LanguageCode // A unique name, chosen by you, for your new custom vocabulary. // // This name is case sensitive, cannot contain spaces, and must be unique within // an Amazon Web Services account. If you try to create a new custom vocabulary // with the same name as an existing custom vocabulary, you get a ConflictException // error. // // This member is required. VocabularyName *string // The Amazon Resource Name (ARN) of an IAM role that has permissions to access // the Amazon S3 bucket that contains your input files (in this case, your custom // vocabulary). If the role that you specify doesn’t have the appropriate // permissions to access the specified Amazon S3 location, your request fails. // // IAM role ARNs have the format // arn:partition:iam::account:role/role-name-with-path . For example: // arn:aws:iam::111122223333:role/Admin . // // For more information, see [IAM ARNs]. // // [IAM ARNs]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns DataAccessRoleArn *string // Use this parameter if you want to create your custom vocabulary by including // all desired terms, as comma-separated values, within your request. The other // option for creating your custom vocabulary is to save your entries in a text // file and upload them to an Amazon S3 bucket, then specify the location of your // file using the VocabularyFileUri parameter. // // Note that if you include Phrases in your request, you cannot use // VocabularyFileUri ; you must choose one or the other. // // Each language has a character set that contains all allowed characters for that // specific language. If you use unsupported characters, your custom vocabulary // filter request fails. Refer to [Character Sets for Custom Vocabularies]to get the character set for your language. // // [Character Sets for Custom Vocabularies]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html Phrases []string // Adds one or more custom tags, each in the form of a key:value pair, to a new // custom vocabulary at the time you create this new custom vocabulary. // // To learn more about using tags with Amazon Transcribe, refer to [Tagging resources]. // // [Tagging resources]: https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html Tags []types.Tag // The Amazon S3 location of the text file that contains your custom vocabulary. // The URI must be located in the same Amazon Web Services Region as the resource // you're calling. // // Here's an example URI path: s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt // // Note that if you include VocabularyFileUri in your request, you cannot use the // Phrases flag; you must choose one or the other. VocabularyFileUri *string // contains filtered or unexported fields }
type CreateVocabularyOutput ¶
type CreateVocabularyOutput struct { // If VocabularyState is FAILED , FailureReason contains information about why the // custom vocabulary request failed. See also: [Common Errors]. // // [Common Errors]: https://docs.aws.amazon.com/transcribe/latest/APIReference/CommonErrors.html FailureReason *string // The language code you selected for your custom vocabulary. LanguageCode types.LanguageCode // The date and time you created your custom vocabulary. // // Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC . For example, // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. LastModifiedTime *time.Time // The name you chose for your custom vocabulary. VocabularyName *string // The processing state of your custom vocabulary. If the state is READY , you can // use the custom vocabulary in a StartTranscriptionJob request. VocabularyState types.VocabularyState // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteCallAnalyticsCategoryInput ¶
type DeleteCallAnalyticsCategoryInput struct { // The name of the Call Analytics category you want to delete. Category names are // case sensitive. // // This member is required. CategoryName *string // contains filtered or unexported fields }
type DeleteCallAnalyticsCategoryOutput ¶
type DeleteCallAnalyticsCategoryOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteCallAnalyticsJobInput ¶
type DeleteCallAnalyticsJobInput struct { // The name of the Call Analytics job you want to delete. Job names are case // sensitive. // // This member is required. CallAnalyticsJobName *string // contains filtered or unexported fields }
type DeleteCallAnalyticsJobOutput ¶
type DeleteCallAnalyticsJobOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteLanguageModelInput ¶
type DeleteLanguageModelInput struct { // The name of the custom language model you want to delete. Model names are case // sensitive. // // This member is required. ModelName *string // contains filtered or unexported fields }
type DeleteLanguageModelOutput ¶
type DeleteLanguageModelOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteMedicalScribeJobInput ¶
type DeleteMedicalScribeJobInput struct { // The name of the Medical Scribe job you want to delete. Job names are case // sensitive. // // This member is required. MedicalScribeJobName *string // contains filtered or unexported fields }
type DeleteMedicalScribeJobOutput ¶
type DeleteMedicalScribeJobOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteMedicalTranscriptionJobInput ¶
type DeleteMedicalTranscriptionJobInput struct { // The name of the medical transcription job you want to delete. Job names are // case sensitive. // // This member is required. MedicalTranscriptionJobName *string // contains filtered or unexported fields }
type DeleteMedicalTranscriptionJobOutput ¶
type DeleteMedicalTranscriptionJobOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteMedicalVocabularyInput ¶
type DeleteMedicalVocabularyInput struct { // The name of the custom medical vocabulary you want to delete. Custom medical // vocabulary names are case sensitive. // // This member is required. VocabularyName *string // contains filtered or unexported fields }
type DeleteMedicalVocabularyOutput ¶
type DeleteMedicalVocabularyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteTranscriptionJobInput ¶
type DeleteTranscriptionJobInput struct { // The name of the transcription job you want to delete. Job names are case // sensitive. // // This member is required. TranscriptionJobName *string // contains filtered or unexported fields }
type DeleteTranscriptionJobOutput ¶
type DeleteTranscriptionJobOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteVocabularyFilterInput ¶
type DeleteVocabularyFilterInput struct { // The name of the custom vocabulary filter you want to delete. Custom vocabulary // filter names are case sensitive. // // This member is required. VocabularyFilterName *string // contains filtered or unexported fields }
type DeleteVocabularyFilterOutput ¶
type DeleteVocabularyFilterOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteVocabularyInput ¶
type DeleteVocabularyInput struct { // The name of the custom vocabulary you want to delete. Custom vocabulary names // are case sensitive. // // This member is required. VocabularyName *string // contains filtered or unexported fields }
type DeleteVocabularyOutput ¶
type DeleteVocabularyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeLanguageModelInput ¶
type DescribeLanguageModelInput struct { // The name of the custom language model you want information about. Model names // are case sensitive. // // This member is required. ModelName *string // contains filtered or unexported fields }
type DescribeLanguageModelOutput ¶
type DescribeLanguageModelOutput struct { // Provides information about the specified custom language model. // // This parameter also shows if the base language model you 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 you tried to create a new custom language model and the request wasn't // successful, you can use this DescribeLanguageModel to help identify the reason // for this failure. LanguageModel *types.LanguageModel // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶
func NewDefaultEndpointResolverV2() EndpointResolverV2
type GetCallAnalyticsCategoryInput ¶
type GetCallAnalyticsCategoryInput struct { // The name of the Call Analytics category you want information about. Category // names are case sensitive. // // This member is required. CategoryName *string // contains filtered or unexported fields }
type GetCallAnalyticsCategoryOutput ¶
type GetCallAnalyticsCategoryOutput struct { // Provides you with the properties of the Call Analytics category you specified // in your GetCallAnalyticsCategory request. CategoryProperties *types.CategoryProperties // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetCallAnalyticsJobInput ¶
type GetCallAnalyticsJobInput struct { // The name of the Call Analytics job you want information about. Job names are // case sensitive. // // This member is required. CallAnalyticsJobName *string // contains filtered or unexported fields }
type GetCallAnalyticsJobOutput ¶
type GetCallAnalyticsJobOutput struct { // Provides detailed information about the specified Call Analytics job, including // job status and, if applicable, failure reason. CallAnalyticsJob *types.CallAnalyticsJob // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetMedicalScribeJobInput ¶
type GetMedicalScribeJobInput struct { // The name of the Medical Scribe job you want information about. Job names are // case sensitive. // // This member is required. MedicalScribeJobName *string // contains filtered or unexported fields }
type GetMedicalScribeJobOutput ¶
type GetMedicalScribeJobOutput struct { // Provides detailed information about the specified Medical Scribe job, including // job status and, if applicable, failure reason MedicalScribeJob *types.MedicalScribeJob // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetMedicalTranscriptionJobInput ¶
type GetMedicalTranscriptionJobInput struct { // The name of the medical transcription job you want information about. Job names // are case sensitive. // // This member is required. MedicalTranscriptionJobName *string // contains filtered or unexported fields }
type GetMedicalTranscriptionJobOutput ¶
type GetMedicalTranscriptionJobOutput struct { // Provides detailed information about the specified medical transcription job, // including job status and, if applicable, failure reason. MedicalTranscriptionJob *types.MedicalTranscriptionJob // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetMedicalVocabularyInput ¶
type GetMedicalVocabularyInput struct { // The name of the custom medical vocabulary you want information about. Custom // medical vocabulary names are case sensitive. // // This member is required. VocabularyName *string // contains filtered or unexported fields }
type GetMedicalVocabularyOutput ¶
type GetMedicalVocabularyOutput struct { // The Amazon S3 location where the specified custom medical vocabulary is stored; // use this URI to view or download the custom vocabulary. DownloadUri *string // If VocabularyState is FAILED , FailureReason contains information about why the // custom medical vocabulary request failed. See also: [Common Errors]. // // [Common Errors]: https://docs.aws.amazon.com/transcribe/latest/APIReference/CommonErrors.html FailureReason *string // The language code you selected for your custom medical vocabulary. US English ( // en-US ) is the only language supported with Amazon Transcribe Medical. LanguageCode types.LanguageCode // The date and time the specified custom medical vocabulary was last modified. // // Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC . For example, // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. LastModifiedTime *time.Time // The name of the custom medical vocabulary you requested information about. VocabularyName *string // The processing state of your custom medical vocabulary. If the state is READY , // you can use the custom vocabulary in a StartMedicalTranscriptionJob request. VocabularyState types.VocabularyState // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetTranscriptionJobInput ¶
type GetTranscriptionJobInput struct { // The name of the transcription job you want information about. Job names are // case sensitive. // // This member is required. TranscriptionJobName *string // contains filtered or unexported fields }
type GetTranscriptionJobOutput ¶
type GetTranscriptionJobOutput struct { // Provides detailed information about the specified transcription job, including // job status and, if applicable, failure reason. TranscriptionJob *types.TranscriptionJob // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetVocabularyFilterInput ¶
type GetVocabularyFilterInput struct { // The name of the custom vocabulary filter you want information about. Custom // vocabulary filter names are case sensitive. // // This member is required. VocabularyFilterName *string // contains filtered or unexported fields }
type GetVocabularyFilterOutput ¶
type GetVocabularyFilterOutput struct { // The Amazon S3 location where the custom vocabulary filter is stored; use this // URI to view or download the custom vocabulary filter. DownloadUri *string // The language code you selected for your custom vocabulary filter. LanguageCode types.LanguageCode // The date and time the specified custom vocabulary filter was last modified. // // Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC . For example, // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. LastModifiedTime *time.Time // The name of the custom vocabulary filter you requested information about. VocabularyFilterName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetVocabularyInput ¶
type GetVocabularyInput struct { // The name of the custom vocabulary you want information about. Custom vocabulary // names are case sensitive. // // This member is required. VocabularyName *string // contains filtered or unexported fields }
type GetVocabularyOutput ¶
type GetVocabularyOutput struct { // The Amazon S3 location where the custom vocabulary is stored; use this URI to // view or download the custom vocabulary. DownloadUri *string // If VocabularyState is FAILED , FailureReason contains information about why the // custom vocabulary request failed. See also: [Common Errors]. // // [Common Errors]: https://docs.aws.amazon.com/transcribe/latest/APIReference/CommonErrors.html FailureReason *string // The language code you selected for your custom vocabulary. LanguageCode types.LanguageCode // The date and time the specified custom vocabulary was last modified. // // Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC . For example, // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. LastModifiedTime *time.Time // The name of the custom vocabulary you requested information about. VocabularyName *string // The processing state of your custom vocabulary. If the state is READY , you can // use the custom vocabulary in a StartTranscriptionJob request. VocabularyState types.VocabularyState // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type ListCallAnalyticsCategoriesAPIClient ¶
type ListCallAnalyticsCategoriesAPIClient interface {
ListCallAnalyticsCategories(context.Context, *ListCallAnalyticsCategoriesInput, ...func(*Options)) (*ListCallAnalyticsCategoriesOutput, error)
}
ListCallAnalyticsCategoriesAPIClient is a client that implements the ListCallAnalyticsCategories operation.
type ListCallAnalyticsCategoriesInput ¶
type ListCallAnalyticsCategoriesInput struct { // The maximum number of Call Analytics categories to return in each page of // results. If there are fewer results than the value that you specify, only the // actual results are returned. If you do not specify a value, a default of 5 is // used. MaxResults *int32 // If your ListCallAnalyticsCategories request returns more results than can be // displayed, NextToken is displayed in the response with an associated string. To // get the next page of results, copy this string and repeat your request, // including NextToken with the value of the copied string. Repeat as needed to // view all your results. NextToken *string // contains filtered or unexported fields }
type ListCallAnalyticsCategoriesOutput ¶
type ListCallAnalyticsCategoriesOutput struct { // Provides detailed information about your Call Analytics categories, including // all the rules associated with each category. Categories []types.CategoryProperties // If NextToken is present in your response, it indicates that not all results are // displayed. To view the next set of results, copy the string associated with the // NextToken parameter in your results output, then run your request again // including NextToken with the value of the copied string. Repeat as needed to // view all your results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListCallAnalyticsCategoriesPaginator ¶
type ListCallAnalyticsCategoriesPaginator struct {
// contains filtered or unexported fields
}
ListCallAnalyticsCategoriesPaginator is a paginator for ListCallAnalyticsCategories
func NewListCallAnalyticsCategoriesPaginator ¶
func NewListCallAnalyticsCategoriesPaginator(client ListCallAnalyticsCategoriesAPIClient, params *ListCallAnalyticsCategoriesInput, optFns ...func(*ListCallAnalyticsCategoriesPaginatorOptions)) *ListCallAnalyticsCategoriesPaginator
NewListCallAnalyticsCategoriesPaginator returns a new ListCallAnalyticsCategoriesPaginator
func (*ListCallAnalyticsCategoriesPaginator) HasMorePages ¶
func (p *ListCallAnalyticsCategoriesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListCallAnalyticsCategoriesPaginator) NextPage ¶
func (p *ListCallAnalyticsCategoriesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListCallAnalyticsCategoriesOutput, error)
NextPage retrieves the next ListCallAnalyticsCategories page.
type ListCallAnalyticsCategoriesPaginatorOptions ¶
type ListCallAnalyticsCategoriesPaginatorOptions struct { // The maximum number of Call Analytics categories to return in each page of // results. If there are fewer results than the value that you specify, only the // actual results are returned. If you do not specify a value, a default of 5 is // used. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListCallAnalyticsCategoriesPaginatorOptions is the paginator options for ListCallAnalyticsCategories
type ListCallAnalyticsJobsAPIClient ¶
type ListCallAnalyticsJobsAPIClient interface {
ListCallAnalyticsJobs(context.Context, *ListCallAnalyticsJobsInput, ...func(*Options)) (*ListCallAnalyticsJobsOutput, error)
}
ListCallAnalyticsJobsAPIClient is a client that implements the ListCallAnalyticsJobs operation.
type ListCallAnalyticsJobsInput ¶
type ListCallAnalyticsJobsInput struct { // Returns only the Call Analytics jobs that contain the specified string. The // search is not case sensitive. JobNameContains *string // The maximum number of Call Analytics jobs to return in each page of results. If // there are fewer results than the value that you specify, only the actual results // are returned. If you do not specify a value, a default of 5 is used. MaxResults *int32 // If your ListCallAnalyticsJobs request returns more results than can be // displayed, NextToken is displayed in the response with an associated string. To // get the next page of results, copy this string and repeat your request, // including NextToken with the value of the copied string. Repeat as needed to // view all your results. NextToken *string // Returns only Call Analytics jobs with the specified status. Jobs are ordered by // creation date, with the newest job first. If you do not include Status , all // Call Analytics jobs are returned. Status types.CallAnalyticsJobStatus // contains filtered or unexported fields }
type ListCallAnalyticsJobsOutput ¶
type ListCallAnalyticsJobsOutput struct { // Provides a summary of information about each result. CallAnalyticsJobSummaries []types.CallAnalyticsJobSummary // If NextToken is present in your response, it indicates that not all results are // displayed. To view the next set of results, copy the string associated with the // NextToken parameter in your results output, then run your request again // including NextToken with the value of the copied string. Repeat as needed to // view all your results. NextToken *string // Lists all Call Analytics jobs that have the status specified in your request. // Jobs are ordered by creation date, with the newest job first. Status types.CallAnalyticsJobStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListCallAnalyticsJobsPaginator ¶
type ListCallAnalyticsJobsPaginator struct {
// contains filtered or unexported fields
}
ListCallAnalyticsJobsPaginator is a paginator for ListCallAnalyticsJobs
func NewListCallAnalyticsJobsPaginator ¶
func NewListCallAnalyticsJobsPaginator(client ListCallAnalyticsJobsAPIClient, params *ListCallAnalyticsJobsInput, optFns ...func(*ListCallAnalyticsJobsPaginatorOptions)) *ListCallAnalyticsJobsPaginator
NewListCallAnalyticsJobsPaginator returns a new ListCallAnalyticsJobsPaginator
func (*ListCallAnalyticsJobsPaginator) HasMorePages ¶
func (p *ListCallAnalyticsJobsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListCallAnalyticsJobsPaginator) NextPage ¶
func (p *ListCallAnalyticsJobsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListCallAnalyticsJobsOutput, error)
NextPage retrieves the next ListCallAnalyticsJobs page.
type ListCallAnalyticsJobsPaginatorOptions ¶
type ListCallAnalyticsJobsPaginatorOptions struct { // The maximum number of Call Analytics jobs to return in each page of results. If // there are fewer results than the value that you specify, only the actual results // are returned. If you do not specify a value, a default of 5 is used. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListCallAnalyticsJobsPaginatorOptions is the paginator options for ListCallAnalyticsJobs
type ListLanguageModelsAPIClient ¶
type ListLanguageModelsAPIClient interface {
ListLanguageModels(context.Context, *ListLanguageModelsInput, ...func(*Options)) (*ListLanguageModelsOutput, error)
}
ListLanguageModelsAPIClient is a client that implements the ListLanguageModels operation.
type ListLanguageModelsInput ¶
type ListLanguageModelsInput struct { // The maximum number of custom language models to return in each page of results. // If there are fewer results than the value that you specify, only the actual // results are returned. If you do not specify a value, a default of 5 is used. MaxResults *int32 // Returns only the custom language models that contain the specified string. The // search is not case sensitive. NameContains *string // If your ListLanguageModels request returns more results than can be displayed, // NextToken is displayed in the response with an associated string. To get the // next page of results, copy this string and repeat your request, including // NextToken with the value of the copied string. Repeat as needed to view all your // results. NextToken *string // Returns only custom language models with the specified status. Language models // are ordered by creation date, with the newest model first. If you do not include // StatusEquals , all custom language models are returned. StatusEquals types.ModelStatus // contains filtered or unexported fields }
type ListLanguageModelsOutput ¶
type ListLanguageModelsOutput struct { // Provides information about the custom language models that match the criteria // specified in your request. Models []types.LanguageModel // If NextToken is present in your response, it indicates that not all results are // displayed. To view the next set of results, copy the string associated with the // NextToken parameter in your results output, then run your request again // including NextToken with the value of the copied string. Repeat as needed to // view all your results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListLanguageModelsPaginator ¶
type ListLanguageModelsPaginator struct {
// contains filtered or unexported fields
}
ListLanguageModelsPaginator is a paginator for ListLanguageModels
func NewListLanguageModelsPaginator ¶
func NewListLanguageModelsPaginator(client ListLanguageModelsAPIClient, params *ListLanguageModelsInput, optFns ...func(*ListLanguageModelsPaginatorOptions)) *ListLanguageModelsPaginator
NewListLanguageModelsPaginator returns a new ListLanguageModelsPaginator
func (*ListLanguageModelsPaginator) HasMorePages ¶
func (p *ListLanguageModelsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListLanguageModelsPaginator) NextPage ¶
func (p *ListLanguageModelsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListLanguageModelsOutput, error)
NextPage retrieves the next ListLanguageModels page.
type ListLanguageModelsPaginatorOptions ¶
type ListLanguageModelsPaginatorOptions struct { // The maximum number of custom language models to return in each page of results. // If there are fewer results than the value that you specify, only the actual // results are returned. If you do not specify a value, a default of 5 is used. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListLanguageModelsPaginatorOptions is the paginator options for ListLanguageModels
type ListMedicalScribeJobsAPIClient ¶
type ListMedicalScribeJobsAPIClient interface {
ListMedicalScribeJobs(context.Context, *ListMedicalScribeJobsInput, ...func(*Options)) (*ListMedicalScribeJobsOutput, error)
}
ListMedicalScribeJobsAPIClient is a client that implements the ListMedicalScribeJobs operation.
type ListMedicalScribeJobsInput ¶
type ListMedicalScribeJobsInput struct { // Returns only the Medical Scribe jobs that contain the specified string. The // search is not case sensitive. JobNameContains *string // The maximum number of Medical Scribe jobs to return in each page of results. If // there are fewer results than the value that you specify, only the actual results // are returned. If you do not specify a value, a default of 5 is used. MaxResults *int32 // If your ListMedicalScribeJobs request returns more results than can be // displayed, NextToken is displayed in the response with an associated string. To // get the next page of results, copy this string and repeat your request, // including NextToken with the value of the copied string. Repeat as needed to // view all your results. NextToken *string // Returns only Medical Scribe jobs with the specified status. Jobs are ordered by // creation date, with the newest job first. If you do not include Status , all // Medical Scribe jobs are returned. Status types.MedicalScribeJobStatus // contains filtered or unexported fields }
type ListMedicalScribeJobsOutput ¶
type ListMedicalScribeJobsOutput struct { // Provides a summary of information about each result. MedicalScribeJobSummaries []types.MedicalScribeJobSummary // If NextToken is present in your response, it indicates that not all results are // displayed. To view the next set of results, copy the string associated with the // NextToken parameter in your results output, then run your request again // including NextToken with the value of the copied string. Repeat as needed to // view all your results. NextToken *string // Lists all Medical Scribe jobs that have the status specified in your request. // Jobs are ordered by creation date, with the newest job first. Status types.MedicalScribeJobStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListMedicalScribeJobsPaginator ¶
type ListMedicalScribeJobsPaginator struct {
// contains filtered or unexported fields
}
ListMedicalScribeJobsPaginator is a paginator for ListMedicalScribeJobs
func NewListMedicalScribeJobsPaginator ¶
func NewListMedicalScribeJobsPaginator(client ListMedicalScribeJobsAPIClient, params *ListMedicalScribeJobsInput, optFns ...func(*ListMedicalScribeJobsPaginatorOptions)) *ListMedicalScribeJobsPaginator
NewListMedicalScribeJobsPaginator returns a new ListMedicalScribeJobsPaginator
func (*ListMedicalScribeJobsPaginator) HasMorePages ¶
func (p *ListMedicalScribeJobsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListMedicalScribeJobsPaginator) NextPage ¶
func (p *ListMedicalScribeJobsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListMedicalScribeJobsOutput, error)
NextPage retrieves the next ListMedicalScribeJobs page.
type ListMedicalScribeJobsPaginatorOptions ¶
type ListMedicalScribeJobsPaginatorOptions struct { // The maximum number of Medical Scribe jobs to return in each page of results. If // there are fewer results than the value that you specify, only the actual results // are returned. If you do not specify a value, a default of 5 is used. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListMedicalScribeJobsPaginatorOptions is the paginator options for ListMedicalScribeJobs
type ListMedicalTranscriptionJobsAPIClient ¶
type ListMedicalTranscriptionJobsAPIClient interface {
ListMedicalTranscriptionJobs(context.Context, *ListMedicalTranscriptionJobsInput, ...func(*Options)) (*ListMedicalTranscriptionJobsOutput, error)
}
ListMedicalTranscriptionJobsAPIClient is a client that implements the ListMedicalTranscriptionJobs operation.
type ListMedicalTranscriptionJobsInput ¶
type ListMedicalTranscriptionJobsInput struct { // Returns only the medical transcription jobs that contain the specified string. // The search is not case sensitive. JobNameContains *string // The maximum number of medical transcription jobs to return in each page of // results. If there are fewer results than the value that you specify, only the // actual results are returned. If you do not specify a value, a default of 5 is // used. MaxResults *int32 // If your ListMedicalTranscriptionJobs request returns more results than can be // displayed, NextToken is displayed in the response with an associated string. To // get the next page of results, copy this string and repeat your request, // including NextToken with the value of the copied string. Repeat as needed to // view all your results. NextToken *string // Returns only medical transcription jobs with the specified status. Jobs are // ordered by creation date, with the newest job first. If you do not include // Status , all medical transcription jobs are returned. Status types.TranscriptionJobStatus // contains filtered or unexported fields }
type ListMedicalTranscriptionJobsOutput ¶
type ListMedicalTranscriptionJobsOutput struct { // Provides a summary of information about each result. MedicalTranscriptionJobSummaries []types.MedicalTranscriptionJobSummary // If NextToken is present in your response, it indicates that not all results are // displayed. To view the next set of results, copy the string associated with the // NextToken parameter in your results output, then run your request again // including NextToken with the value of the copied string. Repeat as needed to // view all your results. NextToken *string // Lists all medical transcription jobs that have the status specified in your // request. Jobs are ordered by creation date, with the newest job first. Status types.TranscriptionJobStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListMedicalTranscriptionJobsPaginator ¶
type ListMedicalTranscriptionJobsPaginator struct {
// contains filtered or unexported fields
}
ListMedicalTranscriptionJobsPaginator is a paginator for ListMedicalTranscriptionJobs
func NewListMedicalTranscriptionJobsPaginator ¶
func NewListMedicalTranscriptionJobsPaginator(client ListMedicalTranscriptionJobsAPIClient, params *ListMedicalTranscriptionJobsInput, optFns ...func(*ListMedicalTranscriptionJobsPaginatorOptions)) *ListMedicalTranscriptionJobsPaginator
NewListMedicalTranscriptionJobsPaginator returns a new ListMedicalTranscriptionJobsPaginator
func (*ListMedicalTranscriptionJobsPaginator) HasMorePages ¶
func (p *ListMedicalTranscriptionJobsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListMedicalTranscriptionJobsPaginator) NextPage ¶
func (p *ListMedicalTranscriptionJobsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListMedicalTranscriptionJobsOutput, error)
NextPage retrieves the next ListMedicalTranscriptionJobs page.
type ListMedicalTranscriptionJobsPaginatorOptions ¶
type ListMedicalTranscriptionJobsPaginatorOptions struct { // The maximum number of medical transcription jobs to return in each page of // results. If there are fewer results than the value that you specify, only the // actual results are returned. If you do not specify a value, a default of 5 is // used. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListMedicalTranscriptionJobsPaginatorOptions is the paginator options for ListMedicalTranscriptionJobs
type ListMedicalVocabulariesAPIClient ¶
type ListMedicalVocabulariesAPIClient interface {
ListMedicalVocabularies(context.Context, *ListMedicalVocabulariesInput, ...func(*Options)) (*ListMedicalVocabulariesOutput, error)
}
ListMedicalVocabulariesAPIClient is a client that implements the ListMedicalVocabularies operation.
type ListMedicalVocabulariesInput ¶
type ListMedicalVocabulariesInput struct { // The maximum number of custom medical vocabularies to return in each page of // results. If there are fewer results than the value that you specify, only the // actual results are returned. If you do not specify a value, a default of 5 is // used. MaxResults *int32 // Returns only the custom medical vocabularies that contain the specified string. // The search is not case sensitive. NameContains *string // If your ListMedicalVocabularies request returns more results than can be // displayed, NextToken is displayed in the response with an associated string. To // get the next page of results, copy this string and repeat your request, // including NextToken with the value of the copied string. Repeat as needed to // view all your results. NextToken *string // Returns only custom medical vocabularies with the specified state. Custom // vocabularies are ordered by creation date, with the newest vocabulary first. If // you do not include StateEquals , all custom medical vocabularies are returned. StateEquals types.VocabularyState // contains filtered or unexported fields }
type ListMedicalVocabulariesOutput ¶
type ListMedicalVocabulariesOutput struct { // If NextToken is present in your response, it indicates that not all results are // displayed. To view the next set of results, copy the string associated with the // NextToken parameter in your results output, then run your request again // including NextToken with the value of the copied string. Repeat as needed to // view all your results. NextToken *string // Lists all custom medical vocabularies that have the status specified in your // request. Custom vocabularies are ordered by creation date, with the newest // vocabulary first. Status types.VocabularyState // Provides information about the custom medical vocabularies that match the // criteria specified in your request. Vocabularies []types.VocabularyInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListMedicalVocabulariesPaginator ¶
type ListMedicalVocabulariesPaginator struct {
// contains filtered or unexported fields
}
ListMedicalVocabulariesPaginator is a paginator for ListMedicalVocabularies
func NewListMedicalVocabulariesPaginator ¶
func NewListMedicalVocabulariesPaginator(client ListMedicalVocabulariesAPIClient, params *ListMedicalVocabulariesInput, optFns ...func(*ListMedicalVocabulariesPaginatorOptions)) *ListMedicalVocabulariesPaginator
NewListMedicalVocabulariesPaginator returns a new ListMedicalVocabulariesPaginator
func (*ListMedicalVocabulariesPaginator) HasMorePages ¶
func (p *ListMedicalVocabulariesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListMedicalVocabulariesPaginator) NextPage ¶
func (p *ListMedicalVocabulariesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListMedicalVocabulariesOutput, error)
NextPage retrieves the next ListMedicalVocabularies page.
type ListMedicalVocabulariesPaginatorOptions ¶
type ListMedicalVocabulariesPaginatorOptions struct { // The maximum number of custom medical vocabularies to return in each page of // results. If there are fewer results than the value that you specify, only the // actual results are returned. If you do not specify a value, a default of 5 is // used. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListMedicalVocabulariesPaginatorOptions is the paginator options for ListMedicalVocabularies
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // Returns a list of all tags associated with the specified Amazon Resource Name // (ARN). ARNs have the format // arn:partition:service:region:account-id:resource-type/resource-id . // // For example, // arn:aws:transcribe:us-west-2:111122223333:transcription-job/transcription-job-name // . // // Valid values for resource-type are: transcription-job , // medical-transcription-job , vocabulary , medical-vocabulary , vocabulary-filter // , and language-model . // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // The Amazon Resource Name (ARN) specified in your request. ResourceArn *string // Lists all tags associated with the given transcription job, vocabulary, model, // or resource. Tags []types.Tag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListTranscriptionJobsAPIClient ¶
type ListTranscriptionJobsAPIClient interface {
ListTranscriptionJobs(context.Context, *ListTranscriptionJobsInput, ...func(*Options)) (*ListTranscriptionJobsOutput, error)
}
ListTranscriptionJobsAPIClient is a client that implements the ListTranscriptionJobs operation.
type ListTranscriptionJobsInput ¶
type ListTranscriptionJobsInput struct { // Returns only the transcription jobs that contain the specified string. The // search is not case sensitive. JobNameContains *string // The maximum number of transcription jobs to return in each page of results. If // there are fewer results than the value that you specify, only the actual results // are returned. If you do not specify a value, a default of 5 is used. MaxResults *int32 // If your ListTranscriptionJobs request returns more results than can be // displayed, NextToken is displayed in the response with an associated string. To // get the next page of results, copy this string and repeat your request, // including NextToken with the value of the copied string. Repeat as needed to // view all your results. NextToken *string // Returns only transcription jobs with the specified status. Jobs are ordered by // creation date, with the newest job first. If you do not include Status , all // transcription jobs are returned. Status types.TranscriptionJobStatus // contains filtered or unexported fields }
type ListTranscriptionJobsOutput ¶
type ListTranscriptionJobsOutput struct { // If NextToken is present in your response, it indicates that not all results are // displayed. To view the next set of results, copy the string associated with the // NextToken parameter in your results output, then run your request again // including NextToken with the value of the copied string. Repeat as needed to // view all your results. NextToken *string // Lists all transcription jobs that have the status specified in your request. // Jobs are ordered by creation date, with the newest job first. Status types.TranscriptionJobStatus // Provides a summary of information about each result. TranscriptionJobSummaries []types.TranscriptionJobSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListTranscriptionJobsPaginator ¶
type ListTranscriptionJobsPaginator struct {
// contains filtered or unexported fields
}
ListTranscriptionJobsPaginator is a paginator for ListTranscriptionJobs
func NewListTranscriptionJobsPaginator ¶
func NewListTranscriptionJobsPaginator(client ListTranscriptionJobsAPIClient, params *ListTranscriptionJobsInput, optFns ...func(*ListTranscriptionJobsPaginatorOptions)) *ListTranscriptionJobsPaginator
NewListTranscriptionJobsPaginator returns a new ListTranscriptionJobsPaginator
func (*ListTranscriptionJobsPaginator) HasMorePages ¶
func (p *ListTranscriptionJobsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListTranscriptionJobsPaginator) NextPage ¶
func (p *ListTranscriptionJobsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListTranscriptionJobsOutput, error)
NextPage retrieves the next ListTranscriptionJobs page.
type ListTranscriptionJobsPaginatorOptions ¶
type ListTranscriptionJobsPaginatorOptions struct { // The maximum number of transcription jobs to return in each page of results. If // there are fewer results than the value that you specify, only the actual results // are returned. If you do not specify a value, a default of 5 is used. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListTranscriptionJobsPaginatorOptions is the paginator options for ListTranscriptionJobs
type ListVocabulariesAPIClient ¶
type ListVocabulariesAPIClient interface {
ListVocabularies(context.Context, *ListVocabulariesInput, ...func(*Options)) (*ListVocabulariesOutput, error)
}
ListVocabulariesAPIClient is a client that implements the ListVocabularies operation.
type ListVocabulariesInput ¶
type ListVocabulariesInput struct { // The maximum number of custom vocabularies to return in each page of results. If // there are fewer results than the value that you specify, only the actual results // are returned. If you do not specify a value, a default of 5 is used. MaxResults *int32 // Returns only the custom vocabularies that contain the specified string. The // search is not case sensitive. NameContains *string // If your ListVocabularies request returns more results than can be displayed, // NextToken is displayed in the response with an associated string. To get the // next page of results, copy this string and repeat your request, including // NextToken with the value of the copied string. Repeat as needed to view all your // results. NextToken *string // Returns only custom vocabularies with the specified state. Vocabularies are // ordered by creation date, with the newest vocabulary first. If you do not // include StateEquals , all custom medical vocabularies are returned. StateEquals types.VocabularyState // contains filtered or unexported fields }
type ListVocabulariesOutput ¶
type ListVocabulariesOutput struct { // If NextToken is present in your response, it indicates that not all results are // displayed. To view the next set of results, copy the string associated with the // NextToken parameter in your results output, then run your request again // including NextToken with the value of the copied string. Repeat as needed to // view all your results. NextToken *string // Lists all custom vocabularies that have the status specified in your request. // Vocabularies are ordered by creation date, with the newest vocabulary first. Status types.VocabularyState // Provides information about the custom vocabularies that match the criteria // specified in your request. Vocabularies []types.VocabularyInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListVocabulariesPaginator ¶
type ListVocabulariesPaginator struct {
// contains filtered or unexported fields
}
ListVocabulariesPaginator is a paginator for ListVocabularies
func NewListVocabulariesPaginator ¶
func NewListVocabulariesPaginator(client ListVocabulariesAPIClient, params *ListVocabulariesInput, optFns ...func(*ListVocabulariesPaginatorOptions)) *ListVocabulariesPaginator
NewListVocabulariesPaginator returns a new ListVocabulariesPaginator
func (*ListVocabulariesPaginator) HasMorePages ¶
func (p *ListVocabulariesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListVocabulariesPaginator) NextPage ¶
func (p *ListVocabulariesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListVocabulariesOutput, error)
NextPage retrieves the next ListVocabularies page.
type ListVocabulariesPaginatorOptions ¶
type ListVocabulariesPaginatorOptions struct { // The maximum number of custom vocabularies to return in each page of results. If // there are fewer results than the value that you specify, only the actual results // are returned. If you do not specify a value, a default of 5 is used. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListVocabulariesPaginatorOptions is the paginator options for ListVocabularies
type ListVocabularyFiltersAPIClient ¶
type ListVocabularyFiltersAPIClient interface {
ListVocabularyFilters(context.Context, *ListVocabularyFiltersInput, ...func(*Options)) (*ListVocabularyFiltersOutput, error)
}
ListVocabularyFiltersAPIClient is a client that implements the ListVocabularyFilters operation.
type ListVocabularyFiltersInput ¶
type ListVocabularyFiltersInput struct { // The maximum number of custom vocabulary filters to return in each page of // results. If there are fewer results than the value that you specify, only the // actual results are returned. If you do not specify a value, a default of 5 is // used. MaxResults *int32 // Returns only the custom vocabulary filters that contain the specified string. // The search is not case sensitive. NameContains *string // If your ListVocabularyFilters request returns more results than can be // displayed, NextToken is displayed in the response with an associated string. To // get the next page of results, copy this string and repeat your request, // including NextToken with the value of the copied string. Repeat as needed to // view all your results. NextToken *string // contains filtered or unexported fields }
type ListVocabularyFiltersOutput ¶
type ListVocabularyFiltersOutput struct { // If NextToken is present in your response, it indicates that not all results are // displayed. To view the next set of results, copy the string associated with the // NextToken parameter in your results output, then run your request again // including NextToken with the value of the copied string. Repeat as needed to // view all your results. NextToken *string // Provides information about the custom vocabulary filters that match the // criteria specified in your request. VocabularyFilters []types.VocabularyFilterInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListVocabularyFiltersPaginator ¶
type ListVocabularyFiltersPaginator struct {
// contains filtered or unexported fields
}
ListVocabularyFiltersPaginator is a paginator for ListVocabularyFilters
func NewListVocabularyFiltersPaginator ¶
func NewListVocabularyFiltersPaginator(client ListVocabularyFiltersAPIClient, params *ListVocabularyFiltersInput, optFns ...func(*ListVocabularyFiltersPaginatorOptions)) *ListVocabularyFiltersPaginator
NewListVocabularyFiltersPaginator returns a new ListVocabularyFiltersPaginator
func (*ListVocabularyFiltersPaginator) HasMorePages ¶
func (p *ListVocabularyFiltersPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListVocabularyFiltersPaginator) NextPage ¶
func (p *ListVocabularyFiltersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListVocabularyFiltersOutput, error)
NextPage retrieves the next ListVocabularyFilters page.
type ListVocabularyFiltersPaginatorOptions ¶
type ListVocabularyFiltersPaginatorOptions struct { // The maximum number of custom vocabulary filters to return in each page of // results. If there are fewer results than the value that you specify, only the // actual results are returned. If you do not specify a value, a default of 5 is // used. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListVocabularyFiltersPaginatorOptions is the paginator options for ListVocabularyFilters
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. // // To migrate an EndpointResolver implementation that uses a custom endpoint, set // the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. // // If specified in an operation call's functional options with a value that is // different than the constructed client's Options, the Client's Retryer will be // wrapped to use the operation's specific RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. // // When creating a new API Clients this member will only be used if the Retryer // Options member is nil. This value will be ignored if Retryer is not nil. // // Currently does not support per operation call overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
func (Options) GetIdentityResolver ¶
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type StartCallAnalyticsJobInput ¶
type StartCallAnalyticsJobInput struct { // A unique name, chosen by you, for your Call Analytics job. // // This name is case sensitive, cannot contain spaces, and must be unique within // an Amazon Web Services account. If you try to create a new job with the same // name as an existing job, you get a ConflictException error. // // This member is required. CallAnalyticsJobName *string // Describes the Amazon S3 location of the media file you want to use in your Call // Analytics request. // // This member is required. Media *types.Media // Makes it possible to specify which speaker is on which channel. For example, if // your agent is the first participant to speak, you would set ChannelId to 0 (to // indicate the first channel) and ParticipantRole to AGENT (to indicate that it's // the agent speaking). ChannelDefinitions []types.ChannelDefinition // The Amazon Resource Name (ARN) of an IAM role that has permissions to access // the Amazon S3 bucket that contains your input files. If the role that you // specify doesn’t have the appropriate permissions to access the specified Amazon // S3 location, your request fails. // // IAM role ARNs have the format // arn:partition:iam::account:role/role-name-with-path . For example: // arn:aws:iam::111122223333:role/Admin . // // For more information, see [IAM ARNs]. // // [IAM ARNs]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns DataAccessRoleArn *string // The KMS key you want to use to encrypt your Call Analytics output. // // If using a key located in the current Amazon Web Services account, you can // specify your KMS key in one of four ways: // // - Use the KMS key ID itself. For example, 1234abcd-12ab-34cd-56ef-1234567890ab // . // // - Use an alias for the KMS key ID. For example, alias/ExampleAlias . // // - Use the Amazon Resource Name (ARN) for the KMS key ID. For example, // arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab . // // - Use the ARN for the KMS key alias. For example, // arn:aws:kms:region:account-ID:alias/ExampleAlias . // // If using a key located in a different Amazon Web Services account than the // current Amazon Web Services account, you can specify your KMS key in one of two // ways: // // - Use the ARN for the KMS key ID. For example, // arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab . // // - Use the ARN for the KMS key alias. For example, // arn:aws:kms:region:account-ID:alias/ExampleAlias . // // If you do not specify an encryption key, your output is encrypted with the // default Amazon S3 key (SSE-S3). // // If you specify a KMS key to encrypt your output, you must also specify an // output location using the OutputLocation parameter. // // Note that the role making the request must have permission to use the specified // KMS key. OutputEncryptionKMSKeyId *string // The Amazon S3 location where you want your Call Analytics transcription output // stored. You can use any of the following formats to specify the output location: // // - s3://DOC-EXAMPLE-BUCKET // // - s3://DOC-EXAMPLE-BUCKET/my-output-folder/ // // - s3://DOC-EXAMPLE-BUCKET/my-output-folder/my-call-analytics-job.json // // Unless you specify a file name (option 3), the name of your output file has a // default value that matches the name you specified for your transcription job // using the CallAnalyticsJobName parameter. // // You can specify a KMS key to encrypt your output using the // OutputEncryptionKMSKeyId parameter. If you do not specify a KMS key, Amazon // Transcribe uses the default Amazon S3 key for server-side encryption. // // If you do not specify OutputLocation , your transcript is placed in a // service-managed Amazon S3 bucket and you are provided with a URI to access your // transcript. OutputLocation *string // Specify additional optional settings in your request, including content // redaction; allows you to apply custom language models, vocabulary filters, and // custom vocabularies to your Call Analytics job. Settings *types.CallAnalyticsJobSettings // contains filtered or unexported fields }
type StartCallAnalyticsJobOutput ¶
type StartCallAnalyticsJobOutput struct { // Provides detailed information about the current Call Analytics job, including // job status and, if applicable, failure reason. CallAnalyticsJob *types.CallAnalyticsJob // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StartMedicalScribeJobInput ¶
type StartMedicalScribeJobInput struct { // The Amazon Resource Name (ARN) of an IAM role that has permissions to access // the Amazon S3 bucket that contains your input files, write to the output bucket, // and use your KMS key if supplied. If the role that you specify doesn’t have the // appropriate permissions your request fails. // // IAM role ARNs have the format // arn:partition:iam::account:role/role-name-with-path . For example: // arn:aws:iam::111122223333:role/Admin . // // For more information, see [IAM ARNs]. // // [IAM ARNs]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns // // This member is required. DataAccessRoleArn *string // Describes the Amazon S3 location of the media file you want to use in your // request. // // For information on supported media formats, refer to the MediaFormat parameter // or the [Media formats]section in the Amazon S3 Developer Guide. // // [Media formats]: https://docs.aws.amazon.com/transcribe/latest/dg/how-input.html#how-input-audio // // This member is required. Media *types.Media // A unique name, chosen by you, for your Medical Scribe job. // // This name is case sensitive, cannot contain spaces, and must be unique within // an Amazon Web Services account. If you try to create a new job with the same // name as an existing job, you get a ConflictException error. // // This member is required. MedicalScribeJobName *string // The name of the Amazon S3 bucket where you want your Medical Scribe output // stored. Do not include the S3:// prefix of the specified bucket. // // Note that the role specified in the DataAccessRoleArn request parameter must // have permission to use the specified location. You can change Amazon S3 // permissions using the [Amazon Web Services Management Console]. See also [Permissions Required for IAM User Roles]. // // [Amazon Web Services Management Console]: https://console.aws.amazon.com/s3 // [Permissions Required for IAM User Roles]: https://docs.aws.amazon.com/transcribe/latest/dg/security_iam_id-based-policy-examples.html#auth-role-iam-user // // This member is required. OutputBucketName *string // Makes it possible to control how your Medical Scribe job is processed using a // MedicalScribeSettings object. Specify ChannelIdentification if // ChannelDefinitions are set. Enabled ShowSpeakerLabels if ChannelIdentification // and ChannelDefinitions are not set. One and only one of ChannelIdentification // and ShowSpeakerLabels must be set. If ShowSpeakerLabels is set, MaxSpeakerLabels // must also be set. Use Settings to specify a vocabulary or vocabulary filter or // both using VocabularyName , VocabularyFilterName . VocabularyFilterMethod must // be specified if VocabularyFilterName is set. // // This member is required. Settings *types.MedicalScribeSettings // Makes it possible to specify which speaker is on which channel. For example, if // the clinician is the first participant to speak, you would set ChannelId of the // first ChannelDefinition in the list to 0 (to indicate the first channel) and // ParticipantRole to CLINICIAN (to indicate that it's the clinician speaking). // Then you would set the ChannelId of the second ChannelDefinition in the list to // 1 (to indicate the second channel) and ParticipantRole to PATIENT (to indicate // that it's the patient speaking). ChannelDefinitions []types.MedicalScribeChannelDefinition // A map of plain text, non-secret key:value pairs, known as encryption context // pairs, that provide an added layer of security for your data. For more // information, see [KMS encryption context]and [Asymmetric keys in KMS]. // // [Asymmetric keys in KMS]: https://docs.aws.amazon.com/transcribe/latest/dg/symmetric-asymmetric.html // [KMS encryption context]: https://docs.aws.amazon.com/transcribe/latest/dg/key-management.html#kms-context KMSEncryptionContext map[string]string // The KMS key you want to use to encrypt your Medical Scribe output. // // If using a key located in the current Amazon Web Services account, you can // specify your KMS key in one of four ways: // // - Use the KMS key ID itself. For example, 1234abcd-12ab-34cd-56ef-1234567890ab // . // // - Use an alias for the KMS key ID. For example, alias/ExampleAlias . // // - Use the Amazon Resource Name (ARN) for the KMS key ID. For example, // arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab . // // - Use the ARN for the KMS key alias. For example, // arn:aws:kms:region:account-ID:alias/ExampleAlias . // // If using a key located in a different Amazon Web Services account than the // current Amazon Web Services account, you can specify your KMS key in one of two // ways: // // - Use the ARN for the KMS key ID. For example, // arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab . // // - Use the ARN for the KMS key alias. For example, // arn:aws:kms:region:account-ID:alias/ExampleAlias . // // If you do not specify an encryption key, your output is encrypted with the // default Amazon S3 key (SSE-S3). // // Note that the role specified in the DataAccessRoleArn request parameter must // have permission to use the specified KMS key. OutputEncryptionKMSKeyId *string // Adds one or more custom tags, each in the form of a key:value pair, to the // Medica Scribe job. // // To learn more about using tags with Amazon Transcribe, refer to [Tagging resources]. // // [Tagging resources]: https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html Tags []types.Tag // contains filtered or unexported fields }
type StartMedicalScribeJobOutput ¶
type StartMedicalScribeJobOutput struct { // Provides detailed information about the current Medical Scribe job, including // job status and, if applicable, failure reason. MedicalScribeJob *types.MedicalScribeJob // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StartMedicalTranscriptionJobInput ¶
type StartMedicalTranscriptionJobInput struct { // The language code that represents the language spoken in the input media file. // US English ( en-US ) is the only valid value for medical transcription jobs. Any // other value you enter for language code results in a BadRequestException error. // // This member is required. LanguageCode types.LanguageCode // Describes the Amazon S3 location of the media file you want to use in your // request. // // For information on supported media formats, refer to the MediaFormat parameter // or the [Media formats]section in the Amazon S3 Developer Guide. // // [Media formats]: https://docs.aws.amazon.com/transcribe/latest/dg/how-input.html#how-input-audio // // This member is required. Media *types.Media // A unique name, chosen by you, for your medical transcription job. The name that // you specify is also used as the default name of your transcription output file. // If you want to specify a different name for your transcription output, use the // OutputKey parameter. // // This name is case sensitive, cannot contain spaces, and must be unique within // an Amazon Web Services account. If you try to create a new job with the same // name as an existing job, you get a ConflictException error. // // This member is required. MedicalTranscriptionJobName *string // The name of the Amazon S3 bucket where you want your medical transcription // output stored. Do not include the S3:// prefix of the specified bucket. // // If you want your output to go to a sub-folder of this bucket, specify it using // the OutputKey parameter; OutputBucketName only accepts the name of a bucket. // // For example, if you want your output stored in S3://DOC-EXAMPLE-BUCKET , set // OutputBucketName to DOC-EXAMPLE-BUCKET . However, if you want your output stored // in S3://DOC-EXAMPLE-BUCKET/test-files/ , set OutputBucketName to // DOC-EXAMPLE-BUCKET and OutputKey to test-files/ . // // Note that Amazon Transcribe must have permission to use the specified location. // You can change Amazon S3 permissions using the [Amazon Web Services Management Console]. See also [Permissions Required for IAM User Roles]. // // [Amazon Web Services Management Console]: https://console.aws.amazon.com/s3 // [Permissions Required for IAM User Roles]: https://docs.aws.amazon.com/transcribe/latest/dg/security_iam_id-based-policy-examples.html#auth-role-iam-user // // This member is required. OutputBucketName *string // Specify the predominant medical specialty represented in your media. For batch // transcriptions, PRIMARYCARE is the only valid value. If you require additional // specialties, refer to . // // This member is required. Specialty types.Specialty // Specify whether your input media contains only one person ( DICTATION ) or // contains a conversation between two people ( CONVERSATION ). // // For example, DICTATION could be used for a medical professional wanting to // transcribe voice memos; CONVERSATION could be used for transcribing the // doctor-patient dialogue during the patient's office visit. // // This member is required. Type types.Type // Labels all personal health information (PHI) identified in your transcript. For // more information, see [Identifying personal health information (PHI) in a transcription]. // // [Identifying personal health information (PHI) in a transcription]: https://docs.aws.amazon.com/transcribe/latest/dg/phi-id.html ContentIdentificationType types.MedicalContentIdentificationType // A map of plain text, non-secret key:value pairs, known as encryption context // pairs, that provide an added layer of security for your data. For more // information, see [KMS encryption context]and [Asymmetric keys in KMS]. // // [Asymmetric keys in KMS]: https://docs.aws.amazon.com/transcribe/latest/dg/symmetric-asymmetric.html // [KMS encryption context]: https://docs.aws.amazon.com/transcribe/latest/dg/key-management.html#kms-context KMSEncryptionContext map[string]string // Specify the format of your input media file. MediaFormat types.MediaFormat // The sample rate, in hertz, of the audio track in your input media file. // // If you do not specify the media sample rate, Amazon Transcribe Medical // determines it for you. If you specify the sample rate, it must match the rate // detected by Amazon Transcribe Medical; if there's a mismatch between the value // that you specify and the value detected, your job fails. Therefore, in most // cases, it's advised to omit MediaSampleRateHertz and let Amazon Transcribe // Medical determine the sample rate. MediaSampleRateHertz *int32 // The KMS key you want to use to encrypt your medical transcription output. // // If using a key located in the current Amazon Web Services account, you can // specify your KMS key in one of four ways: // // - Use the KMS key ID itself. For example, 1234abcd-12ab-34cd-56ef-1234567890ab // . // // - Use an alias for the KMS key ID. For example, alias/ExampleAlias . // // - Use the Amazon Resource Name (ARN) for the KMS key ID. For example, // arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab . // // - Use the ARN for the KMS key alias. For example, // arn:aws:kms:region:account-ID:alias/ExampleAlias . // // If using a key located in a different Amazon Web Services account than the // current Amazon Web Services account, you can specify your KMS key in one of two // ways: // // - Use the ARN for the KMS key ID. For example, // arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab . // // - Use the ARN for the KMS key alias. For example, // arn:aws:kms:region:account-ID:alias/ExampleAlias . // // If you do not specify an encryption key, your output is encrypted with the // default Amazon S3 key (SSE-S3). // // If you specify a KMS key to encrypt your output, you must also specify an // output location using the OutputLocation parameter. // // Note that the role making the request must have permission to use the specified // KMS key. OutputEncryptionKMSKeyId *string // Use in combination with OutputBucketName to specify the output location of your // transcript and, optionally, a unique name for your output file. The default name // for your transcription output is the same as the name you specified for your // medical transcription job ( MedicalTranscriptionJobName ). // // Here are some examples of how you can use OutputKey : // // - If you specify 'DOC-EXAMPLE-BUCKET' as the OutputBucketName and // 'my-transcript.json' as the OutputKey , your transcription output path is // s3://DOC-EXAMPLE-BUCKET/my-transcript.json . // // - If you specify 'my-first-transcription' as the MedicalTranscriptionJobName , // 'DOC-EXAMPLE-BUCKET' as the OutputBucketName , and 'my-transcript' as the // OutputKey , your transcription output path is // s3://DOC-EXAMPLE-BUCKET/my-transcript/my-first-transcription.json . // // - If you specify 'DOC-EXAMPLE-BUCKET' as the OutputBucketName and // 'test-files/my-transcript.json' as the OutputKey , your transcription output // path is s3://DOC-EXAMPLE-BUCKET/test-files/my-transcript.json . // // - If you specify 'my-first-transcription' as the MedicalTranscriptionJobName , // 'DOC-EXAMPLE-BUCKET' as the OutputBucketName , and 'test-files/my-transcript' // as the OutputKey , your transcription output path is // s3://DOC-EXAMPLE-BUCKET/test-files/my-transcript/my-first-transcription.json . // // If you specify the name of an Amazon S3 bucket sub-folder that doesn't exist, // one is created for you. OutputKey *string // Specify additional optional settings in your request, including channel // identification, alternative transcriptions, and speaker partitioning. You can // use that to apply custom vocabularies to your transcription job. Settings *types.MedicalTranscriptionSetting // Adds one or more custom tags, each in the form of a key:value pair, to a new // medical transcription job at the time you start this new job. // // To learn more about using tags with Amazon Transcribe, refer to [Tagging resources]. // // [Tagging resources]: https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html Tags []types.Tag // contains filtered or unexported fields }
type StartMedicalTranscriptionJobOutput ¶
type StartMedicalTranscriptionJobOutput struct { // Provides detailed information about the current medical transcription job, // including job status and, if applicable, failure reason. MedicalTranscriptionJob *types.MedicalTranscriptionJob // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StartTranscriptionJobInput ¶
type StartTranscriptionJobInput struct { // Describes the Amazon S3 location of the media file you want to use in your // request. // // This member is required. Media *types.Media // A unique name, chosen by you, for your transcription job. The name that you // specify is also used as the default name of your transcription output file. If // you want to specify a different name for your transcription output, use the // OutputKey parameter. // // This name is case sensitive, cannot contain spaces, and must be unique within // an Amazon Web Services account. If you try to create a new job with the same // name as an existing job, you get a ConflictException error. // // This member is required. TranscriptionJobName *string // Makes it possible to redact or flag specified personally identifiable // information (PII) in your transcript. If you use ContentRedaction , you must // also include the sub-parameters: RedactionOutput and RedactionType . You can // optionally include PiiEntityTypes to choose which types of PII you want to // redact. If you do not include PiiEntityTypes in your request, all PII is // redacted. ContentRedaction *types.ContentRedaction // Enables automatic language identification in your transcription job request. // Use this parameter if your media file contains only one language. If your media // contains multiple languages, use IdentifyMultipleLanguages instead. // // If you include IdentifyLanguage , you can optionally include a list of language // codes, using LanguageOptions , that you think may be present in your media file. // Including LanguageOptions restricts IdentifyLanguage to only the language // options that you specify, which can improve transcription accuracy. // // If you want to apply a custom language model, a custom vocabulary, or a custom // vocabulary filter to your automatic language identification request, include // LanguageIdSettings with the relevant sub-parameters ( VocabularyName , // LanguageModelName , and VocabularyFilterName ). If you include // LanguageIdSettings , also include LanguageOptions . // // Note that you must include one of LanguageCode , IdentifyLanguage , or // IdentifyMultipleLanguages in your request. If you include more than one of these // parameters, your transcription job fails. IdentifyLanguage *bool // Enables automatic multi-language identification in your transcription job // request. Use this parameter if your media file contains more than one language. // If your media contains only one language, use IdentifyLanguage instead. // // If you include IdentifyMultipleLanguages , you can optionally include a list of // language codes, using LanguageOptions , that you think may be present in your // media file. Including LanguageOptions restricts IdentifyLanguage to only the // language options that you specify, which can improve transcription accuracy. // // If you want to apply a custom vocabulary or a custom vocabulary filter to your // automatic language identification request, include LanguageIdSettings with the // relevant sub-parameters ( VocabularyName and VocabularyFilterName ). If you // include LanguageIdSettings , also include LanguageOptions . // // Note that you must include one of LanguageCode , IdentifyLanguage , or // IdentifyMultipleLanguages in your request. If you include more than one of these // parameters, your transcription job fails. IdentifyMultipleLanguages *bool // Makes it possible to control how your transcription job is processed. // Currently, the only JobExecutionSettings modification you can choose is // enabling job queueing using the AllowDeferredExecution sub-parameter. // // If you include JobExecutionSettings in your request, you must also include the // sub-parameters: AllowDeferredExecution and DataAccessRoleArn . JobExecutionSettings *types.JobExecutionSettings // A map of plain text, non-secret key:value pairs, known as encryption context // pairs, that provide an added layer of security for your data. For more // information, see [KMS encryption context]and [Asymmetric keys in KMS]. // // [Asymmetric keys in KMS]: https://docs.aws.amazon.com/transcribe/latest/dg/symmetric-asymmetric.html // [KMS encryption context]: https://docs.aws.amazon.com/transcribe/latest/dg/key-management.html#kms-context KMSEncryptionContext map[string]string // The language code that represents the language spoken in the input media file. // // If you're unsure of the language spoken in your media file, consider using // IdentifyLanguage or IdentifyMultipleLanguages to enable automatic language // identification. // // Note that you must include one of LanguageCode , IdentifyLanguage , or // IdentifyMultipleLanguages in your request. If you include more than one of these // parameters, your transcription job fails. // // For a list of supported languages and their associated language codes, refer to // the [Supported languages]table. // // To transcribe speech in Modern Standard Arabic ( ar-SA ), your media file must // be encoded at a sample rate of 16,000 Hz or higher. // // [Supported languages]: https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html LanguageCode types.LanguageCode // If using automatic language identification in your request and you want to // apply a custom language model, a custom vocabulary, or a custom vocabulary // filter, include LanguageIdSettings with the relevant sub-parameters ( // VocabularyName , LanguageModelName , and VocabularyFilterName ). Note that // multi-language identification ( IdentifyMultipleLanguages ) doesn't support // custom language models. // // LanguageIdSettings supports two to five language codes. Each language code you // include can have an associated custom language model, custom vocabulary, and // custom vocabulary filter. The language codes that you specify must match the // languages of the associated custom language models, custom vocabularies, and // custom vocabulary filters. // // It's recommended that you include LanguageOptions when using LanguageIdSettings // to ensure that the correct language dialect is identified. For example, if you // specify a custom vocabulary that is in en-US but Amazon Transcribe determines // that the language spoken in your media is en-AU , your custom vocabulary is not // applied to your transcription. If you include LanguageOptions and include en-US // as the only English language dialect, your custom vocabulary is applied to your // transcription. // // If you want to include a custom language model with your request but do not // want to use automatic language identification, use instead the parameter with // the LanguageModelName sub-parameter. If you want to include a custom vocabulary // or a custom vocabulary filter (or both) with your request but do not want to use // automatic language identification, use instead the parameter with the // VocabularyName or VocabularyFilterName (or both) sub-parameter. LanguageIdSettings map[string]types.LanguageIdSettings // You can specify two or more language codes that represent the languages you // think may be present in your media. Including more than five is not recommended. // If you're unsure what languages are present, do not include this parameter. // // If you include LanguageOptions in your request, you must also include // IdentifyLanguage . // // For more information, refer to [Supported languages]. // // To transcribe speech in Modern Standard Arabic ( ar-SA ), your media file must // be encoded at a sample rate of 16,000 Hz or higher. // // [Supported languages]: https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html LanguageOptions []types.LanguageCode // Specify the format of your input media file. MediaFormat types.MediaFormat // The sample rate, in hertz, of the audio track in your input media file. // // If you do not specify the media sample rate, Amazon Transcribe determines it // for you. If you specify the sample rate, it must match the rate detected by // Amazon Transcribe. If there's a mismatch between the value that you specify and // the value detected, your job fails. In most cases, you can omit // MediaSampleRateHertz and let Amazon Transcribe determine the sample rate. MediaSampleRateHertz *int32 // Specify the custom language model you want to include with your transcription // job. If you include ModelSettings in your request, you must include the // LanguageModelName sub-parameter. // // For more information, see [Custom language models]. // // [Custom language models]: https://docs.aws.amazon.com/transcribe/latest/dg/custom-language-models.html ModelSettings *types.ModelSettings // The name of the Amazon S3 bucket where you want your transcription output // stored. Do not include the S3:// prefix of the specified bucket. // // If you want your output to go to a sub-folder of this bucket, specify it using // the OutputKey parameter; OutputBucketName only accepts the name of a bucket. // // For example, if you want your output stored in S3://DOC-EXAMPLE-BUCKET , set // OutputBucketName to DOC-EXAMPLE-BUCKET . However, if you want your output stored // in S3://DOC-EXAMPLE-BUCKET/test-files/ , set OutputBucketName to // DOC-EXAMPLE-BUCKET and OutputKey to test-files/ . // // Note that Amazon Transcribe must have permission to use the specified location. // You can change Amazon S3 permissions using the [Amazon Web Services Management Console]. See also [Permissions Required for IAM User Roles]. // // If you do not specify OutputBucketName , your transcript is placed in a // service-managed Amazon S3 bucket and you are provided with a URI to access your // transcript. // // [Amazon Web Services Management Console]: https://console.aws.amazon.com/s3 // [Permissions Required for IAM User Roles]: https://docs.aws.amazon.com/transcribe/latest/dg/security_iam_id-based-policy-examples.html#auth-role-iam-user OutputBucketName *string // The KMS key you want to use to encrypt your transcription output. // // If using a key located in the current Amazon Web Services account, you can // specify your KMS key in one of four ways: // // - Use the KMS key ID itself. For example, 1234abcd-12ab-34cd-56ef-1234567890ab // . // // - Use an alias for the KMS key ID. For example, alias/ExampleAlias . // // - Use the Amazon Resource Name (ARN) for the KMS key ID. For example, // arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab . // // - Use the ARN for the KMS key alias. For example, // arn:aws:kms:region:account-ID:alias/ExampleAlias . // // If using a key located in a different Amazon Web Services account than the // current Amazon Web Services account, you can specify your KMS key in one of two // ways: // // - Use the ARN for the KMS key ID. For example, // arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab . // // - Use the ARN for the KMS key alias. For example, // arn:aws:kms:region:account-ID:alias/ExampleAlias . // // If you do not specify an encryption key, your output is encrypted with the // default Amazon S3 key (SSE-S3). // // If you specify a KMS key to encrypt your output, you must also specify an // output location using the OutputLocation parameter. // // Note that the role making the request must have permission to use the specified // KMS key. OutputEncryptionKMSKeyId *string // Use in combination with OutputBucketName to specify the output location of your // transcript and, optionally, a unique name for your output file. The default name // for your transcription output is the same as the name you specified for your // transcription job ( TranscriptionJobName ). // // Here are some examples of how you can use OutputKey : // // - If you specify 'DOC-EXAMPLE-BUCKET' as the OutputBucketName and // 'my-transcript.json' as the OutputKey , your transcription output path is // s3://DOC-EXAMPLE-BUCKET/my-transcript.json . // // - If you specify 'my-first-transcription' as the TranscriptionJobName , // 'DOC-EXAMPLE-BUCKET' as the OutputBucketName , and 'my-transcript' as the // OutputKey , your transcription output path is // s3://DOC-EXAMPLE-BUCKET/my-transcript/my-first-transcription.json . // // - If you specify 'DOC-EXAMPLE-BUCKET' as the OutputBucketName and // 'test-files/my-transcript.json' as the OutputKey , your transcription output // path is s3://DOC-EXAMPLE-BUCKET/test-files/my-transcript.json . // // - If you specify 'my-first-transcription' as the TranscriptionJobName , // 'DOC-EXAMPLE-BUCKET' as the OutputBucketName , and 'test-files/my-transcript' // as the OutputKey , your transcription output path is // s3://DOC-EXAMPLE-BUCKET/test-files/my-transcript/my-first-transcription.json . // // If you specify the name of an Amazon S3 bucket sub-folder that doesn't exist, // one is created for you. OutputKey *string // Specify additional optional settings in your request, including channel // identification, alternative transcriptions, speaker partitioning. You can use // that to apply custom vocabularies and vocabulary filters. // // If you want to include a custom vocabulary or a custom vocabulary filter (or // both) with your request but do not want to use automatic language // identification, use Settings with the VocabularyName or VocabularyFilterName // (or both) sub-parameter. // // If you're using automatic language identification with your request and want to // include a custom language model, a custom vocabulary, or a custom vocabulary // filter, use instead the parameter with the LanguageModelName , VocabularyName // or VocabularyFilterName sub-parameters. Settings *types.Settings // Produces subtitle files for your input media. You can specify WebVTT (*.vtt) // and SubRip (*.srt) formats. Subtitles *types.Subtitles // Adds one or more custom tags, each in the form of a key:value pair, to a new // transcription job at the time you start this new job. // // To learn more about using tags with Amazon Transcribe, refer to [Tagging resources]. // // [Tagging resources]: https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html Tags []types.Tag // Enables toxic speech detection in your transcript. If you include // ToxicityDetection in your request, you must also include ToxicityCategories . // // For information on the types of toxic speech Amazon Transcribe can detect, see [Detecting toxic speech]. // // [Detecting toxic speech]: https://docs.aws.amazon.com/transcribe/latest/dg/toxic-language.html ToxicityDetection []types.ToxicityDetectionSettings // contains filtered or unexported fields }
type StartTranscriptionJobOutput ¶
type StartTranscriptionJobOutput struct { // Provides detailed information about the current transcription job, including // job status and, if applicable, failure reason. TranscriptionJob *types.TranscriptionJob // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the resource you want to tag. ARNs have the // format arn:partition:service:region:account-id:resource-type/resource-id . // // For example, // arn:aws:transcribe:us-west-2:111122223333:transcription-job/transcription-job-name // . // // Valid values for resource-type are: transcription-job , // medical-transcription-job , vocabulary , medical-vocabulary , vocabulary-filter // , and language-model . // // This member is required. ResourceArn *string // Adds one or more custom tags, each in the form of a key:value pair, to the // specified resource. // // To learn more about using tags with Amazon Transcribe, refer to [Tagging resources]. // // [Tagging resources]: https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html // // This member is required. Tags []types.Tag // contains filtered or unexported fields }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the Amazon Transcribe resource you want to // remove tags from. ARNs have the format // arn:partition:service:region:account-id:resource-type/resource-id . // // For example, // arn:aws:transcribe:us-west-2:111122223333:transcription-job/transcription-job-name // . // // Valid values for resource-type are: transcription-job , // medical-transcription-job , vocabulary , medical-vocabulary , vocabulary-filter // , and language-model . // // This member is required. ResourceArn *string // Removes the specified tag keys from the specified Amazon Transcribe resource. // // This member is required. TagKeys []string // contains filtered or unexported fields }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateCallAnalyticsCategoryInput ¶
type UpdateCallAnalyticsCategoryInput struct { // The name of the Call Analytics category you want to update. Category names are // case sensitive. // // This member is required. CategoryName *string // The rules used for the updated Call Analytics category. The rules you provide // in this field replace the ones that are currently being used in the specified // category. // // This member is required. Rules []types.Rule // Choose whether you want to update a real-time or a post-call category. The // input type you specify must match the input type specified when the category was // created. For example, if you created a category with the POST_CALL input type, // you must use POST_CALL as the input type when updating this category. InputType types.InputType // contains filtered or unexported fields }
type UpdateCallAnalyticsCategoryOutput ¶
type UpdateCallAnalyticsCategoryOutput struct { // Provides you with the properties of the Call Analytics category you specified // in your UpdateCallAnalyticsCategory request. CategoryProperties *types.CategoryProperties // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateMedicalVocabularyInput ¶
type UpdateMedicalVocabularyInput struct { // The language code that represents the language of the entries in the custom // vocabulary you want to update. US English ( en-US ) is the only language // supported with Amazon Transcribe Medical. // // This member is required. LanguageCode types.LanguageCode // The Amazon S3 location of the text file that contains your custom medical // vocabulary. The URI must be located in the same Amazon Web Services Region as // the resource you're calling. // // Here's an example URI path: s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt // // This member is required. VocabularyFileUri *string // The name of the custom medical vocabulary you want to update. Custom medical // vocabulary names are case sensitive. // // This member is required. VocabularyName *string // contains filtered or unexported fields }
type UpdateMedicalVocabularyOutput ¶
type UpdateMedicalVocabularyOutput struct { // The language code you selected for your custom medical vocabulary. US English ( // en-US ) is the only language supported with Amazon Transcribe Medical. LanguageCode types.LanguageCode // The date and time the specified custom medical vocabulary was last updated. // // Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC . For example, // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. LastModifiedTime *time.Time // The name of the updated custom medical vocabulary. VocabularyName *string // The processing state of your custom medical vocabulary. If the state is READY , // you can use the custom vocabulary in a StartMedicalTranscriptionJob request. VocabularyState types.VocabularyState // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateVocabularyFilterInput ¶
type UpdateVocabularyFilterInput struct { // The name of the custom vocabulary filter you want to update. Custom vocabulary // filter names are case sensitive. // // This member is required. VocabularyFilterName *string // The Amazon Resource Name (ARN) of an IAM role that has permissions to access // the Amazon S3 bucket that contains your input files (in this case, your custom // vocabulary filter). If the role that you specify doesn’t have the appropriate // permissions to access the specified Amazon S3 location, your request fails. // // IAM role ARNs have the format // arn:partition:iam::account:role/role-name-with-path . For example: // arn:aws:iam::111122223333:role/Admin . // // For more information, see [IAM ARNs]. // // [IAM ARNs]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns DataAccessRoleArn *string // The Amazon S3 location of the text file that contains your custom vocabulary // filter terms. The URI must be located in the same Amazon Web Services Region as // the resource you're calling. // // Here's an example URI path: s3://DOC-EXAMPLE-BUCKET/my-vocab-filter-file.txt // // Note that if you include VocabularyFilterFileUri in your request, you cannot // use Words ; you must choose one or the other. VocabularyFilterFileUri *string // Use this parameter if you want to update your custom vocabulary filter by // including all desired terms, as comma-separated values, within your request. The // other option for updating your vocabulary filter is to save your entries in a // text file and upload them to an Amazon S3 bucket, then specify the location of // your file using the VocabularyFilterFileUri parameter. // // Note that if you include Words in your request, you cannot use // VocabularyFilterFileUri ; you must choose one or the other. // // Each language has a character set that contains all allowed characters for that // specific language. If you use unsupported characters, your custom vocabulary // filter request fails. Refer to [Character Sets for Custom Vocabularies]to get the character set for your language. // // [Character Sets for Custom Vocabularies]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html Words []string // contains filtered or unexported fields }
type UpdateVocabularyFilterOutput ¶
type UpdateVocabularyFilterOutput struct { // The language code you selected for your custom vocabulary filter. LanguageCode types.LanguageCode // The date and time the specified custom vocabulary filter was last updated. // // Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC . For example, // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. LastModifiedTime *time.Time // The name of the updated custom vocabulary filter. VocabularyFilterName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateVocabularyInput ¶
type UpdateVocabularyInput struct { // The language code that represents the language of the entries in the custom // vocabulary you want to update. Each custom vocabulary must contain terms in only // one language. // // A custom vocabulary can only be used to transcribe files in the same language // as the custom vocabulary. For example, if you create a custom vocabulary using // US English ( en-US ), you can only apply this custom vocabulary to files that // contain English audio. // // For a list of supported languages and their associated language codes, refer to // the [Supported languages]table. // // [Supported languages]: https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html // // This member is required. LanguageCode types.LanguageCode // The name of the custom vocabulary you want to update. Custom vocabulary names // are case sensitive. // // This member is required. VocabularyName *string // The Amazon Resource Name (ARN) of an IAM role that has permissions to access // the Amazon S3 bucket that contains your input files (in this case, your custom // vocabulary). If the role that you specify doesn’t have the appropriate // permissions to access the specified Amazon S3 location, your request fails. // // IAM role ARNs have the format // arn:partition:iam::account:role/role-name-with-path . For example: // arn:aws:iam::111122223333:role/Admin . // // For more information, see [IAM ARNs]. // // [IAM ARNs]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns DataAccessRoleArn *string // Use this parameter if you want to update your custom vocabulary by including // all desired terms, as comma-separated values, within your request. The other // option for updating your custom vocabulary is to save your entries in a text // file and upload them to an Amazon S3 bucket, then specify the location of your // file using the VocabularyFileUri parameter. // // Note that if you include Phrases in your request, you cannot use // VocabularyFileUri ; you must choose one or the other. // // Each language has a character set that contains all allowed characters for that // specific language. If you use unsupported characters, your custom vocabulary // filter request fails. Refer to [Character Sets for Custom Vocabularies]to get the character set for your language. // // [Character Sets for Custom Vocabularies]: https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html Phrases []string // The Amazon S3 location of the text file that contains your custom vocabulary. // The URI must be located in the same Amazon Web Services Region as the resource // you're calling. // // Here's an example URI path: s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt // // Note that if you include VocabularyFileUri in your request, you cannot use the // Phrases flag; you must choose one or the other. VocabularyFileUri *string // contains filtered or unexported fields }
type UpdateVocabularyOutput ¶
type UpdateVocabularyOutput struct { // The language code you selected for your custom vocabulary. LanguageCode types.LanguageCode // The date and time the specified custom vocabulary was last updated. // // Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC . For example, // 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022. LastModifiedTime *time.Time // The name of the updated custom vocabulary. VocabularyName *string // The processing state of your custom vocabulary. If the state is READY , you can // use the custom vocabulary in a StartTranscriptionJob request. VocabularyState types.VocabularyState // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_CreateCallAnalyticsCategory.go
- api_op_CreateLanguageModel.go
- api_op_CreateMedicalVocabulary.go
- api_op_CreateVocabulary.go
- api_op_CreateVocabularyFilter.go
- api_op_DeleteCallAnalyticsCategory.go
- api_op_DeleteCallAnalyticsJob.go
- api_op_DeleteLanguageModel.go
- api_op_DeleteMedicalScribeJob.go
- api_op_DeleteMedicalTranscriptionJob.go
- api_op_DeleteMedicalVocabulary.go
- api_op_DeleteTranscriptionJob.go
- api_op_DeleteVocabulary.go
- api_op_DeleteVocabularyFilter.go
- api_op_DescribeLanguageModel.go
- api_op_GetCallAnalyticsCategory.go
- api_op_GetCallAnalyticsJob.go
- api_op_GetMedicalScribeJob.go
- api_op_GetMedicalTranscriptionJob.go
- api_op_GetMedicalVocabulary.go
- api_op_GetTranscriptionJob.go
- api_op_GetVocabulary.go
- api_op_GetVocabularyFilter.go
- api_op_ListCallAnalyticsCategories.go
- api_op_ListCallAnalyticsJobs.go
- api_op_ListLanguageModels.go
- api_op_ListMedicalScribeJobs.go
- api_op_ListMedicalTranscriptionJobs.go
- api_op_ListMedicalVocabularies.go
- api_op_ListTagsForResource.go
- api_op_ListTranscriptionJobs.go
- api_op_ListVocabularies.go
- api_op_ListVocabularyFilters.go
- api_op_StartCallAnalyticsJob.go
- api_op_StartMedicalScribeJob.go
- api_op_StartMedicalTranscriptionJob.go
- api_op_StartTranscriptionJob.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateCallAnalyticsCategory.go
- api_op_UpdateMedicalVocabulary.go
- api_op_UpdateVocabulary.go
- api_op_UpdateVocabularyFilter.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go