diff --git a/CHANGELOG.md b/CHANGELOG.md index 543b7b79caf..cb0a4bc4233 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +Release v1.33.20 (2020-08-05) +=== + +### Service Client Updates +* `service/appsync`: Updates service API and documentation +* `service/fsx`: Updates service documentation +* `service/resourcegroupstaggingapi`: Updates service documentation + * Documentation updates for the Resource Group Tagging API namespace. +* `service/sns`: Updates service documentation + * Documentation updates for SNS. +* `service/transcribe`: Updates service API, documentation, and paginators + Release v1.33.19 (2020-08-04) === diff --git a/aws/version.go b/aws/version.go index edf2c57c66a..7b2d968fc6b 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.33.19" +const SDKVersion = "1.33.20" diff --git a/models/apis/appsync/2017-07-25/api-2.json b/models/apis/appsync/2017-07-25/api-2.json index 07d35a2bd40..628f7f1cc46 100644 --- a/models/apis/appsync/2017-07-25/api-2.json +++ b/models/apis/appsync/2017-07-25/api-2.json @@ -933,7 +933,6 @@ "apiId", "name", "dataSourceName", - "requestMappingTemplate", "functionVersion" ], "members":{ @@ -984,8 +983,7 @@ "required":[ "apiId", "typeName", - "fieldName", - "requestMappingTemplate" + "fieldName" ], "members":{ "apiId":{ @@ -2156,7 +2154,6 @@ "name", "functionId", "dataSourceName", - "requestMappingTemplate", "functionVersion" ], "members":{ @@ -2216,8 +2213,7 @@ "required":[ "apiId", "typeName", - "fieldName", - "requestMappingTemplate" + "fieldName" ], "members":{ "apiId":{ diff --git a/models/apis/appsync/2017-07-25/docs-2.json b/models/apis/appsync/2017-07-25/docs-2.json index 0bbfaf2e3d2..732a952ba39 100644 --- a/models/apis/appsync/2017-07-25/docs-2.json +++ b/models/apis/appsync/2017-07-25/docs-2.json @@ -81,9 +81,9 @@ "ApiCacheType": { "base": null, "refs": { - "ApiCache$type": "

The cache instance type.

", - "CreateApiCacheRequest$type": "

The cache instance type.

", - "UpdateApiCacheRequest$type": "

The cache instance type.

" + "ApiCache$type": "

The cache instance type. Valid values are

Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.

The following legacy instance types are avaible, but their use is discouraged:

", + "CreateApiCacheRequest$type": "

The cache instance type. Valid values are

Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.

The following legacy instance types are avaible, but their use is discouraged:

", + "UpdateApiCacheRequest$type": "

The cache instance type. Valid values are

Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.

The following legacy instance types are avaible, but their use is discouraged:

" } }, "ApiCachingBehavior": { @@ -194,7 +194,7 @@ "CachingKeys": { "base": null, "refs": { - "CachingConfig$cachingKeys": "

The caching keys for a resolver that has caching enabled.

Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.

" + "CachingConfig$cachingKeys": "

The caching keys for a resolver that has caching enabled.

Valid values are entries from the $context.identity and $context.arguments maps.

" } }, "CognitoUserPoolConfig": { diff --git a/models/apis/fsx/2018-03-01/docs-2.json b/models/apis/fsx/2018-03-01/docs-2.json index fd051d8ad16..b4cc6ba05c1 100644 --- a/models/apis/fsx/2018-03-01/docs-2.json +++ b/models/apis/fsx/2018-03-01/docs-2.json @@ -3,7 +3,7 @@ "service": "

Amazon FSx is a fully managed service that makes it easy for storage and application administrators to launch and use shared file storage.

", "operations": { "CancelDataRepositoryTask": "

Cancels an existing Amazon FSx for Lustre data repository task if that task is in either the PENDING or EXECUTING state. When you cancel a task, Amazon FSx does the following.

", - "CreateBackup": "

Creates a backup of an existing Amazon FSx file system. Creating regular backups for your file system is a best practice, enabling you to restore a file system from a backup if an issue arises with the original file system.

For Amazon FSx for Lustre file systems, you can create a backup only for file systems with the following configuration:

For more information about backing up Amazon FSx for Lustre file systems, see Working with FSx for Lustre backups.

For more information about backing up Amazon FSx for Lustre file systems, see Working with FSx for Windows backups.

If a backup with the specified client request token exists, and the parameters match, this operation returns the description of the existing backup. If a backup specified client request token exists, and the parameters don't match, this operation returns IncompatibleParameterError. If a backup with the specified client request token doesn't exist, CreateBackup does the following:

By using the idempotent operation, you can retry a CreateBackup operation without the risk of creating an extra backup. This approach can be useful when an initial call fails in a way that makes it unclear whether a backup was created. If you use the same client request token and the initial call created a backup, the operation returns a successful result because all the parameters are the same.

The CreateBackup operation returns while the backup's lifecycle state is still CREATING. You can check the backup creation status by calling the DescribeBackups operation, which returns the backup state along with other information.

", + "CreateBackup": "

Creates a backup of an existing Amazon FSx file system. Creating regular backups for your file system is a best practice, enabling you to restore a file system from a backup if an issue arises with the original file system.

For Amazon FSx for Lustre file systems, you can create a backup only for file systems with the following configuration:

For more information about backing up Amazon FSx for Lustre file systems, see Working with FSx for Lustre backups.

For more information about backing up Amazon FSx for Lustre file systems, see Working with FSx for Windows backups.

If a backup with the specified client request token exists, and the parameters match, this operation returns the description of the existing backup. If a backup specified client request token exists, and the parameters don't match, this operation returns IncompatibleParameterError. If a backup with the specified client request token doesn't exist, CreateBackup does the following:

By using the idempotent operation, you can retry a CreateBackup operation without the risk of creating an extra backup. This approach can be useful when an initial call fails in a way that makes it unclear whether a backup was created. If you use the same client request token and the initial call created a backup, the operation returns a successful result because all the parameters are the same.

The CreateBackup operation returns while the backup's lifecycle state is still CREATING. You can check the backup creation status by calling the DescribeBackups operation, which returns the backup state along with other information.

", "CreateDataRepositoryTask": "

Creates an Amazon FSx for Lustre data repository task. You use data repository tasks to perform bulk operations between your Amazon FSx file system and its linked data repository. An example of a data repository task is exporting any data and metadata changes, including POSIX metadata, to files, directories, and symbolic links (symlinks) from your FSx file system to its linked data repository. A CreateDataRepositoryTask operation will fail if a data repository is not linked to the FSx file system. To learn more about data repository tasks, see Using Data Repository Tasks. To learn more about linking a data repository to your file system, see Setting the Export Prefix.

", "CreateFileSystem": "

Creates a new, empty Amazon FSx file system.

If a file system with the specified client request token exists and the parameters match, CreateFileSystem returns the description of the existing file system. If a file system specified client request token exists and the parameters don't match, this call returns IncompatibleParameterError. If a file system with the specified client request token doesn't exist, CreateFileSystem does the following:

This operation requires a client request token in the request that Amazon FSx uses to ensure idempotent creation. This means that calling the operation multiple times with the same client request token has no effect. By using the idempotent operation, you can retry a CreateFileSystem operation without the risk of creating an extra file system. This approach can be useful when an initial call fails in a way that makes it unclear whether a file system was created. Examples are if a transport level timeout occurred, or your connection was reset. If you use the same client request token and the initial call created a file system, the client receives success as long as the parameters are the same.

The CreateFileSystem call returns while the file system's lifecycle state is still CREATING. You can check the file-system creation status by calling the DescribeFileSystems operation, which returns the file system state along with other information.

", "CreateFileSystemFromBackup": "

Creates a new Amazon FSx file system from an existing Amazon FSx backup.

If a file system with the specified client request token exists and the parameters match, this operation returns the description of the file system. If a client request token specified by the file system exists and the parameters don't match, this call returns IncompatibleParameterError. If a file system with the specified client request token doesn't exist, this operation does the following:

Parameters like Active Directory, default share name, automatic backup, and backup settings default to the parameters of the file system that was backed up, unless overridden. You can explicitly supply other settings.

By using the idempotent operation, you can retry a CreateFileSystemFromBackup call without the risk of creating an extra file system. This approach can be useful when an initial call fails in a way that makes it unclear whether a file system was created. Examples are if a transport level timeout occurred, or your connection was reset. If you use the same client request token and the initial call created a file system, the client receives success as long as the parameters are the same.

The CreateFileSystemFromBackup call returns while the file system's lifecycle state is still CREATING. You can check the file-system creation status by calling the DescribeFileSystems operation, which returns the file system state along with other information.

", @@ -86,9 +86,9 @@ "AutoImportPolicyType": { "base": null, "refs": { - "CreateFileSystemLustreConfiguration$AutoImportPolicy": "

(Optional) Use this property to configure the AutoImport feature on the file system's linked Amazon S3 data repository. You use AutoImport to update the contents of your FSx for Lustre file system automatically with changes that occur in the linked S3 data repository. AutoImportPolicy can have the following values:

For more information, see Automatically import updates from your S3 bucket.

", - "DataRepositoryConfiguration$AutoImportPolicy": "

Describes the file system's linked S3 data repository's AutoImportPolicy. The AutoImportPolicy configures how your FSx for Lustre file system automatically updates its contents with changes that occur in the linked S3 data repository. AutoImportPolicy can have the following values:

For more information, see Automatically import updates from your S3 bucket.

", - "UpdateFileSystemLustreConfiguration$AutoImportPolicy": "

(Optional) Use this property to configure the AutoImport feature on the file system's linked Amazon S3 data repository. You use AutoImport to update the contents of your FSx for Lustre file system automatically with changes that occur in the linked S3 data repository. AutoImportPolicy can have the following values:

For more information, see Automatically import updates from your S3 bucket.

" + "CreateFileSystemLustreConfiguration$AutoImportPolicy": "

(Optional) When you create your file system, your existing S3 objects appear as file and directory listings. Use this property to choose how Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. AutoImportPolicy can have the following values:

For more information, see Automatically import updates from your S3 bucket.

", + "DataRepositoryConfiguration$AutoImportPolicy": "

Describes the file system's linked S3 data repository's AutoImportPolicy. The AutoImportPolicy configures how Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. AutoImportPolicy can have the following values:

For more information, see Automatically import updates from your S3 bucket.

", + "UpdateFileSystemLustreConfiguration$AutoImportPolicy": "

(Optional) When you create your file system, your existing S3 objects appear as file and directory listings. Use this property to choose how Amazon FSx keeps your file and directory listing up to date as you add or modify objects in your linked S3 bucket. AutoImportPolicy can have the following values:

For more information, see Automatically import updates from your S3 bucket.

" } }, "AutomaticBackupRetentionDays": { @@ -185,7 +185,7 @@ "ClientRequestToken": { "base": "

(Optional) An idempotency token for resource creation, in a string of up to 64 ASCII characters. This token is automatically filled on your behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS SDK.

", "refs": { - "CreateBackupRequest$ClientRequestToken": "

A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS SDK.

", + "CreateBackupRequest$ClientRequestToken": "

(Optional) A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS SDK.

", "CreateDataRepositoryTaskRequest$ClientRequestToken": null, "CreateFileSystemFromBackupRequest$ClientRequestToken": "

A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS SDK.

", "CreateFileSystemRequest$ClientRequestToken": "

A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS SDK.

", @@ -660,7 +660,7 @@ "base": null, "refs": { "CompletionReport$Enabled": "

Set Enabled to True to generate a CompletionReport when the task completes. If set to true, then you need to provide a report Scope, Path, and Format. Set Enabled to False if you do not want a CompletionReport generated when the task completes.

", - "CreateFileSystemLustreConfiguration$CopyTagsToBackups": "

A boolean flag indicating whether tags for the file system should be copied to backups. This value defaults to false. If it's set to true, all tags for the file system are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true, and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the file system, regardless of this value.

For more information, see Working with backups.

", + "CreateFileSystemLustreConfiguration$CopyTagsToBackups": "

(Optional) Not available to use with file systems that are linked to a data repository. A boolean flag indicating whether tags for the file system should be copied to backups. The default value is false. If it's set to true, all file system tags are copied to all automatic and user-initiated backups when the user doesn't specify any backup-specific tags. If this value is true, and you specify one or more backup tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the file system, regardless of this value.

For more information, see Working with backups.

", "CreateFileSystemWindowsConfiguration$CopyTagsToBackups": "

A boolean flag indicating whether tags for the file system should be copied to backups. This value defaults to false. If it's set to true, all tags for the file system are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true, and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the file system, regardless of this value.

", "DeleteFileSystemLustreConfiguration$SkipFinalBackup": "

Set SkipFinalBackup to false if you want to take a final backup of the file system you are deleting. By default, Amazon FSx will not take a final backup on your behalf when the DeleteFileSystem operation is invoked. (Default = true)

", "DeleteFileSystemWindowsConfiguration$SkipFinalBackup": "

By default, Amazon FSx for Windows takes a final backup on your behalf when the DeleteFileSystem operation is invoked. Doing this helps protect you from data loss, and we highly recommend taking the final backup. If you want to skip this backup, use this flag to do so.

", @@ -934,7 +934,7 @@ "StorageCapacity": { "base": "

The storage capacity for your Amazon FSx file system, in gibibytes.

", "refs": { - "CreateFileSystemRequest$StorageCapacity": "

Sets the storage capacity of the file system that you're creating.

For Lustre file systems:

For Windows file systems:

", + "CreateFileSystemRequest$StorageCapacity": "

Sets the storage capacity of the file system that you're creating.

For Lustre file systems:

For Windows file systems:

", "FileSystem$StorageCapacity": "

The storage capacity of the file system in gigabytes (GB).

", "UpdateFileSystemRequest$StorageCapacity": "

Use this parameter to increase the storage capacity of an Amazon FSx for Windows File Server file system. Specifies the storage capacity target value, GiB, for the file system you're updating. The storage capacity target value must be at least 10 percent (%) greater than the current storage capacity value. In order to increase storage capacity, the file system needs to have at least 16 MB/s of throughput capacity. You cannot make a storage capacity increase request if there is an existing storage capacity increase request in progress. For more information, see Managing Storage Capacity.

" } @@ -1009,7 +1009,7 @@ "base": "

A list of Tag values, with a maximum of 50 elements.

", "refs": { "Backup$Tags": "

Tags associated with a particular file system.

", - "CreateBackupRequest$Tags": "

The tags to apply to the backup at backup creation. The key value of the Name tag appears in the console as the backup name. If you have set CopyTagsToBackups to true, and you specify one or more tags using the CreateBackup action, no existing tags on the file system are copied from the file system to the backup.

", + "CreateBackupRequest$Tags": "

(Optional) The tags to apply to the backup at backup creation. The key value of the Name tag appears in the console as the backup name. If you have set CopyTagsToBackups to true, and you specify one or more tags using the CreateBackup action, no existing file system tags are copied from the file system to the backup.

", "CreateDataRepositoryTaskRequest$Tags": null, "CreateFileSystemFromBackupRequest$Tags": "

The tags to be applied to the file system at file system creation. The key value of the Name tag appears in the console as the file system name.

", "CreateFileSystemRequest$Tags": "

The tags to apply to the file system being created. The key value of the Name tag appears in the console as the file system name.

", @@ -1090,10 +1090,10 @@ "WeeklyTime": { "base": "

A recurring weekly time, in the format D:HH:MM.

D is the day of the week, for which 1 represents Monday and 7 represents Sunday. For further details, see the ISO-8601 spec as described on Wikipedia.

HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour.

For example, 1:05:00 specifies maintenance at 5 AM Monday.

", "refs": { - "CreateFileSystemLustreConfiguration$WeeklyMaintenanceStartTime": "

The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

", + "CreateFileSystemLustreConfiguration$WeeklyMaintenanceStartTime": "

(Optional) The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

", "CreateFileSystemWindowsConfiguration$WeeklyMaintenanceStartTime": "

The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

", "LustreFileSystemConfiguration$WeeklyMaintenanceStartTime": "

The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

", - "UpdateFileSystemLustreConfiguration$WeeklyMaintenanceStartTime": "

The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

", + "UpdateFileSystemLustreConfiguration$WeeklyMaintenanceStartTime": "

(Optional) The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

", "UpdateFileSystemWindowsConfiguration$WeeklyMaintenanceStartTime": "

The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. Where d is the weekday number, from 1 through 7, with 1 = Monday and 7 = Sunday.

", "WindowsFileSystemConfiguration$WeeklyMaintenanceStartTime": "

The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.

" } diff --git a/models/apis/resourcegroupstaggingapi/2017-01-26/docs-2.json b/models/apis/resourcegroupstaggingapi/2017-01-26/docs-2.json index 69910b938e8..6acc7d54d1f 100644 --- a/models/apis/resourcegroupstaggingapi/2017-01-26/docs-2.json +++ b/models/apis/resourcegroupstaggingapi/2017-01-26/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "Resource Groups Tagging API

This guide describes the API operations for the resource groups tagging.

A tag is a label that you assign to an AWS resource. A tag consists of a key and a value, both of which you define. For example, if you have two Amazon EC2 instances, you might assign both a tag key of \"Stack.\" But the value of \"Stack\" might be \"Testing\" for one and \"Production\" for the other.

Do not store personally identifiable information (PII) or other confidential or sensitive information in tags. We use tags to provide you with billing and administration services. Tags are not intended to be used for private or sensitive data.

Tagging can help you organize your resources and enables you to simplify resource management, access management and cost allocation.

You can use the resource groups tagging API operations to complete the following tasks:

To use resource groups tagging API operations, you must add the following permissions to your IAM policy:

You'll also need permissions to access the resources of individual services so that you can tag and untag those resources.

For more information on IAM policies, see Managing IAM Policies in the IAM User Guide.

Services that support the Resource Groups Tagging API

You can use the Resource Groups Tagging API to tag resources for the following AWS services.

", + "service": "Resource Groups Tagging API

This guide describes the API operations for the resource groups tagging.

A tag is a label that you assign to an AWS resource. A tag consists of a key and a value, both of which you define. For example, if you have two Amazon EC2 instances, you might assign both a tag key of \"Stack.\" But the value of \"Stack\" might be \"Testing\" for one and \"Production\" for the other.

Do not store personally identifiable information (PII) or other confidential or sensitive information in tags. We use tags to provide you with billing and administration services. Tags are not intended to be used for private or sensitive data.

Tagging can help you organize your resources and enables you to simplify resource management, access management and cost allocation.

You can use the resource groups tagging API operations to complete the following tasks:

To use resource groups tagging API operations, you must add the following permissions to your IAM policy:

You'll also need permissions to access the resources of individual services so that you can tag and untag those resources.

For more information on IAM policies, see Managing IAM Policies in the IAM User Guide.

Services that support the Resource Groups Tagging API

You can use the Resource Groups Tagging API to tag resources for the following AWS services.

", "operations": { "DescribeReportCreation": "

Describes the status of the StartReportCreation operation.

You can call this operation only from the organization's master account and from the us-east-1 Region.

", "GetComplianceSummary": "

Returns a table that shows counts of resources that are noncompliant with their tag policies.

For more information on tag policies, see Tag Policies in the AWS Organizations User Guide.

You can call this operation only from the organization's master account and from the us-east-1 Region.

", diff --git a/models/apis/sns/2010-03-31/docs-2.json b/models/apis/sns/2010-03-31/docs-2.json index 6602fc3abc8..d1a76172f0b 100644 --- a/models/apis/sns/2010-03-31/docs-2.json +++ b/models/apis/sns/2010-03-31/docs-2.json @@ -7,7 +7,7 @@ "ConfirmSubscription": "

Verifies an endpoint owner's intent to receive messages by validating the token sent to the endpoint by an earlier Subscribe action. If the token is valid, the action creates a new subscription and returns its Amazon Resource Name (ARN). This call requires an AWS signature only when the AuthenticateOnUnsubscribe flag is set to \"true\".

", "CreatePlatformApplication": "

Creates a platform application object for one of the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging), to which devices and mobile apps may register. You must specify PlatformPrincipal and PlatformCredential attributes when using the CreatePlatformApplication action.

PlatformPrincipal and PlatformCredential are received from the notification service.

You can use the returned PlatformApplicationArn as an attribute for the CreatePlatformEndpoint action.

", "CreatePlatformEndpoint": "

Creates an endpoint for a device and mobile app on one of the supported push notification services, such as GCM (Firebase Cloud Messaging) and APNS. CreatePlatformEndpoint requires the PlatformApplicationArn that is returned from CreatePlatformApplication. You can use the returned EndpointArn to send a message to a mobile app or by the Subscribe action for subscription to a topic. The CreatePlatformEndpoint action is idempotent, so if the requester already owns an endpoint with the same device token and attributes, that endpoint's ARN is returned without creating a new endpoint. For more information, see Using Amazon SNS Mobile Push Notifications.

When using CreatePlatformEndpoint with Baidu, two attributes must be provided: ChannelId and UserId. The token field must also contain the ChannelId. For more information, see Creating an Amazon SNS Endpoint for Baidu.

", - "CreateTopic": "

Creates a topic to which notifications can be published. Users can create at most 100,000 standard topics (at most 1,000 FIFO topics). For more information, see https://aws.amazon.com/sns. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is returned without creating a new topic.

", + "CreateTopic": "

Creates a topic to which notifications can be published. Users can create at most 100,000 topics. For more information, see https://aws.amazon.com/sns. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is returned without creating a new topic.

", "DeleteEndpoint": "

Deletes the endpoint for a device and mobile app from Amazon SNS. This action is idempotent. For more information, see Using Amazon SNS Mobile Push Notifications.

When you delete an endpoint that is also subscribed to a topic, then you must also unsubscribe the endpoint from the topic.

", "DeletePlatformApplication": "

Deletes a platform application object for one of the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging). For more information, see Using Amazon SNS Mobile Push Notifications.

", "DeleteTopic": "

Deletes a topic and all its subscriptions. Deleting a topic might prevent some messages previously sent to the topic from being delivered to subscribers. This action is idempotent, so deleting a topic that does not exist does not result in an error.

", @@ -604,7 +604,7 @@ "TopicAttributesMap": { "base": null, "refs": { - "CreateTopicInput$Attributes": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the CreateTopic action uses:

The following attribute applies only to server-side-encryption:

The following attribute applies only to FIFO topics:

", + "CreateTopicInput$Attributes": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the CreateTopic action uses:

The following attribute applies only to server-side-encryption:

", "GetTopicAttributesResponse$Attributes": "

A map of the topic's attributes. Attributes in this map include the following:

The following attribute applies only to server-side-encryption:

" } }, @@ -650,7 +650,7 @@ "base": null, "refs": { "SetSubscriptionAttributesInput$AttributeName": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the SetTopicAttributes action uses:

", - "SetTopicAttributesInput$AttributeName": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the SetTopicAttributes action uses:

The following attribute applies only to server-side-encryption:

The following attribute applies only to FIFO topics:

", + "SetTopicAttributesInput$AttributeName": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the SetTopicAttributes action uses:

The following attribute applies only to server-side-encryption:

", "SubscriptionAttributesMap$key": null, "TopicAttributesMap$key": null } @@ -806,7 +806,7 @@ "topicName": { "base": null, "refs": { - "CreateTopicInput$Name": "

The name of the topic you want to create.

Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long.

For a FIFO (first-in-first-out) topic, the name must end with the .fifo suffix.

" + "CreateTopicInput$Name": "

The name of the topic you want to create.

Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long.

" } } } diff --git a/models/apis/transcribe/2017-10-26/api-2.json b/models/apis/transcribe/2017-10-26/api-2.json index 844d6bd0aac..51b8a556298 100644 --- a/models/apis/transcribe/2017-10-26/api-2.json +++ b/models/apis/transcribe/2017-10-26/api-2.json @@ -13,6 +13,21 @@ "uid":"transcribe-2017-10-26" }, "operations":{ + "CreateLanguageModel":{ + "name":"CreateLanguageModel", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateLanguageModelRequest"}, + "output":{"shape":"CreateLanguageModelResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"LimitExceededException"}, + {"shape":"InternalFailureException"}, + {"shape":"ConflictException"} + ] + }, "CreateMedicalVocabulary":{ "name":"CreateMedicalVocabulary", "http":{ @@ -58,6 +73,19 @@ {"shape":"ConflictException"} ] }, + "DeleteLanguageModel":{ + "name":"DeleteLanguageModel", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteLanguageModelRequest"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"LimitExceededException"}, + {"shape":"InternalFailureException"} + ] + }, "DeleteMedicalTranscriptionJob":{ "name":"DeleteMedicalTranscriptionJob", "http":{ @@ -126,6 +154,21 @@ {"shape":"InternalFailureException"} ] }, + "DescribeLanguageModel":{ + "name":"DescribeLanguageModel", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeLanguageModelRequest"}, + "output":{"shape":"DescribeLanguageModelResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"LimitExceededException"}, + {"shape":"InternalFailureException"}, + {"shape":"NotFoundException"} + ] + }, "GetMedicalTranscriptionJob":{ "name":"GetMedicalTranscriptionJob", "http":{ @@ -201,6 +244,20 @@ {"shape":"BadRequestException"} ] }, + "ListLanguageModels":{ + "name":"ListLanguageModels", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListLanguageModelsRequest"}, + "output":{"shape":"ListLanguageModelsResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"LimitExceededException"}, + {"shape":"InternalFailureException"} + ] + }, "ListMedicalTranscriptionJobs":{ "name":"ListMedicalTranscriptionJobs", "http":{ @@ -357,7 +414,18 @@ }, "exception":true }, + "BaseModelName":{ + "type":"string", + "enum":[ + "NarrowBand", + "WideBand" + ] + }, "Boolean":{"type":"boolean"}, + "CLMLanguageCode":{ + "type":"string", + "enum":["en-US"] + }, "ConflictException":{ "type":"structure", "members":{ @@ -376,6 +444,31 @@ "RedactionOutput":{"shape":"RedactionOutput"} } }, + "CreateLanguageModelRequest":{ + "type":"structure", + "required":[ + "LanguageCode", + "BaseModelName", + "ModelName", + "InputDataConfig" + ], + "members":{ + "LanguageCode":{"shape":"CLMLanguageCode"}, + "BaseModelName":{"shape":"BaseModelName"}, + "ModelName":{"shape":"ModelName"}, + "InputDataConfig":{"shape":"InputDataConfig"} + } + }, + "CreateLanguageModelResponse":{ + "type":"structure", + "members":{ + "LanguageCode":{"shape":"CLMLanguageCode"}, + "BaseModelName":{"shape":"BaseModelName"}, + "ModelName":{"shape":"ModelName"}, + "InputDataConfig":{"shape":"InputDataConfig"}, + "ModelStatus":{"shape":"ModelStatus"} + } + }, "CreateMedicalVocabularyRequest":{ "type":"structure", "required":[ @@ -445,9 +538,18 @@ }, "DataAccessRoleArn":{ "type":"string", - "pattern":"^arn:aws:iam::[0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1023}$" + "max":2048, + "min":20, + "pattern":"^arn:(aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):iam::[0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1024}$" }, "DateTime":{"type":"timestamp"}, + "DeleteLanguageModelRequest":{ + "type":"structure", + "required":["ModelName"], + "members":{ + "ModelName":{"shape":"ModelName"} + } + }, "DeleteMedicalTranscriptionJobRequest":{ "type":"structure", "required":["MedicalTranscriptionJobName"], @@ -483,6 +585,19 @@ "VocabularyName":{"shape":"VocabularyName"} } }, + "DescribeLanguageModelRequest":{ + "type":"structure", + "required":["ModelName"], + "members":{ + "ModelName":{"shape":"ModelName"} + } + }, + "DescribeLanguageModelResponse":{ + "type":"structure", + "members":{ + "LanguageModel":{"shape":"LanguageModel"} + } + }, "FailureReason":{"type":"string"}, "GetMedicalTranscriptionJobRequest":{ "type":"structure", @@ -562,6 +677,18 @@ "DownloadUri":{"shape":"Uri"} } }, + "InputDataConfig":{ + "type":"structure", + "required":[ + "S3Uri", + "DataAccessRoleArn" + ], + "members":{ + "S3Uri":{"shape":"Uri"}, + "TuningDataS3Uri":{"shape":"Uri"}, + "DataAccessRoleArn":{"shape":"DataAccessRoleArn"} + } + }, "InternalFailureException":{ "type":"structure", "members":{ @@ -586,39 +713,58 @@ "LanguageCode":{ "type":"string", "enum":[ + "af-ZA", + "ar-AE", + "ar-SA", + "cy-GB", + "da-DK", + "de-CH", + "de-DE", + "en-AB", + "en-AU", + "en-GB", + "en-IE", + "en-IN", "en-US", + "en-WL", + "es-ES", "es-US", - "en-AU", + "fa-IR", "fr-CA", - "en-GB", - "de-DE", - "pt-BR", "fr-FR", + "ga-IE", + "gd-GB", + "he-IL", + "hi-IN", + "id-ID", "it-IT", + "ja-JP", "ko-KR", - "es-ES", - "en-IN", - "hi-IN", - "ar-SA", - "ru-RU", - "zh-CN", + "ms-MY", "nl-NL", - "id-ID", - "ta-IN", - "fa-IR", - "en-IE", - "en-AB", - "en-WL", + "pt-BR", "pt-PT", + "ru-RU", + "ta-IN", "te-IN", "tr-TR", - "de-CH", - "he-IL", - "ms-MY", - "ja-JP", - "ar-AE" + "zh-CN" ] }, + "LanguageModel":{ + "type":"structure", + "members":{ + "ModelName":{"shape":"ModelName"}, + "CreateTime":{"shape":"DateTime"}, + "LastModifiedTime":{"shape":"DateTime"}, + "LanguageCode":{"shape":"CLMLanguageCode"}, + "BaseModelName":{"shape":"BaseModelName"}, + "ModelStatus":{"shape":"ModelStatus"}, + "UpgradeAvailability":{"shape":"Boolean"}, + "FailureReason":{"shape":"FailureReason"}, + "InputDataConfig":{"shape":"InputDataConfig"} + } + }, "LimitExceededException":{ "type":"structure", "members":{ @@ -626,6 +772,22 @@ }, "exception":true }, + "ListLanguageModelsRequest":{ + "type":"structure", + "members":{ + "StatusEquals":{"shape":"ModelStatus"}, + "NameContains":{"shape":"ModelName"}, + "NextToken":{"shape":"NextToken"}, + "MaxResults":{"shape":"MaxResults"} + } + }, + "ListLanguageModelsResponse":{ + "type":"structure", + "members":{ + "NextToken":{"shape":"NextToken"}, + "Models":{"shape":"Models"} + } + }, "ListMedicalTranscriptionJobsRequest":{ "type":"structure", "members":{ @@ -799,6 +961,30 @@ "VocabularyName":{"shape":"VocabularyName"} } }, + "ModelName":{ + "type":"string", + "max":200, + "min":1, + "pattern":"^[0-9a-zA-Z._-]+" + }, + "ModelSettings":{ + "type":"structure", + "members":{ + "LanguageModelName":{"shape":"ModelName"} + } + }, + "ModelStatus":{ + "type":"string", + "enum":[ + "IN_PROGRESS", + "FAILED", + "COMPLETED" + ] + }, + "Models":{ + "type":"list", + "member":{"shape":"LanguageModel"} + }, "NextToken":{ "type":"string", "max":8192, @@ -906,6 +1092,7 @@ "OutputBucketName":{"shape":"OutputBucketName"}, "OutputEncryptionKMSKeyId":{"shape":"KMSKeyId"}, "Settings":{"shape":"Settings"}, + "ModelSettings":{"shape":"ModelSettings"}, "JobExecutionSettings":{"shape":"JobExecutionSettings"}, "ContentRedaction":{"shape":"ContentRedaction"} } @@ -939,6 +1126,7 @@ "CompletionTime":{"shape":"DateTime"}, "FailureReason":{"shape":"FailureReason"}, "Settings":{"shape":"Settings"}, + "ModelSettings":{"shape":"ModelSettings"}, "JobExecutionSettings":{"shape":"JobExecutionSettings"}, "ContentRedaction":{"shape":"ContentRedaction"} } @@ -973,7 +1161,8 @@ "TranscriptionJobStatus":{"shape":"TranscriptionJobStatus"}, "FailureReason":{"shape":"FailureReason"}, "OutputLocationType":{"shape":"OutputLocationType"}, - "ContentRedaction":{"shape":"ContentRedaction"} + "ContentRedaction":{"shape":"ContentRedaction"}, + "ModelSettings":{"shape":"ModelSettings"} } }, "Type":{ diff --git a/models/apis/transcribe/2017-10-26/docs-2.json b/models/apis/transcribe/2017-10-26/docs-2.json index e8bc0b6073f..8ebbbce3d56 100644 --- a/models/apis/transcribe/2017-10-26/docs-2.json +++ b/models/apis/transcribe/2017-10-26/docs-2.json @@ -2,41 +2,54 @@ "version": "2.0", "service": "

Operations and objects for transcribing speech to text.

", "operations": { + "CreateLanguageModel": "

Creates a new custom language model. Use Amazon S3 prefixes to provide the location of your input files. The time it takes to create your model depends on the size of your training data.

", "CreateMedicalVocabulary": "

Creates a new custom vocabulary that you can use to change how Amazon Transcribe Medical transcribes your audio file.

", "CreateVocabulary": "

Creates a new custom vocabulary that you can use to change the way Amazon Transcribe handles transcription of an audio file.

", "CreateVocabularyFilter": "

Creates a new vocabulary filter that you can use to filter words, such as profane words, from the output of a transcription job.

", + "DeleteLanguageModel": "

Deletes a custom language model using its name.

", "DeleteMedicalTranscriptionJob": "

Deletes a transcription job generated by Amazon Transcribe Medical and any related information.

", "DeleteMedicalVocabulary": "

Deletes a vocabulary from Amazon Transcribe Medical.

", "DeleteTranscriptionJob": "

Deletes a previously submitted transcription job along with any other generated results such as the transcription, models, and so on.

", "DeleteVocabulary": "

Deletes a vocabulary from Amazon Transcribe.

", "DeleteVocabularyFilter": "

Removes a vocabulary filter.

", + "DescribeLanguageModel": "

Gets information about a single custom language model. Use this information to see details about the language model in your AWS account. You can also see whether the base language model used to create your custom language model has been updated. If Amazon Transcribe has updated the base model, you can create a new custom language model using the updated base model. If the language model wasn't created, you can use this operation to understand why Amazon Transcribe couldn't create it.

", "GetMedicalTranscriptionJob": "

Returns information about a transcription job from Amazon Transcribe Medical. To see the status of the job, check the TranscriptionJobStatus field. If the status is COMPLETED, the job is finished. You find the results of the completed job in the TranscriptFileUri field.

", - "GetMedicalVocabulary": "

Retrieve information about a medical vocabulary.

", + "GetMedicalVocabulary": "

Retrieves information about a medical vocabulary.

", "GetTranscriptionJob": "

Returns information about a transcription job. To see the status of the job, check the TranscriptionJobStatus field. If the status is COMPLETED, the job is finished and you can find the results at the location specified in the TranscriptFileUri field. If you enable content redaction, the redacted transcript appears in RedactedTranscriptFileUri.

", "GetVocabulary": "

Gets information about a vocabulary.

", "GetVocabularyFilter": "

Returns information about a vocabulary filter.

", + "ListLanguageModels": "

Provides more information about the custom language models you've created. You can use the information in this list to find a specific custom language model. You can then use the operation to get more information about it.

", "ListMedicalTranscriptionJobs": "

Lists medical transcription jobs with a specified status or substring that matches their names.

", - "ListMedicalVocabularies": "

Returns a list of vocabularies that match the specified criteria. You get the entire list of vocabularies if you don't enter a value in any of the request parameters.

", + "ListMedicalVocabularies": "

Returns a list of vocabularies that match the specified criteria. If you don't enter a value in any of the request parameters, returns the entire list of vocabularies.

", "ListTranscriptionJobs": "

Lists transcription jobs with the specified status.

", "ListVocabularies": "

Returns a list of vocabularies that match the specified criteria. If no criteria are specified, returns the entire list of vocabularies.

", "ListVocabularyFilters": "

Gets information about vocabulary filters.

", - "StartMedicalTranscriptionJob": "

Start a batch job to transcribe medical speech to text.

", + "StartMedicalTranscriptionJob": "

Starts a batch job to transcribe medical speech to text.

", "StartTranscriptionJob": "

Starts an asynchronous job to transcribe speech to text.

", - "UpdateMedicalVocabulary": "

Updates an existing vocabulary with new values in a different text file. The UpdateMedicalVocabulary operation overwrites all of the existing information with the values that you provide in the request.

", + "UpdateMedicalVocabulary": "

Updates a vocabulary with new values that you provide in a different text file from the one you used to create the vocabulary. The UpdateMedicalVocabulary operation overwrites all of the existing information with the values that you provide in the request.

", "UpdateVocabulary": "

Updates an existing vocabulary with new values. The UpdateVocabulary operation overwrites all of the existing information with the values that you provide in the request.

", "UpdateVocabularyFilter": "

Updates a vocabulary filter with a new list of filtered words.

" }, "shapes": { "BadRequestException": { - "base": "

Your request didn't pass one or more validation tests. For example, if the transcription you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's \"in progress\"). See the exception Message field for more information.

", + "base": "

Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's \"in progress\"). See the exception Message field for more information.

", "refs": { } }, + "BaseModelName": { + "base": null, + "refs": { + "CreateLanguageModelRequest$BaseModelName": "

The Amazon Transcribe standard language model, or base model used to create your custom language model.

If you want to use your custom language model to transcribe audio with a sample rate of 16 kHz or greater, choose Wideband.

If you want to use your custom language model to transcribe audio with a sample rate that is less than 16 kHz, choose Narrowband.

", + "CreateLanguageModelResponse$BaseModelName": "

The Amazon Transcribe standard language model, or base model you've used to create a custom language model.

", + "LanguageModel$BaseModelName": "

The Amazon Transcribe standard language model, or base model used to create the custom language model.

" + } + }, "Boolean": { "base": null, "refs": { "JobExecutionSettings$AllowDeferredExecution": "

Indicates whether a job should be queued by Amazon Transcribe when the concurrent execution limit is exceeded. When the AllowDeferredExecution field is true, jobs are queued and executed when the number of executing jobs falls below the concurrent execution limit. If the field is false, Amazon Transcribe returns a LimitExceededException exception.

If you specify the AllowDeferredExecution field, you must specify the DataAccessRoleArn field.

", - "MedicalTranscriptionSetting$ShowSpeakerLabels": "

Determines whether the transcription job uses speaker recognition to identify different speakers in the input audio. Speaker recongition labels individual speakers in the audio file. If you set the ShowSpeakerLabels field to true, you must also set the maximum number of speaker labels in the MaxSpeakerLabels field.

You can't set both ShowSpeakerLabels and ChannelIdentification in the same request. If you set both, your request returns a BadRequestException.

", + "LanguageModel$UpgradeAvailability": "

Whether the base model used for the custom language model is up to date. If this field is true then you are running the most up-to-date version of the base model in your custom language model.

", + "MedicalTranscriptionSetting$ShowSpeakerLabels": "

Determines whether the transcription job uses speaker recognition to identify different speakers in the input audio. Speaker recognition labels individual speakers in the audio file. If you set the ShowSpeakerLabels field to true, you must also set the maximum number of speaker labels in the MaxSpeakerLabels field.

You can't set both ShowSpeakerLabels and ChannelIdentification in the same request. If you set both, your request returns a BadRequestException.

", "MedicalTranscriptionSetting$ChannelIdentification": "

Instructs Amazon Transcribe Medical to process each audio channel separately and then merge the transcription output of each channel into a single transcription.

Amazon Transcribe Medical also produces a transcription of each item detected on an audio channel, including the start time and end time of the item and alternative transcriptions of item. The alternative transcriptions also come with confidence scores provided by Amazon Transcribe Medical.

You can't set both ShowSpeakerLabels and ChannelIdentification in the same request. If you set both, your request returns a BadRequestException

", "MedicalTranscriptionSetting$ShowAlternatives": "

Determines whether alternative transcripts are generated along with the transcript that has the highest confidence. If you set ShowAlternatives field to true, you must also set the maximum number of alternatives to return in the MaxAlternatives field.

", "Settings$ShowSpeakerLabels": "

Determines whether the transcription job uses speaker recognition to identify different speakers in the input audio. Speaker recognition labels individual speakers in the audio file. If you set the ShowSpeakerLabels field to true, you must also set the maximum number of speaker labels MaxSpeakerLabels field.

You can't set both ShowSpeakerLabels and ChannelIdentification in the same request. If you set both, your request returns a BadRequestException.

", @@ -44,8 +57,16 @@ "Settings$ShowAlternatives": "

Determines whether the transcription contains alternative transcriptions. If you set the ShowAlternatives field to true, you must also set the maximum number of alternatives to return in the MaxAlternatives field.

" } }, + "CLMLanguageCode": { + "base": null, + "refs": { + "CreateLanguageModelRequest$LanguageCode": "

The language of the input text you're using to train your custom language model.

", + "CreateLanguageModelResponse$LanguageCode": "

The language code of the text you've used to create a custom language model.

", + "LanguageModel$LanguageCode": "

The language code you used to create your custom language model.

" + } + }, "ConflictException": { - "base": "

The resource name already exists.

", + "base": "

There is already a resource with that name.

", "refs": { } }, @@ -57,6 +78,16 @@ "TranscriptionJobSummary$ContentRedaction": "

The content redaction settings of the transcription job.

" } }, + "CreateLanguageModelRequest": { + "base": null, + "refs": { + } + }, + "CreateLanguageModelResponse": { + "base": null, + "refs": { + } + }, "CreateMedicalVocabularyRequest": { "base": null, "refs": { @@ -90,18 +121,21 @@ "DataAccessRoleArn": { "base": null, "refs": { + "InputDataConfig$DataAccessRoleArn": "

The Amazon Resource Name (ARN) that uniquely identifies the permissions you've given Amazon Transcribe to access your Amazon S3 buckets containing your media files or text data.

", "JobExecutionSettings$DataAccessRoleArn": "

The Amazon Resource Name (ARN) of a role that has access to the S3 bucket that contains the input files. Amazon Transcribe assumes this role to read queued media files. If you have specified an output S3 bucket for the transcription results, this role should have access to the output bucket as well.

If you specify the AllowDeferredExecution field, you must specify the DataAccessRoleArn field.

" } }, "DateTime": { "base": null, "refs": { - "CreateMedicalVocabularyResponse$LastModifiedTime": "

The date and time you created the vocabulary.

", + "CreateMedicalVocabularyResponse$LastModifiedTime": "

The date and time that you created the vocabulary.

", "CreateVocabularyFilterResponse$LastModifiedTime": "

The date and time that the vocabulary filter was modified.

", "CreateVocabularyResponse$LastModifiedTime": "

The date and time that the vocabulary was created.

", - "GetMedicalVocabularyResponse$LastModifiedTime": "

The date and time the vocabulary was last modified with a text file different from what was previously used.

", + "GetMedicalVocabularyResponse$LastModifiedTime": "

The date and time that the vocabulary was last modified with a text file different from the one that was previously used.

", "GetVocabularyFilterResponse$LastModifiedTime": "

The date and time that the contents of the vocabulary filter were updated.

", "GetVocabularyResponse$LastModifiedTime": "

The date and time that the vocabulary was last modified.

", + "LanguageModel$CreateTime": "

The time the custom language model was created.

", + "LanguageModel$LastModifiedTime": "

The most recent time the custom language model was modified.

", "MedicalTranscriptionJob$StartTime": "

A timestamp that shows when the job started processing.

", "MedicalTranscriptionJob$CreationTime": "

A timestamp that shows when the job was created.

", "MedicalTranscriptionJob$CompletionTime": "

A timestamp that shows when the job was completed.

", @@ -114,13 +148,18 @@ "TranscriptionJobSummary$CreationTime": "

A timestamp that shows when the job was created.

", "TranscriptionJobSummary$StartTime": "

A timestamp that shows when the job started processing.

", "TranscriptionJobSummary$CompletionTime": "

A timestamp that shows when the job was completed.

", - "UpdateMedicalVocabularyResponse$LastModifiedTime": "

The date and time the vocabulary was updated.

", + "UpdateMedicalVocabularyResponse$LastModifiedTime": "

The date and time that the vocabulary was updated.

", "UpdateVocabularyFilterResponse$LastModifiedTime": "

The date and time that the vocabulary filter was updated.

", "UpdateVocabularyResponse$LastModifiedTime": "

The date and time that the vocabulary was updated.

", "VocabularyFilterInfo$LastModifiedTime": "

The date and time that the vocabulary was last updated.

", "VocabularyInfo$LastModifiedTime": "

The date and time that the vocabulary was last modified.

" } }, + "DeleteLanguageModelRequest": { + "base": null, + "refs": { + } + }, "DeleteMedicalTranscriptionJobRequest": { "base": null, "refs": { @@ -146,6 +185,16 @@ "refs": { } }, + "DescribeLanguageModelRequest": { + "base": null, + "refs": { + } + }, + "DescribeLanguageModelResponse": { + "base": null, + "refs": { + } + }, "FailureReason": { "base": null, "refs": { @@ -154,7 +203,8 @@ "CreateVocabularyResponse$FailureReason": "

If the VocabularyState field is FAILED, this field contains information about why the job failed.

", "GetMedicalVocabularyResponse$FailureReason": "

If the VocabularyState is FAILED, this field contains information about why the job failed.

", "GetVocabularyResponse$FailureReason": "

If the VocabularyState field is FAILED, this field contains information about why the job failed.

", - "MedicalTranscriptionJob$FailureReason": "

If the TranscriptionJobStatus field is FAILED, this field contains information about why the job failed.

The FailureReason field contains one of the following values:

", + "LanguageModel$FailureReason": "

The reason why the custom language model couldn't be created.

", + "MedicalTranscriptionJob$FailureReason": "

If the TranscriptionJobStatus field is FAILED, this field contains information about why the job failed.

The FailureReason field contains one of the following values:

", "MedicalTranscriptionJobSummary$FailureReason": "

If the TranscriptionJobStatus field is FAILED, a description of the error.

", "TranscriptionJob$FailureReason": "

If the TranscriptionJobStatus field is FAILED, this field contains information about why the job failed.

The FailureReason field can contain one of the following values:

", "TranscriptionJobSummary$FailureReason": "

If the TranscriptionJobStatus field is FAILED, a description of the error.

" @@ -210,6 +260,14 @@ "refs": { } }, + "InputDataConfig": { + "base": "

The object that contains the Amazon S3 object location and access role required to train and tune your custom language model.

", + "refs": { + "CreateLanguageModelRequest$InputDataConfig": "

Contains the data access role and the Amazon S3 prefixes to read the required input files to create a custom language model.

", + "CreateLanguageModelResponse$InputDataConfig": "

The data access role and Amazon S3 prefixes you've chosen to create your custom language model.

", + "LanguageModel$InputDataConfig": "

The data access role and Amazon S3 prefixes for the input files used to train the custom language model.

" + } + }, "InternalFailureException": { "base": "

There was an internal error. Check the error message and try your request again.

", "refs": { @@ -232,13 +290,13 @@ "LanguageCode": { "base": null, "refs": { - "CreateMedicalVocabularyRequest$LanguageCode": "

The language code used for the entries within your custom vocabulary. The language code of your custom vocabulary must match the language code of your transcription job. US English (en-US) is the only language code available for Amazon Transcribe Medical.

", - "CreateMedicalVocabularyResponse$LanguageCode": "

The language code you chose to describe the entries in your custom vocabulary. US English (en-US) is the only valid language code for Amazon Transcribe Medical.

", + "CreateMedicalVocabularyRequest$LanguageCode": "

The language code for the language used for the entries in your custom vocabulary. The language code of your custom vocabulary must match the language code of your transcription job. US English (en-US) is the only language code available for Amazon Transcribe Medical.

", + "CreateMedicalVocabularyResponse$LanguageCode": "

The language code for the entries in your custom vocabulary. US English (en-US) is the only valid language code for Amazon Transcribe Medical.

", "CreateVocabularyFilterRequest$LanguageCode": "

The language code of the words in the vocabulary filter. All words in the filter must be in the same language. The vocabulary filter can only be used with transcription jobs in the specified language.

", "CreateVocabularyFilterResponse$LanguageCode": "

The language code of the words in the collection.

", "CreateVocabularyRequest$LanguageCode": "

The language code of the vocabulary entries.

", "CreateVocabularyResponse$LanguageCode": "

The language code of the vocabulary entries.

", - "GetMedicalVocabularyResponse$LanguageCode": "

The valid language code returned for your vocabulary entries.

", + "GetMedicalVocabularyResponse$LanguageCode": "

The valid language code for your vocabulary entries.

", "GetVocabularyFilterResponse$LanguageCode": "

The language code of the words in the vocabulary filter.

", "GetVocabularyResponse$LanguageCode": "

The language code of the vocabulary entries.

", "MedicalTranscriptionJob$LanguageCode": "

The language code for the language spoken in the source audio file. US English (en-US) is the only supported language for medical transcriptions. Any other value you enter for language code results in a BadRequestException error.

", @@ -247,8 +305,8 @@ "StartTranscriptionJobRequest$LanguageCode": "

The language code for the language used in the input media file.

", "TranscriptionJob$LanguageCode": "

The language code for the input speech.

", "TranscriptionJobSummary$LanguageCode": "

The language code for the input speech.

", - "UpdateMedicalVocabularyRequest$LanguageCode": "

The language code of the entries in the updated vocabulary. US English (en-US) is the only valid language code in Amazon Transcribe Medical.

", - "UpdateMedicalVocabularyResponse$LanguageCode": "

The language code for the text file used to update the custom vocabulary. US English (en-US) is the only language supported in Amazon Transcribe Medical.

", + "UpdateMedicalVocabularyRequest$LanguageCode": "

The language code of the language used for the entries in the updated vocabulary. US English (en-US) is the only valid language code in Amazon Transcribe Medical.

", + "UpdateMedicalVocabularyResponse$LanguageCode": "

The language code for the language of the text file used to update the custom vocabulary. US English (en-US) is the only language supported in Amazon Transcribe Medical.

", "UpdateVocabularyFilterResponse$LanguageCode": "

The language code of the words in the vocabulary filter.

", "UpdateVocabularyRequest$LanguageCode": "

The language code of the vocabulary entries.

", "UpdateVocabularyResponse$LanguageCode": "

The language code of the vocabulary entries.

", @@ -256,11 +314,28 @@ "VocabularyInfo$LanguageCode": "

The language code of the vocabulary entries.

" } }, + "LanguageModel": { + "base": "

The structure used to describe a custom language model.

", + "refs": { + "DescribeLanguageModelResponse$LanguageModel": "

The name of the custom language model you requested more information about.

", + "Models$member": null + } + }, "LimitExceededException": { "base": "

Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

", "refs": { } }, + "ListLanguageModelsRequest": { + "base": null, + "refs": { + } + }, + "ListLanguageModelsResponse": { + "base": null, + "refs": { + } + }, "ListMedicalTranscriptionJobsRequest": { "base": null, "refs": { @@ -321,6 +396,7 @@ "MaxResults": { "base": null, "refs": { + "ListLanguageModelsRequest$MaxResults": "

The maximum number of language models to return in the response. If there are fewer results in the list, the response contains only the actual results.

", "ListMedicalTranscriptionJobsRequest$MaxResults": "

The maximum number of medical transcription jobs to return in the response. IF there are fewer results in the list, this response contains only the actual results.

", "ListMedicalVocabulariesRequest$MaxResults": "

The maximum number of vocabularies to return in the response.

", "ListTranscriptionJobsRequest$MaxResults": "

The maximum number of jobs to return in the response. If there are fewer results in the list, this response contains only the actual results.

", @@ -369,7 +445,7 @@ } }, "MedicalTranscriptionJob": { - "base": "

The data structure that containts the information for a medical transcription job.

", + "base": "

The data structure that contains the information for a medical transcription job.

", "refs": { "GetMedicalTranscriptionJobResponse$MedicalTranscriptionJob": "

An object that contains the results of the medical transcription job.

", "StartMedicalTranscriptionJobResponse$MedicalTranscriptionJob": "

A batch job submitted to transcribe medical speech to text.

" @@ -394,17 +470,53 @@ "StartMedicalTranscriptionJobRequest$Settings": "

Optional settings for the medical transcription job.

" } }, + "ModelName": { + "base": null, + "refs": { + "CreateLanguageModelRequest$ModelName": "

The name you choose for your custom language model when you create it.

", + "CreateLanguageModelResponse$ModelName": "

The name you've chosen for your custom language model.

", + "DeleteLanguageModelRequest$ModelName": "

The name of the model you're choosing to delete.

", + "DescribeLanguageModelRequest$ModelName": "

The name of the custom language model you submit to get more information.

", + "LanguageModel$ModelName": "

The name of the custom language model.

", + "ListLanguageModelsRequest$NameContains": "

When specified, the custom language model names returned contain the substring you've specified.

", + "ModelSettings$LanguageModelName": "

The name of your custom language model.

" + } + }, + "ModelSettings": { + "base": "

The object used to call your custom language model to your transcription job.

", + "refs": { + "StartTranscriptionJobRequest$ModelSettings": "

Choose the custom language model you use for your transcription job in this parameter.

", + "TranscriptionJob$ModelSettings": "

An object containing the details of your custom language model.

", + "TranscriptionJobSummary$ModelSettings": null + } + }, + "ModelStatus": { + "base": null, + "refs": { + "CreateLanguageModelResponse$ModelStatus": "

The status of the custom language model. When the status is COMPLETED the model is ready to use.

", + "LanguageModel$ModelStatus": "

The creation status of a custom language model. When the status is COMPLETED the model is ready for use.

", + "ListLanguageModelsRequest$StatusEquals": "

When specified, returns only custom language models with the specified status. Language models are ordered by creation date, with the newest models first. If you don't specify a status, Amazon Transcribe returns all custom language models ordered by date.

" + } + }, + "Models": { + "base": null, + "refs": { + "ListLanguageModelsResponse$Models": "

A list of objects containing information about custom language models.

" + } + }, "NextToken": { "base": null, "refs": { + "ListLanguageModelsRequest$NextToken": "

When included, fetches the next set of jobs if the result of the previous request was truncated.

", + "ListLanguageModelsResponse$NextToken": "

The operation returns a page of jobs at a time. The maximum size of the list is set by the MaxResults parameter. If there are more language models in the list than the page size, Amazon Transcribe returns the NextPage token. Include the token in the next request to the operation to return the next page of language models.

", "ListMedicalTranscriptionJobsRequest$NextToken": "

If you a receive a truncated result in the previous request of ListMedicalTranscriptionJobs, include NextToken to fetch the next set of jobs.

", "ListMedicalTranscriptionJobsResponse$NextToken": "

The ListMedicalTranscriptionJobs operation returns a page of jobs at a time. The maximum size of the page is set by the MaxResults parameter. If the number of jobs exceeds what can fit on a page, Amazon Transcribe Medical returns the NextPage token. Include the token in the next request to the ListMedicalTranscriptionJobs operation to return in the next page of jobs.

", - "ListMedicalVocabulariesRequest$NextToken": "

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

", - "ListMedicalVocabulariesResponse$NextToken": "

The ListMedicalVocabularies operation returns a page of vocabularies at a time. The maximum size of the page is set by the MaxResults parameter. If there are more jobs in the list than the page size, Amazon Transcribe Medical returns the NextPage token. Include the token in the next request to the ListMedicalVocabularies operation to return the next page of jobs.

", + "ListMedicalVocabulariesRequest$NextToken": "

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

", + "ListMedicalVocabulariesResponse$NextToken": "

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

", "ListTranscriptionJobsRequest$NextToken": "

If the result of the previous request to ListTranscriptionJobs was truncated, include the NextToken to fetch the next set of jobs.

", "ListTranscriptionJobsResponse$NextToken": "

The ListTranscriptionJobs operation returns a page of jobs at a time. The maximum size of the page is set by the MaxResults parameter. If there are more jobs in the list than the page size, Amazon Transcribe returns the NextPage token. Include the token in the next request to the ListTranscriptionJobs operation to return in the next page of jobs.

", "ListVocabulariesRequest$NextToken": "

If the result of the previous request to ListVocabularies was truncated, include the NextToken to fetch the next set of jobs.

", - "ListVocabulariesResponse$NextToken": "

The ListVocabularies operation returns a page of vocabularies at a time. The maximum size of the page is set by the MaxResults parameter. If there are more jobs in the list than the page size, Amazon Transcribe returns the NextPage token. Include the token in the next request to the ListVocabularies operation to return in the next page of jobs.

", + "ListVocabulariesResponse$NextToken": "

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

", "ListVocabularyFiltersRequest$NextToken": "

If the result of the previous request to ListVocabularyFilters was truncated, include the NextToken to fetch the next set of collections.

", "ListVocabularyFiltersResponse$NextToken": "

The ListVocabularyFilters operation returns a page of collections at a time. The maximum size of the page is set by the MaxResults parameter. If there are more jobs in the list than the page size, Amazon Transcribe returns the NextPage token. Include the token in the next request to the ListVocabularyFilters operation to return in the next page of jobs.

" } @@ -521,8 +633,8 @@ "ListTranscriptionJobsRequest$JobNameContains": "

When specified, the jobs returned in the list are limited to jobs whose name contains the specified string.

", "MedicalTranscriptionJob$MedicalTranscriptionJobName": "

The name for a given medical transcription job.

", "MedicalTranscriptionJobSummary$MedicalTranscriptionJobName": "

The name of a medical transcription job.

", - "StartMedicalTranscriptionJobRequest$MedicalTranscriptionJobName": "

The name of the medical transcription job. You can't use the strings \".\" or \"..\" by themselves as the job name. The name must also be unique within an AWS account. If you try to create a medical transcription job with the same name as a previous medical transcription job you will receive a ConflictException error.

", - "StartTranscriptionJobRequest$TranscriptionJobName": "

The name of the job. Note that you can't use the strings \".\" or \"..\" by themselves as the job name. The name must also be unique within an AWS account. If you try to create a transcription job with the same name as a previous transcription job you will receive a ConflictException error.

", + "StartMedicalTranscriptionJobRequest$MedicalTranscriptionJobName": "

The name of the medical transcription job. You can't use the strings \".\" or \"..\" by themselves as the job name. The name must also be unique within an AWS account. If you try to create a medical transcription job with the same name as a previous medical transcription job, you get a ConflictException error.

", + "StartTranscriptionJobRequest$TranscriptionJobName": "

The name of the job. You can't use the strings \".\" or \"..\" by themselves as the job name. The name must also be unique within an AWS account. If you try to create a transcription job with the same name as a previous transcription job, you get a ConflictException error.

", "TranscriptionJob$TranscriptionJobName": "

The name of the transcription job.

", "TranscriptionJobSummary$TranscriptionJobName": "

The name of the transcription job.

" } @@ -593,17 +705,19 @@ "Uri": { "base": null, "refs": { - "CreateMedicalVocabularyRequest$VocabularyFileUri": "

The Amazon S3 location of the text file you use to define your custom vocabulary. The URI must be in the same AWS region as the API endpoint you're calling. Enter information about your VocabularyFileUri in the following format:

https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>

This is an example of a vocabulary file uri location in Amazon S3:

https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt

For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies, see Medical Custom Vocabularies.

", + "CreateMedicalVocabularyRequest$VocabularyFileUri": "

The location in Amazon S3 of the text file you use to define your custom vocabulary. The URI must be in the same AWS Region as the resource that you're calling. Enter information about your VocabularyFileUri in the following format:

https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>

The following is an example URI for a vocabulary file that is stored in Amazon S3:

https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt

For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies, see Medical Custom Vocabularies.

", "CreateVocabularyFilterRequest$VocabularyFilterFileUri": "

The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.

The specified file must be less than 50 KB of UTF-8 characters.

If you provide the location of a list of words in the VocabularyFilterFileUri parameter, you can't use the Words parameter.

", "CreateVocabularyRequest$VocabularyFileUri": "

The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is

For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies, see Custom Vocabularies.

", - "GetMedicalVocabularyResponse$DownloadUri": "

The Amazon S3 location where the vocabulary is stored. Use this URI to get the contents of the vocabulary. You can download your vocabulary from the URI for a limited time.

", + "GetMedicalVocabularyResponse$DownloadUri": "

The location in Amazon S3 where the vocabulary is stored. Use this URI to get the contents of the vocabulary. You can download your vocabulary from the URI for a limited time.

", "GetVocabularyFilterResponse$DownloadUri": "

The URI of the list of words in the vocabulary filter. You can use this URI to get the list of words.

", "GetVocabularyResponse$DownloadUri": "

The S3 location where the vocabulary is stored. Use this URI to get the contents of the vocabulary. The URI is available for a limited time.

", + "InputDataConfig$S3Uri": "

The Amazon S3 prefix you specify to access the plain text files that you use to train your custom language model.

", + "InputDataConfig$TuningDataS3Uri": "

The Amazon S3 prefix you specify to access the plain text files that you use to tune your custom language model.

", "Media$MediaFileUri": "

The S3 object location of the input media file. The URI must be in the same region as the API endpoint that you are calling. The general form is:

For example:

For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

", "MedicalTranscript$TranscriptFileUri": "

The S3 object location of the medical transcript.

Use this URI to access the medical transcript. This URI points to the S3 bucket you created to store the medical transcript.

", - "Transcript$TranscriptFileUri": "

The S3 object location of the the transcript.

Use this URI to access the transcript. If you specified an S3 bucket in the OutputBucketName field when you created the job, this is the URI of that bucket. If you chose to store the transcript in Amazon Transcribe, this is a shareable URL that provides secure access to that location.

", - "Transcript$RedactedTranscriptFileUri": "

The S3 object location of the redacted transcript.

Use this URI to access the redacated transcript. If you specified an S3 bucket in the OutputBucketName field when you created the job, this is the URI of that bucket. If you chose to store the transcript in Amazon Transcribe, this is a shareable URL that provides secure access to that location.

", - "UpdateMedicalVocabularyRequest$VocabularyFileUri": "

The Amazon S3 location of the text file containing the definition of the custom vocabulary. The URI must be in the same AWS region as the API endpoint you are calling. You can see the fields you need to enter for you Amazon S3 location in the example URI here:

https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>

For example:

https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt

For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies in Amazon Transcribe Medical, see Medical Custom Vocabularies.

", + "Transcript$TranscriptFileUri": "

The S3 object location of the transcript.

Use this URI to access the transcript. If you specified an S3 bucket in the OutputBucketName field when you created the job, this is the URI of that bucket. If you chose to store the transcript in Amazon Transcribe, this is a shareable URL that provides secure access to that location.

", + "Transcript$RedactedTranscriptFileUri": "

The S3 object location of the redacted transcript.

Use this URI to access the redacted transcript. If you specified an S3 bucket in the OutputBucketName field when you created the job, this is the URI of that bucket. If you chose to store the transcript in Amazon Transcribe, this is a shareable URL that provides secure access to that location.

", + "UpdateMedicalVocabularyRequest$VocabularyFileUri": "

The location in Amazon S3 of the text file that contains the you use for your custom vocabulary. The URI must be in the same AWS Region as the resource that you are calling. The following is the format for a URI:

https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>

For example:

https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt

For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies in Amazon Transcribe Medical, see Medical Custom Vocabularies.

", "UpdateVocabularyFilterRequest$VocabularyFilterFileUri": "

The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.

The specified file must be less than 50 KB of UTF-8 characters.

If you provide the location of a list of words in the VocabularyFilterFileUri parameter, you can't use the Words parameter.

", "UpdateVocabularyRequest$VocabularyFileUri": "

The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is

For example:

For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies, see Custom Vocabularies.

" } @@ -611,7 +725,7 @@ "Vocabularies": { "base": null, "refs": { - "ListMedicalVocabulariesResponse$Vocabularies": "

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

", + "ListMedicalVocabulariesResponse$Vocabularies": "

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

", "ListVocabulariesResponse$Vocabularies": "

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

" } }, @@ -630,14 +744,14 @@ "VocabularyFilterName": { "base": null, "refs": { - "CreateVocabularyFilterRequest$VocabularyFilterName": "

The vocabulary filter name. The name must be unique within the account that contains it.If you try to create a vocabulary filter with the same name as a previous vocabulary filter you will receive a ConflictException error.

", + "CreateVocabularyFilterRequest$VocabularyFilterName": "

The vocabulary filter name. The name must be unique within the account that contains it. If you try to create a vocabulary filter with the same name as another vocabulary filter, you get a ConflictException error.

", "CreateVocabularyFilterResponse$VocabularyFilterName": "

The name of the vocabulary filter.

", "DeleteVocabularyFilterRequest$VocabularyFilterName": "

The name of the vocabulary filter to remove.

", "GetVocabularyFilterRequest$VocabularyFilterName": "

The name of the vocabulary filter for which to return information.

", "GetVocabularyFilterResponse$VocabularyFilterName": "

The name of the vocabulary filter.

", "ListVocabularyFiltersRequest$NameContains": "

Filters the response so that it only contains vocabulary filters whose name contains the specified string.

", "Settings$VocabularyFilterName": "

The name of the vocabulary filter to use when transcribing the audio. The filter that you specify must have the same language code as the transcription job.

", - "UpdateVocabularyFilterRequest$VocabularyFilterName": "

The name of the vocabulary filter to update. If you try to update a vocabulary filter with the same name as a previous vocabulary filter you will receive a ConflictException error.

", + "UpdateVocabularyFilterRequest$VocabularyFilterName": "

The name of the vocabulary filter to update. If you try to update a vocabulary filter with the same name as another vocabulary filter, you get a ConflictException error.

", "UpdateVocabularyFilterResponse$VocabularyFilterName": "

The name of the updated vocabulary filter.

", "VocabularyFilterInfo$VocabularyFilterName": "

The name of the vocabulary filter. The name must be unique in the account that holds the filter.

" } @@ -657,23 +771,23 @@ "VocabularyName": { "base": null, "refs": { - "CreateMedicalVocabularyRequest$VocabularyName": "

The name of the custom vocabulary. This case-sensitive name must be unique within an AWS account. If you try to create a vocabulary with the same name as a previous vocabulary you will receive a ConflictException error.

", - "CreateMedicalVocabularyResponse$VocabularyName": "

The name of the vocabulary. The name must be unique within an AWS account. It is also case-sensitive.

", - "CreateVocabularyRequest$VocabularyName": "

The name of the vocabulary. The name must be unique within an AWS account. The name is case-sensitive. If you try to create a vocabulary with the same name as a previous vocabulary you will receive a ConflictException error.

", + "CreateMedicalVocabularyRequest$VocabularyName": "

The name of the custom vocabulary. This case-sensitive name must be unique within an AWS account. If you try to create a vocabulary with the same name as a previous vocabulary, you get a ConflictException error.

", + "CreateMedicalVocabularyResponse$VocabularyName": "

The name of the vocabulary. The name must be unique within an AWS account and is case sensitive.

", + "CreateVocabularyRequest$VocabularyName": "

The name of the vocabulary. The name must be unique within an AWS account. The name is case sensitive. If you try to create a vocabulary with the same name as a previous vocabulary you will receive a ConflictException error.

", "CreateVocabularyResponse$VocabularyName": "

The name of the vocabulary.

", - "DeleteMedicalVocabularyRequest$VocabularyName": "

The name of the vocabulary you are choosing to delete.

", + "DeleteMedicalVocabularyRequest$VocabularyName": "

The name of the vocabulary that you want to delete.

", "DeleteVocabularyRequest$VocabularyName": "

The name of the vocabulary to delete.

", - "GetMedicalVocabularyRequest$VocabularyName": "

The name of the vocabulary you are trying to get information about. The value you enter for this request is case-sensitive.

", - "GetMedicalVocabularyResponse$VocabularyName": "

The valid name that Amazon Transcribe Medical returns.

", - "GetVocabularyRequest$VocabularyName": "

The name of the vocabulary to return information about. The name is case-sensitive.

", + "GetMedicalVocabularyRequest$VocabularyName": "

The name of the vocabulary that you want information about. The value is case sensitive.

", + "GetMedicalVocabularyResponse$VocabularyName": "

The name of the vocabulary returned by Amazon Transcribe Medical.

", + "GetVocabularyRequest$VocabularyName": "

The name of the vocabulary to return information about. The name is case sensitive.

", "GetVocabularyResponse$VocabularyName": "

The name of the vocabulary to return.

", - "ListMedicalVocabulariesRequest$NameContains": "

Returns vocabularies in the list whose name contains the specified string. The search is case-insensitive, ListMedicalVocabularies returns both \"vocabularyname\" and \"VocabularyName\" in the response list.

", - "ListVocabulariesRequest$NameContains": "

When specified, the vocabularies returned in the list are limited to vocabularies whose name contains the specified string. The search is case-insensitive, ListVocabularies returns both \"vocabularyname\" and \"VocabularyName\" in the response list.

", + "ListMedicalVocabulariesRequest$NameContains": "

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

", + "ListVocabulariesRequest$NameContains": "

When specified, the vocabularies returned in the list are limited to vocabularies whose name contains the specified string. The search is not case sensitive, ListVocabularies returns both \"vocabularyname\" and \"VocabularyName\" in the response list.

", "MedicalTranscriptionSetting$VocabularyName": "

The name of the vocabulary to use when processing a medical transcription job.

", "Settings$VocabularyName": "

The name of a vocabulary to use when processing the transcription job.

", - "UpdateMedicalVocabularyRequest$VocabularyName": "

The name of the vocabulary to update. The name is case-sensitive. If you try to update a vocabulary with the same name as a previous vocabulary you will receive a ConflictException error.

", + "UpdateMedicalVocabularyRequest$VocabularyName": "

The name of the vocabulary to update. The name is case sensitive. If you try to update a vocabulary with the same name as a vocabulary you've already made, you get a ConflictException error.

", "UpdateMedicalVocabularyResponse$VocabularyName": "

The name of the updated vocabulary.

", - "UpdateVocabularyRequest$VocabularyName": "

The name of the vocabulary to update. The name is case-sensitive. If you try to update a vocabulary with the same name as a previous vocabulary you will receive a ConflictException error.

", + "UpdateVocabularyRequest$VocabularyName": "

The name of the vocabulary to update. The name is case sensitive. If you try to update a vocabulary with the same name as a previous vocabulary you will receive a ConflictException error.

", "UpdateVocabularyResponse$VocabularyName": "

The name of the vocabulary that was updated.

", "VocabularyInfo$VocabularyName": "

The name of the vocabulary.

" } @@ -681,15 +795,15 @@ "VocabularyState": { "base": null, "refs": { - "CreateMedicalVocabularyResponse$VocabularyState": "

The processing state of your custom vocabulary in Amazon Transcribe Medical. If the state is READY you can use the vocabulary in a StartMedicalTranscriptionJob request.

", + "CreateMedicalVocabularyResponse$VocabularyState": "

The processing state of your custom vocabulary in Amazon Transcribe Medical. If the state is READY, you can use the vocabulary in a StartMedicalTranscriptionJob request.

", "CreateVocabularyResponse$VocabularyState": "

The processing state of the vocabulary. When the VocabularyState field contains READY the vocabulary is ready to be used in a StartTranscriptionJob request.

", - "GetMedicalVocabularyResponse$VocabularyState": "

The processing state of the vocabulary.

", + "GetMedicalVocabularyResponse$VocabularyState": "

The processing state of the vocabulary. If the VocabularyState is READY then you can use it in the StartMedicalTranscriptionJob operation.

", "GetVocabularyResponse$VocabularyState": "

The processing state of the vocabulary.

", - "ListMedicalVocabulariesRequest$StateEquals": "

When specified, only returns vocabularies with the VocabularyState equal to the specified vocabulary state.

", + "ListMedicalVocabulariesRequest$StateEquals": "

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

", "ListMedicalVocabulariesResponse$Status": "

The requested vocabulary state.

", "ListVocabulariesRequest$StateEquals": "

When specified, only returns vocabularies with the VocabularyState field equal to the specified state.

", "ListVocabulariesResponse$Status": "

The requested vocabulary state.

", - "UpdateMedicalVocabularyResponse$VocabularyState": "

The processing state of the update to the vocabulary. When the VocabularyState field is READY the vocabulary is ready to be used in a StartMedicalTranscriptionJob request.

", + "UpdateMedicalVocabularyResponse$VocabularyState": "

The processing state of the update to the vocabulary. When the VocabularyState field is READY, the vocabulary is ready to be used in a StartMedicalTranscriptionJob request.

", "UpdateVocabularyResponse$VocabularyState": "

The processing state of the vocabulary. When the VocabularyState field contains READY the vocabulary is ready to be used in a StartTranscriptionJob request.

", "VocabularyInfo$VocabularyState": "

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

" } diff --git a/models/apis/transcribe/2017-10-26/paginators-1.json b/models/apis/transcribe/2017-10-26/paginators-1.json index e6d8ba9920e..6ec63652b3b 100644 --- a/models/apis/transcribe/2017-10-26/paginators-1.json +++ b/models/apis/transcribe/2017-10-26/paginators-1.json @@ -1,5 +1,10 @@ { "pagination": { + "ListLanguageModels": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults" + }, "ListMedicalTranscriptionJobs": { "input_token": "NextToken", "output_token": "NextToken", diff --git a/service/appsync/api.go b/service/appsync/api.go index 83e616aff0d..ae36e3888a2 100644 --- a/service/appsync/api.go +++ b/service/appsync/api.go @@ -3990,7 +3990,29 @@ type ApiCache struct { // Valid values are between 1 and 3600 seconds. Ttl *int64 `locationName:"ttl" type:"long"` - // The cache instance type. + // The cache instance type. Valid values are + // + // * SMALL + // + // * MEDIUM + // + // * LARGE + // + // * XLARGE + // + // * LARGE_2X + // + // * LARGE_4X + // + // * LARGE_8X (not available in all regions) + // + // * LARGE_12X + // + // Historically, instance types were identified by an EC2-style value. As of + // July 2020, this is deprecated, and the generic identifiers above should be + // used. + // + // The following legacy instance types are avaible, but their use is discouraged: // // * T2_SMALL: A t2.small instance type. // @@ -4449,8 +4471,8 @@ type CachingConfig struct { // The caching keys for a resolver that has caching enabled. // - // Valid values are entries from the $context.arguments, $context.source, and - // $context.identity maps. + // Valid values are entries from the $context.identity and $context.arguments + // maps. CachingKeys []*string `locationName:"cachingKeys" type:"list"` // The TTL in seconds for a resolver that has caching enabled. @@ -4633,7 +4655,29 @@ type CreateApiCacheInput struct { // Ttl is a required field Ttl *int64 `locationName:"ttl" type:"long" required:"true"` - // The cache instance type. + // The cache instance type. Valid values are + // + // * SMALL + // + // * MEDIUM + // + // * LARGE + // + // * XLARGE + // + // * LARGE_2X + // + // * LARGE_4X + // + // * LARGE_8X (not available in all regions) + // + // * LARGE_12X + // + // Historically, instance types were identified by an EC2-style value. As of + // July 2020, this is deprecated, and the generic identifiers above should be + // used. + // + // The following legacy instance types are avaible, but their use is discouraged: // // * T2_SMALL: A t2.small instance type. // @@ -5041,9 +5085,7 @@ type CreateFunctionInput struct { // The Function request mapping template. Functions support only the 2018-05-29 // version of the request mapping template. - // - // RequestMappingTemplate is a required field - RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string" required:"true"` + RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string"` // The Function response mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` @@ -5083,9 +5125,6 @@ func (s *CreateFunctionInput) Validate() error { if s.Name != nil && len(*s.Name) < 1 { invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } - if s.RequestMappingTemplate == nil { - invalidParams.Add(request.NewErrParamRequired("RequestMappingTemplate")) - } if s.RequestMappingTemplate != nil && len(*s.RequestMappingTemplate) < 1 { invalidParams.Add(request.NewErrParamMinLen("RequestMappingTemplate", 1)) } @@ -5359,9 +5398,7 @@ type CreateResolverInput struct { // A resolver uses a request mapping template to convert a GraphQL expression // into a format that a data source can understand. Mapping templates are written // in Apache Velocity Template Language (VTL). - // - // RequestMappingTemplate is a required field - RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string" required:"true"` + RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string"` // The mapping template to be used for responses from the data source. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` @@ -5403,9 +5440,6 @@ func (s *CreateResolverInput) Validate() error { if s.FieldName != nil && len(*s.FieldName) < 1 { invalidParams.Add(request.NewErrParamMinLen("FieldName", 1)) } - if s.RequestMappingTemplate == nil { - invalidParams.Add(request.NewErrParamRequired("RequestMappingTemplate")) - } if s.RequestMappingTemplate != nil && len(*s.RequestMappingTemplate) < 1 { invalidParams.Add(request.NewErrParamMinLen("RequestMappingTemplate", 1)) } @@ -9204,7 +9238,29 @@ type UpdateApiCacheInput struct { // Ttl is a required field Ttl *int64 `locationName:"ttl" type:"long" required:"true"` - // The cache instance type. + // The cache instance type. Valid values are + // + // * SMALL + // + // * MEDIUM + // + // * LARGE + // + // * XLARGE + // + // * LARGE_2X + // + // * LARGE_4X + // + // * LARGE_8X (not available in all regions) + // + // * LARGE_12X + // + // Historically, instance types were identified by an EC2-style value. As of + // July 2020, this is deprecated, and the generic identifiers above should be + // used. + // + // The following legacy instance types are avaible, but their use is discouraged: // // * T2_SMALL: A t2.small instance type. // @@ -9619,9 +9675,7 @@ type UpdateFunctionInput struct { // The Function request mapping template. Functions support only the 2018-05-29 // version of the request mapping template. - // - // RequestMappingTemplate is a required field - RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string" required:"true"` + RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string"` // The Function request mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` @@ -9667,9 +9721,6 @@ func (s *UpdateFunctionInput) Validate() error { if s.Name != nil && len(*s.Name) < 1 { invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } - if s.RequestMappingTemplate == nil { - invalidParams.Add(request.NewErrParamRequired("RequestMappingTemplate")) - } if s.RequestMappingTemplate != nil && len(*s.RequestMappingTemplate) < 1 { invalidParams.Add(request.NewErrParamMinLen("RequestMappingTemplate", 1)) } @@ -9945,9 +9996,7 @@ type UpdateResolverInput struct { PipelineConfig *PipelineConfig `locationName:"pipelineConfig" type:"structure"` // The new request mapping template. - // - // RequestMappingTemplate is a required field - RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string" required:"true"` + RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string"` // The new response mapping template. ResponseMappingTemplate *string `locationName:"responseMappingTemplate" min:"1" type:"string"` @@ -9989,9 +10038,6 @@ func (s *UpdateResolverInput) Validate() error { if s.FieldName != nil && len(*s.FieldName) < 1 { invalidParams.Add(request.NewErrParamMinLen("FieldName", 1)) } - if s.RequestMappingTemplate == nil { - invalidParams.Add(request.NewErrParamRequired("RequestMappingTemplate")) - } if s.RequestMappingTemplate != nil && len(*s.RequestMappingTemplate) < 1 { invalidParams.Add(request.NewErrParamMinLen("RequestMappingTemplate", 1)) } diff --git a/service/fsx/api.go b/service/fsx/api.go index 8cb64359c91..03e58ebc29f 100644 --- a/service/fsx/api.go +++ b/service/fsx/api.go @@ -167,7 +167,7 @@ func (c *FSx) CreateBackupRequest(input *CreateBackupInput) (req *request.Reques // // * a Persistent deployment type // -// * is not linked to an Amazon S3 data respository. +// * is not linked to a data respository. // // For more information about backing up Amazon FSx for Lustre file systems, // see Working with FSx for Lustre backups (https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-backups-fsx.html). @@ -2564,9 +2564,9 @@ func (s *CompletionReport) SetScope(v string) *CompletionReport { type CreateBackupInput struct { _ struct{} `type:"structure"` - // A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent - // creation. This string is automatically filled on your behalf when you use - // the AWS Command Line Interface (AWS CLI) or an AWS SDK. + // (Optional) A string of up to 64 ASCII characters that Amazon FSx uses to + // ensure idempotent creation. This string is automatically filled on your behalf + // when you use the AWS Command Line Interface (AWS CLI) or an AWS SDK. ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // The ID of the file system to back up. @@ -2574,10 +2574,10 @@ type CreateBackupInput struct { // FileSystemId is a required field FileSystemId *string `min:"11" type:"string" required:"true"` - // The tags to apply to the backup at backup creation. The key value of the - // Name tag appears in the console as the backup name. If you have set CopyTagsToBackups - // to true, and you specify one or more tags using the CreateBackup action, - // no existing tags on the file system are copied from the file system to the + // (Optional) The tags to apply to the backup at backup creation. The key value + // of the Name tag appears in the console as the backup name. If you have set + // CopyTagsToBackups to true, and you specify one or more tags using the CreateBackup + // action, no existing file system tags are copied from the file system to the // backup. Tags []*Tag `min:"1" type:"list"` } @@ -3041,11 +3041,11 @@ type CreateFileSystemInput struct { // // For Lustre file systems: // - // * For SCRATCH_2 and PERSISTENT_1 deployment types, valid values are 1.2, - // 2.4, and increments of 2.4 TiB. + // * For SCRATCH_2 and PERSISTENT_1 deployment types, valid values are 1200 + // GiB, 2400 GiB, and increments of 2400 GiB. // - // * For SCRATCH_1 deployment type, valid values are 1.2, 2.4, and increments - // of 3.6 TiB. + // * For SCRATCH_1 deployment type, valid values are 1200 GiB, 2400 GiB, + // and increments of 3600 GiB. // // For Windows file systems: // @@ -3212,26 +3212,24 @@ func (s *CreateFileSystemInput) SetWindowsConfiguration(v *CreateFileSystemWindo type CreateFileSystemLustreConfiguration struct { _ struct{} `type:"structure"` - // (Optional) Use this property to configure the AutoImport feature on the file - // system's linked Amazon S3 data repository. You use AutoImport to update the - // contents of your FSx for Lustre file system automatically with changes that - // occur in the linked S3 data repository. AutoImportPolicy can have the following - // values: + // (Optional) When you create your file system, your existing S3 objects appear + // as file and directory listings. Use this property to choose how Amazon FSx + // keeps your file and directory listings up to date as you add or modify objects + // in your linked S3 bucket. AutoImportPolicy can have the following values: // - // * NONE - (Default) AutoImport is off. Changes in the linked data repository - // are not reflected on the FSx file system. + // * NONE - (Default) AutoImport is off. Amazon FSx only updates file and + // directory listings from the linked S3 bucket when the file system is created. + // FSx does not update file and directory listings for any new or changed + // objects after choosing this option. // - // * NEW - AutoImport is on. New files in the linked data repository that - // do not currently exist in the FSx file system are automatically imported. - // Updates to existing FSx files are not imported to the FSx file system. - // Files deleted from the linked data repository are not deleted from the - // FSx file system. + // * NEW - AutoImport is on. Amazon FSx automatically imports directory listings + // of any new objects added to the linked S3 bucket that do not currently + // exist in the FSx file system. // - // * NEW_CHANGED - AutoImport is on. New files in the linked S3 data repository - // that do not currently exist in the FSx file system are automatically imported. - // Changes to existing FSx files in the linked repository are also automatically - // imported to the FSx file system. Files deleted from the linked data repository - // are not deleted from the FSx file system. + // * NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports file + // and directory listings of any new objects added to the S3 bucket and any + // existing objects that are changed in the S3 bucket after you choose this + // option. // // For more information, see Automatically import updates from your S3 bucket // (https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html). @@ -3242,13 +3240,14 @@ type CreateFileSystemLustreConfiguration struct { // The default is 0. AutomaticBackupRetentionDays *int64 `type:"integer"` - // A boolean flag indicating whether tags for the file system should be copied - // to backups. This value defaults to false. If it's set to true, all tags for - // the file system are copied to all automatic and user-initiated backups where - // the user doesn't specify tags. If this value is true, and you specify one - // or more tags, only the specified tags are copied to backups. If you specify - // one or more tags when creating a user-initiated backup, no tags are copied - // from the file system, regardless of this value. + // (Optional) Not available to use with file systems that are linked to a data + // repository. A boolean flag indicating whether tags for the file system should + // be copied to backups. The default value is false. If it's set to true, all + // file system tags are copied to all automatic and user-initiated backups when + // the user doesn't specify any backup-specific tags. If this value is true, + // and you specify one or more backup tags, only the specified tags are copied + // to backups. If you specify one or more tags when creating a user-initiated + // backup, no tags are copied from the file system, regardless of this value. // // For more information, see Working with backups (https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-backups-fsx.html). CopyTagsToBackups *bool `type:"boolean"` @@ -3320,9 +3319,9 @@ type CreateFileSystemLustreConfiguration struct { // Valid values are 50, 100, 200. PerUnitStorageThroughput *int64 `min:"50" type:"integer"` - // The preferred start time to perform weekly maintenance, formatted d:HH:MM - // in the UTC time zone, where d is the weekday number, from 1 through 7, beginning - // with Monday and ending with Sunday. + // (Optional) The preferred start time to perform weekly maintenance, formatted + // d:HH:MM in the UTC time zone, where d is the weekday number, from 1 through + // 7, beginning with Monday and ending with Sunday. WeeklyMaintenanceStartTime *string `min:"7" type:"string"` } @@ -3620,24 +3619,23 @@ type DataRepositoryConfiguration struct { _ struct{} `type:"structure"` // Describes the file system's linked S3 data repository's AutoImportPolicy. - // The AutoImportPolicy configures how your FSx for Lustre file system automatically - // updates its contents with changes that occur in the linked S3 data repository. + // The AutoImportPolicy configures how Amazon FSx keeps your file and directory + // listings up to date as you add or modify objects in your linked S3 bucket. // AutoImportPolicy can have the following values: // - // * NONE - (Default) AutoImport is off. Changes in the linked data repository - // are not reflected on the FSx file system. + // * NONE - (Default) AutoImport is off. Amazon FSx only updates file and + // directory listings from the linked S3 bucket when the file system is created. + // FSx does not update file and directory listings for any new or changed + // objects after choosing this option. // - // * NEW - AutoImport is on. New files in the linked data repository that - // do not currently exist in the FSx file system are automatically imported. - // Updates to existing FSx files are not imported to the FSx file system. - // Files deleted from the linked data repository are not deleted from the - // FSx file system. + // * NEW - AutoImport is on. Amazon FSx automatically imports directory listings + // of any new objects added to the linked S3 bucket that do not currently + // exist in the FSx file system. // - // * NEW_CHANGED - AutoImport is on. New files in the linked S3 data repository - // that do not currently exist in the FSx file system are automatically imported. - // Changes to existing FSx files in the linked repository are also automatically - // imported to the FSx file system. Files deleted from the linked data repository - // are not deleted from the FSx file system. + // * NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports file + // and directory listings of any new objects added to the S3 bucket and any + // existing objects that are changed in the S3 bucket after you choose this + // option. // // For more information, see Automatically import updates from your S3 bucket // (https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html). @@ -6877,26 +6875,24 @@ func (s *UpdateFileSystemInput) SetWindowsConfiguration(v *UpdateFileSystemWindo type UpdateFileSystemLustreConfiguration struct { _ struct{} `type:"structure"` - // (Optional) Use this property to configure the AutoImport feature on the file - // system's linked Amazon S3 data repository. You use AutoImport to update the - // contents of your FSx for Lustre file system automatically with changes that - // occur in the linked S3 data repository. AutoImportPolicy can have the following - // values: + // (Optional) When you create your file system, your existing S3 objects appear + // as file and directory listings. Use this property to choose how Amazon FSx + // keeps your file and directory listing up to date as you add or modify objects + // in your linked S3 bucket. AutoImportPolicy can have the following values: // - // * NONE - (Default) AutoImport is off. Changes in the linked data repository - // are not reflected on the FSx file system. + // * NONE - (Default) AutoImport is off. Amazon FSx only updates file and + // directory listings from the linked S3 bucket when the file system is created. + // FSx does not update the file and directory listing for any new or changed + // objects after choosing this option. // - // * NEW - AutoImport is on. New files in the linked data repository that - // do not currently exist in the FSx file system are automatically imported. - // Updates to existing FSx files are not imported to the FSx file system. - // Files deleted from the linked data repository are not deleted from the - // FSx file system. + // * NEW - AutoImport is on. Amazon FSx automatically imports directory listings + // of any new objects added to the linked S3 bucket that do not currently + // exist in the FSx file system. // - // * NEW_CHANGED - AutoImport is on. New files in the linked S3 data repository - // that do not currently exist in the FSx file system are automatically imported. - // Changes to existing FSx files in the linked repository are also automatically - // imported to the FSx file system. Files deleted from the linked data repository - // are not deleted from the FSx file system. + // * NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports file + // and directory listings of any new objects added to the S3 bucket and any + // existing objects that are changed in the S3 bucket after you choose this + // option. // // For more information, see Automatically import updates from your S3 bucket // (https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html). @@ -6912,9 +6908,9 @@ type UpdateFileSystemLustreConfiguration struct { // 05:00 specifies 5 AM daily. DailyAutomaticBackupStartTime *string `min:"5" type:"string"` - // The preferred start time to perform weekly maintenance, formatted d:HH:MM - // in the UTC time zone. d is the weekday number, from 1 through 7, beginning - // with Monday and ending with Sunday. + // (Optional) The preferred start time to perform weekly maintenance, formatted + // d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7, + // beginning with Monday and ending with Sunday. WeeklyMaintenanceStartTime *string `min:"7" type:"string"` } diff --git a/service/resourcegroupstaggingapi/doc.go b/service/resourcegroupstaggingapi/doc.go index 85ffbf7ddbc..1c60a1c7c14 100644 --- a/service/resourcegroupstaggingapi/doc.go +++ b/service/resourcegroupstaggingapi/doc.go @@ -168,8 +168,6 @@ // // * AWS Firewall Manager (https://docs.aws.amazon.com/firewall-manager) // -// * Amazon Fraud Detector (https://docs.aws.amazon.com/frauddetector) -// // * Amazon FSx (https://docs.aws.amazon.com/fsx) // // * Amazon S3 Glacier (https://docs.aws.amazon.com/s3/?id=docs_gateway#amazon-s3-glacier) diff --git a/service/sns/api.go b/service/sns/api.go index 8fd2eba3ed1..e78534596b5 100644 --- a/service/sns/api.go +++ b/service/sns/api.go @@ -553,10 +553,10 @@ func (c *SNS) CreateTopicRequest(input *CreateTopicInput) (req *request.Request, // CreateTopic API operation for Amazon Simple Notification Service. // // Creates a topic to which notifications can be published. Users can create -// at most 100,000 standard topics (at most 1,000 FIFO topics). For more information, -// see https://aws.amazon.com/sns (http://aws.amazon.com/sns/). This action -// is idempotent, so if the requester already owns a topic with the specified -// name, that topic's ARN is returned without creating a new topic. +// at most 100,000 topics. For more information, see https://aws.amazon.com/sns +// (http://aws.amazon.com/sns/). This action is idempotent, so if the requester +// already owns a topic with the specified name, that topic's ARN is returned +// without creating a new topic. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3992,30 +3992,15 @@ type CreateTopicInput struct { // // * DisplayName – The display name to use for a topic with SMS subscriptions. // - // * FifoTopic – Set to true to create a FIFO topic. - // // * Policy – The policy that defines who can access your topic. By default, // only the topic owner can publish or subscribe to the topic. // // The following attribute applies only to server-side-encryption (https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html): // - // * KmsMasterKeyId – The ID of an AWS-managed customer master key (CMK) + // * KmsMasterKeyId - The ID of an AWS-managed customer master key (CMK) // for Amazon SNS or a custom CMK. For more information, see Key Terms (https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html#sse-key-terms). // For more examples, see KeyId (https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters) // in the AWS Key Management Service API Reference. - // - // The following attribute applies only to FIFO topics: - // - // * ContentBasedDeduplication – Enables content-based deduplication. Amazon - // SNS uses a SHA-256 hash to generate the MessageDeduplicationId using the - // body of the message (but not the attributes of the message). - // - // * When ContentBasedDeduplication is in effect, messages with identical - // content sent within the deduplication interval are treated as duplicates - // and only one copy of the message is delivered. - // - // * If the queue has ContentBasedDeduplication set, your MessageDeduplicationId - // overrides the generated one. Attributes map[string]*string `type:"map"` // The name of the topic you want to create. @@ -4024,8 +4009,6 @@ type CreateTopicInput struct { // ASCII letters, numbers, underscores, and hyphens, and must be between 1 and // 256 characters long. // - // For a FIFO (first-in-first-out) topic, the name must end with the .fifo suffix. - // // Name is a required field Name *string `type:"string" required:"true"` @@ -6013,24 +5996,11 @@ type SetTopicAttributesInput struct { // // The following attribute applies only to server-side-encryption (https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html): // - // * KmsMasterKeyId – The ID of an AWS-managed customer master key (CMK) + // * KmsMasterKeyId - The ID of an AWS-managed customer master key (CMK) // for Amazon SNS or a custom CMK. For more information, see Key Terms (https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html#sse-key-terms). // For more examples, see KeyId (https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters) // in the AWS Key Management Service API Reference. // - // The following attribute applies only to FIFO topics: - // - // * ContentBasedDeduplication – Enables content-based deduplication. Amazon - // SNS uses a SHA-256 hash to generate the MessageDeduplicationId using the - // body of the message (but not the attributes of the message). - // - // * When ContentBasedDeduplication is in effect, messages with identical - // content sent within the deduplication interval are treated as duplicates - // and only one copy of the message is delivered. - // - // * If the queue has ContentBasedDeduplication set, your MessageDeduplicationId - // overrides the generated one. - // // AttributeName is a required field AttributeName *string `type:"string" required:"true"` diff --git a/service/transcribeservice/api.go b/service/transcribeservice/api.go index 9c6ce85579f..5e6c8c2c69d 100644 --- a/service/transcribeservice/api.go +++ b/service/transcribeservice/api.go @@ -13,6 +13,101 @@ import ( "github.com/aws/aws-sdk-go/private/protocol/jsonrpc" ) +const opCreateLanguageModel = "CreateLanguageModel" + +// CreateLanguageModelRequest generates a "aws/request.Request" representing the +// client's request for the CreateLanguageModel operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateLanguageModel for more information on using the CreateLanguageModel +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateLanguageModelRequest method. +// req, resp := client.CreateLanguageModelRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateLanguageModel +func (c *TranscribeService) CreateLanguageModelRequest(input *CreateLanguageModelInput) (req *request.Request, output *CreateLanguageModelOutput) { + op := &request.Operation{ + Name: opCreateLanguageModel, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateLanguageModelInput{} + } + + output = &CreateLanguageModelOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateLanguageModel API operation for Amazon Transcribe Service. +// +// Creates a new custom language model. Use Amazon S3 prefixes to provide the +// location of your input files. The time it takes to create your model depends +// on the size of your training data. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Transcribe Service's +// API operation CreateLanguageModel for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// * LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. +// +// * InternalFailureException +// There was an internal error. Check the error message and try your request +// again. +// +// * ConflictException +// There is already a resource with that name. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateLanguageModel +func (c *TranscribeService) CreateLanguageModel(input *CreateLanguageModelInput) (*CreateLanguageModelOutput, error) { + req, out := c.CreateLanguageModelRequest(input) + return out, req.Send() +} + +// CreateLanguageModelWithContext is the same as CreateLanguageModel with the addition of +// the ability to pass a context and additional request options. +// +// See CreateLanguageModel for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *TranscribeService) CreateLanguageModelWithContext(ctx aws.Context, input *CreateLanguageModelInput, opts ...request.Option) (*CreateLanguageModelOutput, error) { + req, out := c.CreateLanguageModelRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateMedicalVocabulary = "CreateMedicalVocabulary" // CreateMedicalVocabularyRequest generates a "aws/request.Request" representing the @@ -70,7 +165,7 @@ func (c *TranscribeService) CreateMedicalVocabularyRequest(input *CreateMedicalV // Returned Error Types: // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -83,7 +178,7 @@ func (c *TranscribeService) CreateMedicalVocabularyRequest(input *CreateMedicalV // again. // // * ConflictException -// The resource name already exists. +// There is already a resource with that name. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateMedicalVocabulary func (c *TranscribeService) CreateMedicalVocabulary(input *CreateMedicalVocabularyInput) (*CreateMedicalVocabularyOutput, error) { @@ -164,7 +259,7 @@ func (c *TranscribeService) CreateVocabularyRequest(input *CreateVocabularyInput // Returned Error Types: // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -177,7 +272,7 @@ func (c *TranscribeService) CreateVocabularyRequest(input *CreateVocabularyInput // again. // // * ConflictException -// The resource name already exists. +// There is already a resource with that name. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabulary func (c *TranscribeService) CreateVocabulary(input *CreateVocabularyInput) (*CreateVocabularyOutput, error) { @@ -258,7 +353,7 @@ func (c *TranscribeService) CreateVocabularyFilterRequest(input *CreateVocabular // Returned Error Types: // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -271,7 +366,7 @@ func (c *TranscribeService) CreateVocabularyFilterRequest(input *CreateVocabular // again. // // * ConflictException -// The resource name already exists. +// There is already a resource with that name. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyFilter func (c *TranscribeService) CreateVocabularyFilter(input *CreateVocabularyFilterInput) (*CreateVocabularyFilterOutput, error) { @@ -295,6 +390,97 @@ func (c *TranscribeService) CreateVocabularyFilterWithContext(ctx aws.Context, i return out, req.Send() } +const opDeleteLanguageModel = "DeleteLanguageModel" + +// DeleteLanguageModelRequest generates a "aws/request.Request" representing the +// client's request for the DeleteLanguageModel operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteLanguageModel for more information on using the DeleteLanguageModel +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteLanguageModelRequest method. +// req, resp := client.DeleteLanguageModelRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteLanguageModel +func (c *TranscribeService) DeleteLanguageModelRequest(input *DeleteLanguageModelInput) (req *request.Request, output *DeleteLanguageModelOutput) { + op := &request.Operation{ + Name: opDeleteLanguageModel, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteLanguageModelInput{} + } + + output = &DeleteLanguageModelOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteLanguageModel API operation for Amazon Transcribe Service. +// +// Deletes a custom language model using its name. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Transcribe Service's +// API operation DeleteLanguageModel for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// * LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. +// +// * InternalFailureException +// There was an internal error. Check the error message and try your request +// again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteLanguageModel +func (c *TranscribeService) DeleteLanguageModel(input *DeleteLanguageModelInput) (*DeleteLanguageModelOutput, error) { + req, out := c.DeleteLanguageModelRequest(input) + return out, req.Send() +} + +// DeleteLanguageModelWithContext is the same as DeleteLanguageModel with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteLanguageModel for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *TranscribeService) DeleteLanguageModelWithContext(ctx aws.Context, input *DeleteLanguageModelInput, opts ...request.Option) (*DeleteLanguageModelOutput, error) { + req, out := c.DeleteLanguageModelRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteMedicalTranscriptionJob = "DeleteMedicalTranscriptionJob" // DeleteMedicalTranscriptionJobRequest generates a "aws/request.Request" representing the @@ -357,7 +543,7 @@ func (c *TranscribeService) DeleteMedicalTranscriptionJobRequest(input *DeleteMe // // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -452,7 +638,7 @@ func (c *TranscribeService) DeleteMedicalVocabularyRequest(input *DeleteMedicalV // // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -544,7 +730,7 @@ func (c *TranscribeService) DeleteTranscriptionJobRequest(input *DeleteTranscrip // // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -639,7 +825,7 @@ func (c *TranscribeService) DeleteVocabularyRequest(input *DeleteVocabularyInput // // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -734,7 +920,7 @@ func (c *TranscribeService) DeleteVocabularyFilterRequest(input *DeleteVocabular // // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -764,6 +950,106 @@ func (c *TranscribeService) DeleteVocabularyFilterWithContext(ctx aws.Context, i return out, req.Send() } +const opDescribeLanguageModel = "DescribeLanguageModel" + +// DescribeLanguageModelRequest generates a "aws/request.Request" representing the +// client's request for the DescribeLanguageModel operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeLanguageModel for more information on using the DescribeLanguageModel +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeLanguageModelRequest method. +// req, resp := client.DescribeLanguageModelRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DescribeLanguageModel +func (c *TranscribeService) DescribeLanguageModelRequest(input *DescribeLanguageModelInput) (req *request.Request, output *DescribeLanguageModelOutput) { + op := &request.Operation{ + Name: opDescribeLanguageModel, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeLanguageModelInput{} + } + + output = &DescribeLanguageModelOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeLanguageModel API operation for Amazon Transcribe Service. +// +// Gets information about a single custom language model. Use this information +// to see details about the language model in your AWS account. You can also +// see whether the base language model used to create your custom language model +// has been updated. If Amazon Transcribe has updated the base model, you can +// create a new custom language model using the updated base model. If the language +// model wasn't created, you can use this operation to understand why Amazon +// Transcribe couldn't create it. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Transcribe Service's +// API operation DescribeLanguageModel for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// * LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. +// +// * InternalFailureException +// There was an internal error. Check the error message and try your request +// again. +// +// * NotFoundException +// We can't find the requested resource. Check the name and try your request +// again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DescribeLanguageModel +func (c *TranscribeService) DescribeLanguageModel(input *DescribeLanguageModelInput) (*DescribeLanguageModelOutput, error) { + req, out := c.DescribeLanguageModelRequest(input) + return out, req.Send() +} + +// DescribeLanguageModelWithContext is the same as DescribeLanguageModel with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeLanguageModel for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *TranscribeService) DescribeLanguageModelWithContext(ctx aws.Context, input *DescribeLanguageModelInput, opts ...request.Option) (*DescribeLanguageModelOutput, error) { + req, out := c.DescribeLanguageModelRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetMedicalTranscriptionJob = "GetMedicalTranscriptionJob" // GetMedicalTranscriptionJobRequest generates a "aws/request.Request" representing the @@ -823,7 +1109,7 @@ func (c *TranscribeService) GetMedicalTranscriptionJobRequest(input *GetMedicalT // Returned Error Types: // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -905,7 +1191,7 @@ func (c *TranscribeService) GetMedicalVocabularyRequest(input *GetMedicalVocabul // GetMedicalVocabulary API operation for Amazon Transcribe Service. // -// Retrieve information about a medical vocabulary. +// Retrieves information about a medical vocabulary. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -929,7 +1215,7 @@ func (c *TranscribeService) GetMedicalVocabularyRequest(input *GetMedicalVocabul // // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -1015,7 +1301,7 @@ func (c *TranscribeService) GetTranscriptionJobRequest(input *GetTranscriptionJo // Returned Error Types: // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -1121,7 +1407,7 @@ func (c *TranscribeService) GetVocabularyRequest(input *GetVocabularyInput) (req // // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -1215,7 +1501,7 @@ func (c *TranscribeService) GetVocabularyFilterRequest(input *GetVocabularyFilte // // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -1241,35 +1527,35 @@ func (c *TranscribeService) GetVocabularyFilterWithContext(ctx aws.Context, inpu return out, req.Send() } -const opListMedicalTranscriptionJobs = "ListMedicalTranscriptionJobs" +const opListLanguageModels = "ListLanguageModels" -// ListMedicalTranscriptionJobsRequest generates a "aws/request.Request" representing the -// client's request for the ListMedicalTranscriptionJobs operation. The "output" return +// ListLanguageModelsRequest generates a "aws/request.Request" representing the +// client's request for the ListLanguageModels operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListMedicalTranscriptionJobs for more information on using the ListMedicalTranscriptionJobs +// See ListLanguageModels for more information on using the ListLanguageModels // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListMedicalTranscriptionJobsRequest method. -// req, resp := client.ListMedicalTranscriptionJobsRequest(params) +// // Example sending a request using the ListLanguageModelsRequest method. +// req, resp := client.ListLanguageModelsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalTranscriptionJobs -func (c *TranscribeService) ListMedicalTranscriptionJobsRequest(input *ListMedicalTranscriptionJobsInput) (req *request.Request, output *ListMedicalTranscriptionJobsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListLanguageModels +func (c *TranscribeService) ListLanguageModelsRequest(input *ListLanguageModelsInput) (req *request.Request, output *ListLanguageModelsOutput) { op := &request.Operation{ - Name: opListMedicalTranscriptionJobs, + Name: opListLanguageModels, HTTPMethod: "POST", HTTPPath: "/", Paginator: &request.Paginator{ @@ -1281,30 +1567,31 @@ func (c *TranscribeService) ListMedicalTranscriptionJobsRequest(input *ListMedic } if input == nil { - input = &ListMedicalTranscriptionJobsInput{} + input = &ListLanguageModelsInput{} } - output = &ListMedicalTranscriptionJobsOutput{} + output = &ListLanguageModelsOutput{} req = c.newRequest(op, input, output) return } -// ListMedicalTranscriptionJobs API operation for Amazon Transcribe Service. +// ListLanguageModels API operation for Amazon Transcribe Service. // -// Lists medical transcription jobs with a specified status or substring that -// matches their names. +// Provides more information about the custom language models you've created. +// You can use the information in this list to find a specific custom language +// model. You can then use the operation to get more information about it. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Transcribe Service's -// API operation ListMedicalTranscriptionJobs for usage and error information. +// API operation ListLanguageModels for usage and error information. // // Returned Error Types: // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -1316,65 +1603,65 @@ func (c *TranscribeService) ListMedicalTranscriptionJobsRequest(input *ListMedic // There was an internal error. Check the error message and try your request // again. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalTranscriptionJobs -func (c *TranscribeService) ListMedicalTranscriptionJobs(input *ListMedicalTranscriptionJobsInput) (*ListMedicalTranscriptionJobsOutput, error) { - req, out := c.ListMedicalTranscriptionJobsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListLanguageModels +func (c *TranscribeService) ListLanguageModels(input *ListLanguageModelsInput) (*ListLanguageModelsOutput, error) { + req, out := c.ListLanguageModelsRequest(input) return out, req.Send() } -// ListMedicalTranscriptionJobsWithContext is the same as ListMedicalTranscriptionJobs with the addition of +// ListLanguageModelsWithContext is the same as ListLanguageModels with the addition of // the ability to pass a context and additional request options. // -// See ListMedicalTranscriptionJobs for details on how to use this API operation. +// See ListLanguageModels for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *TranscribeService) ListMedicalTranscriptionJobsWithContext(ctx aws.Context, input *ListMedicalTranscriptionJobsInput, opts ...request.Option) (*ListMedicalTranscriptionJobsOutput, error) { - req, out := c.ListMedicalTranscriptionJobsRequest(input) +func (c *TranscribeService) ListLanguageModelsWithContext(ctx aws.Context, input *ListLanguageModelsInput, opts ...request.Option) (*ListLanguageModelsOutput, error) { + req, out := c.ListLanguageModelsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListMedicalTranscriptionJobsPages iterates over the pages of a ListMedicalTranscriptionJobs operation, +// ListLanguageModelsPages iterates over the pages of a ListLanguageModels operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListMedicalTranscriptionJobs method for more information on how to use this operation. +// See ListLanguageModels method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMedicalTranscriptionJobs operation. +// // Example iterating over at most 3 pages of a ListLanguageModels operation. // pageNum := 0 -// err := client.ListMedicalTranscriptionJobsPages(params, -// func(page *transcribeservice.ListMedicalTranscriptionJobsOutput, lastPage bool) bool { +// err := client.ListLanguageModelsPages(params, +// func(page *transcribeservice.ListLanguageModelsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) // -func (c *TranscribeService) ListMedicalTranscriptionJobsPages(input *ListMedicalTranscriptionJobsInput, fn func(*ListMedicalTranscriptionJobsOutput, bool) bool) error { - return c.ListMedicalTranscriptionJobsPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *TranscribeService) ListLanguageModelsPages(input *ListLanguageModelsInput, fn func(*ListLanguageModelsOutput, bool) bool) error { + return c.ListLanguageModelsPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListMedicalTranscriptionJobsPagesWithContext same as ListMedicalTranscriptionJobsPages except +// ListLanguageModelsPagesWithContext same as ListLanguageModelsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *TranscribeService) ListMedicalTranscriptionJobsPagesWithContext(ctx aws.Context, input *ListMedicalTranscriptionJobsInput, fn func(*ListMedicalTranscriptionJobsOutput, bool) bool, opts ...request.Option) error { +func (c *TranscribeService) ListLanguageModelsPagesWithContext(ctx aws.Context, input *ListLanguageModelsInput, fn func(*ListLanguageModelsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListMedicalTranscriptionJobsInput + var inCpy *ListLanguageModelsInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListMedicalTranscriptionJobsRequest(inCpy) + req, _ := c.ListLanguageModelsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -1382,7 +1669,7 @@ func (c *TranscribeService) ListMedicalTranscriptionJobsPagesWithContext(ctx aws } for p.Next() { - if !fn(p.Page().(*ListMedicalTranscriptionJobsOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListLanguageModelsOutput), !p.HasNextPage()) { break } } @@ -1390,26 +1677,175 @@ func (c *TranscribeService) ListMedicalTranscriptionJobsPagesWithContext(ctx aws return p.Err() } -const opListMedicalVocabularies = "ListMedicalVocabularies" +const opListMedicalTranscriptionJobs = "ListMedicalTranscriptionJobs" -// ListMedicalVocabulariesRequest generates a "aws/request.Request" representing the -// client's request for the ListMedicalVocabularies operation. The "output" return +// ListMedicalTranscriptionJobsRequest generates a "aws/request.Request" representing the +// client's request for the ListMedicalTranscriptionJobs operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListMedicalVocabularies for more information on using the ListMedicalVocabularies +// See ListMedicalTranscriptionJobs for more information on using the ListMedicalTranscriptionJobs // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListMedicalVocabulariesRequest method. -// req, resp := client.ListMedicalVocabulariesRequest(params) -// +// // Example sending a request using the ListMedicalTranscriptionJobsRequest method. +// req, resp := client.ListMedicalTranscriptionJobsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalTranscriptionJobs +func (c *TranscribeService) ListMedicalTranscriptionJobsRequest(input *ListMedicalTranscriptionJobsInput) (req *request.Request, output *ListMedicalTranscriptionJobsOutput) { + op := &request.Operation{ + Name: opListMedicalTranscriptionJobs, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListMedicalTranscriptionJobsInput{} + } + + output = &ListMedicalTranscriptionJobsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListMedicalTranscriptionJobs API operation for Amazon Transcribe Service. +// +// Lists medical transcription jobs with a specified status or substring that +// matches their names. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Transcribe Service's +// API operation ListMedicalTranscriptionJobs for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// * LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. +// +// * InternalFailureException +// There was an internal error. Check the error message and try your request +// again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalTranscriptionJobs +func (c *TranscribeService) ListMedicalTranscriptionJobs(input *ListMedicalTranscriptionJobsInput) (*ListMedicalTranscriptionJobsOutput, error) { + req, out := c.ListMedicalTranscriptionJobsRequest(input) + return out, req.Send() +} + +// ListMedicalTranscriptionJobsWithContext is the same as ListMedicalTranscriptionJobs with the addition of +// the ability to pass a context and additional request options. +// +// See ListMedicalTranscriptionJobs for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *TranscribeService) ListMedicalTranscriptionJobsWithContext(ctx aws.Context, input *ListMedicalTranscriptionJobsInput, opts ...request.Option) (*ListMedicalTranscriptionJobsOutput, error) { + req, out := c.ListMedicalTranscriptionJobsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListMedicalTranscriptionJobsPages iterates over the pages of a ListMedicalTranscriptionJobs operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListMedicalTranscriptionJobs method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListMedicalTranscriptionJobs operation. +// pageNum := 0 +// err := client.ListMedicalTranscriptionJobsPages(params, +// func(page *transcribeservice.ListMedicalTranscriptionJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *TranscribeService) ListMedicalTranscriptionJobsPages(input *ListMedicalTranscriptionJobsInput, fn func(*ListMedicalTranscriptionJobsOutput, bool) bool) error { + return c.ListMedicalTranscriptionJobsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListMedicalTranscriptionJobsPagesWithContext same as ListMedicalTranscriptionJobsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *TranscribeService) ListMedicalTranscriptionJobsPagesWithContext(ctx aws.Context, input *ListMedicalTranscriptionJobsInput, fn func(*ListMedicalTranscriptionJobsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListMedicalTranscriptionJobsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListMedicalTranscriptionJobsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListMedicalTranscriptionJobsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListMedicalVocabularies = "ListMedicalVocabularies" + +// ListMedicalVocabulariesRequest generates a "aws/request.Request" representing the +// client's request for the ListMedicalVocabularies operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListMedicalVocabularies for more information on using the ListMedicalVocabularies +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListMedicalVocabulariesRequest method. +// req, resp := client.ListMedicalVocabulariesRequest(params) +// // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) @@ -1440,9 +1876,9 @@ func (c *TranscribeService) ListMedicalVocabulariesRequest(input *ListMedicalVoc // ListMedicalVocabularies API operation for Amazon Transcribe Service. // -// Returns a list of vocabularies that match the specified criteria. You get -// the entire list of vocabularies if you don't enter a value in any of the -// request parameters. +// Returns a list of vocabularies that match the specified criteria. If you +// don't enter a value in any of the request parameters, returns the entire +// list of vocabularies. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1454,7 +1890,7 @@ func (c *TranscribeService) ListMedicalVocabulariesRequest(input *ListMedicalVoc // Returned Error Types: // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -1602,7 +2038,7 @@ func (c *TranscribeService) ListTranscriptionJobsRequest(input *ListTranscriptio // Returned Error Types: // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -1751,7 +2187,7 @@ func (c *TranscribeService) ListVocabulariesRequest(input *ListVocabulariesInput // Returned Error Types: // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -1899,7 +2335,7 @@ func (c *TranscribeService) ListVocabularyFiltersRequest(input *ListVocabularyFi // Returned Error Types: // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -2029,7 +2465,7 @@ func (c *TranscribeService) StartMedicalTranscriptionJobRequest(input *StartMedi // StartMedicalTranscriptionJob API operation for Amazon Transcribe Service. // -// Start a batch job to transcribe medical speech to text. +// Starts a batch job to transcribe medical speech to text. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2041,7 +2477,7 @@ func (c *TranscribeService) StartMedicalTranscriptionJobRequest(input *StartMedi // Returned Error Types: // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -2054,7 +2490,7 @@ func (c *TranscribeService) StartMedicalTranscriptionJobRequest(input *StartMedi // again. // // * ConflictException -// The resource name already exists. +// There is already a resource with that name. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartMedicalTranscriptionJob func (c *TranscribeService) StartMedicalTranscriptionJob(input *StartMedicalTranscriptionJobInput) (*StartMedicalTranscriptionJobOutput, error) { @@ -2134,7 +2570,7 @@ func (c *TranscribeService) StartTranscriptionJobRequest(input *StartTranscripti // Returned Error Types: // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -2147,7 +2583,7 @@ func (c *TranscribeService) StartTranscriptionJobRequest(input *StartTranscripti // again. // // * ConflictException -// The resource name already exists. +// There is already a resource with that name. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJob func (c *TranscribeService) StartTranscriptionJob(input *StartTranscriptionJobInput) (*StartTranscriptionJobOutput, error) { @@ -2215,9 +2651,10 @@ func (c *TranscribeService) UpdateMedicalVocabularyRequest(input *UpdateMedicalV // UpdateMedicalVocabulary API operation for Amazon Transcribe Service. // -// Updates an existing vocabulary with new values in a different text file. -// The UpdateMedicalVocabulary operation overwrites all of the existing information -// with the values that you provide in the request. +// Updates a vocabulary with new values that you provide in a different text +// file from the one you used to create the vocabulary. The UpdateMedicalVocabulary +// operation overwrites all of the existing information with the values that +// you provide in the request. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2229,7 +2666,7 @@ func (c *TranscribeService) UpdateMedicalVocabularyRequest(input *UpdateMedicalV // Returned Error Types: // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -2246,7 +2683,7 @@ func (c *TranscribeService) UpdateMedicalVocabularyRequest(input *UpdateMedicalV // again. // // * ConflictException -// The resource name already exists. +// There is already a resource with that name. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateMedicalVocabulary func (c *TranscribeService) UpdateMedicalVocabulary(input *UpdateMedicalVocabularyInput) (*UpdateMedicalVocabularyOutput, error) { @@ -2328,7 +2765,7 @@ func (c *TranscribeService) UpdateVocabularyRequest(input *UpdateVocabularyInput // Returned Error Types: // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -2345,7 +2782,7 @@ func (c *TranscribeService) UpdateVocabularyRequest(input *UpdateVocabularyInput // again. // // * ConflictException -// The resource name already exists. +// There is already a resource with that name. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabulary func (c *TranscribeService) UpdateVocabulary(input *UpdateVocabularyInput) (*UpdateVocabularyOutput, error) { @@ -2425,7 +2862,7 @@ func (c *TranscribeService) UpdateVocabularyFilterRequest(input *UpdateVocabular // Returned Error Types: // * BadRequestException // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. // @@ -2464,7 +2901,7 @@ func (c *TranscribeService) UpdateVocabularyFilterWithContext(ctx aws.Context, i } // Your request didn't pass one or more validation tests. For example, if the -// transcription you're trying to delete doesn't exist or if it is in a non-terminal +// entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. type BadRequestException struct { @@ -2522,7 +2959,7 @@ func (s *BadRequestException) RequestID() string { return s.RespMetadata.RequestID } -// The resource name already exists. +// There is already a resource with that name. type ConflictException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -2638,28 +3075,189 @@ func (s *ContentRedaction) SetRedactionType(v string) *ContentRedaction { return s } +type CreateLanguageModelInput struct { + _ struct{} `type:"structure"` + + // The Amazon Transcribe standard language model, or base model used to create + // your custom language model. + // + // If you want to use your custom language model to transcribe audio with a + // sample rate of 16 kHz or greater, choose Wideband. + // + // If you want to use your custom language model to transcribe audio with a + // sample rate that is less than 16 kHz, choose Narrowband. + // + // BaseModelName is a required field + BaseModelName *string `type:"string" required:"true" enum:"BaseModelName"` + + // Contains the data access role and the Amazon S3 prefixes to read the required + // input files to create a custom language model. + // + // InputDataConfig is a required field + InputDataConfig *InputDataConfig `type:"structure" required:"true"` + + // The language of the input text you're using to train your custom language + // model. + // + // LanguageCode is a required field + LanguageCode *string `type:"string" required:"true" enum:"CLMLanguageCode"` + + // The name you choose for your custom language model when you create it. + // + // ModelName is a required field + ModelName *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateLanguageModelInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateLanguageModelInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateLanguageModelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateLanguageModelInput"} + if s.BaseModelName == nil { + invalidParams.Add(request.NewErrParamRequired("BaseModelName")) + } + if s.InputDataConfig == nil { + invalidParams.Add(request.NewErrParamRequired("InputDataConfig")) + } + if s.LanguageCode == nil { + invalidParams.Add(request.NewErrParamRequired("LanguageCode")) + } + if s.ModelName == nil { + invalidParams.Add(request.NewErrParamRequired("ModelName")) + } + if s.ModelName != nil && len(*s.ModelName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ModelName", 1)) + } + if s.InputDataConfig != nil { + if err := s.InputDataConfig.Validate(); err != nil { + invalidParams.AddNested("InputDataConfig", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBaseModelName sets the BaseModelName field's value. +func (s *CreateLanguageModelInput) SetBaseModelName(v string) *CreateLanguageModelInput { + s.BaseModelName = &v + return s +} + +// SetInputDataConfig sets the InputDataConfig field's value. +func (s *CreateLanguageModelInput) SetInputDataConfig(v *InputDataConfig) *CreateLanguageModelInput { + s.InputDataConfig = v + return s +} + +// SetLanguageCode sets the LanguageCode field's value. +func (s *CreateLanguageModelInput) SetLanguageCode(v string) *CreateLanguageModelInput { + s.LanguageCode = &v + return s +} + +// SetModelName sets the ModelName field's value. +func (s *CreateLanguageModelInput) SetModelName(v string) *CreateLanguageModelInput { + s.ModelName = &v + return s +} + +type CreateLanguageModelOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Transcribe standard language model, or base model you've used + // to create a custom language model. + BaseModelName *string `type:"string" enum:"BaseModelName"` + + // The data access role and Amazon S3 prefixes you've chosen to create your + // custom language model. + InputDataConfig *InputDataConfig `type:"structure"` + + // The language code of the text you've used to create a custom language model. + LanguageCode *string `type:"string" enum:"CLMLanguageCode"` + + // The name you've chosen for your custom language model. + ModelName *string `min:"1" type:"string"` + + // The status of the custom language model. When the status is COMPLETED the + // model is ready to use. + ModelStatus *string `type:"string" enum:"ModelStatus"` +} + +// String returns the string representation +func (s CreateLanguageModelOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateLanguageModelOutput) GoString() string { + return s.String() +} + +// SetBaseModelName sets the BaseModelName field's value. +func (s *CreateLanguageModelOutput) SetBaseModelName(v string) *CreateLanguageModelOutput { + s.BaseModelName = &v + return s +} + +// SetInputDataConfig sets the InputDataConfig field's value. +func (s *CreateLanguageModelOutput) SetInputDataConfig(v *InputDataConfig) *CreateLanguageModelOutput { + s.InputDataConfig = v + return s +} + +// SetLanguageCode sets the LanguageCode field's value. +func (s *CreateLanguageModelOutput) SetLanguageCode(v string) *CreateLanguageModelOutput { + s.LanguageCode = &v + return s +} + +// SetModelName sets the ModelName field's value. +func (s *CreateLanguageModelOutput) SetModelName(v string) *CreateLanguageModelOutput { + s.ModelName = &v + return s +} + +// SetModelStatus sets the ModelStatus field's value. +func (s *CreateLanguageModelOutput) SetModelStatus(v string) *CreateLanguageModelOutput { + s.ModelStatus = &v + return s +} + type CreateMedicalVocabularyInput struct { _ struct{} `type:"structure"` - // The language code used for the entries within your custom vocabulary. The - // language code of your custom vocabulary must match the language code of your - // transcription job. US English (en-US) is the only language code available + // The language code for the language used for the entries in your custom vocabulary. + // The language code of your custom vocabulary must match the language code + // of your transcription job. US English (en-US) is the only language code available // for Amazon Transcribe Medical. // // LanguageCode is a required field LanguageCode *string `type:"string" required:"true" enum:"LanguageCode"` - // The Amazon S3 location of the text file you use to define your custom vocabulary. - // The URI must be in the same AWS region as the API endpoint you're calling. - // Enter information about your VocabularyFileUri in the following format: + // The location in Amazon S3 of the text file you use to define your custom + // vocabulary. The URI must be in the same AWS Region as the resource that you're + // calling. Enter information about your VocabularyFileUri in the following + // format: // // https://s3..amazonaws.com/// // - // This is an example of a vocabulary file uri location in Amazon S3: + // The following is an example URI for a vocabulary file that is stored in Amazon + // S3: // // https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt // - // For more information about S3 object names, see Object Keys (http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys) + // For more information about Amazon S3 object names, see Object Keys (http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys) // in the Amazon S3 Developer Guide. // // For more information about custom vocabularies, see Medical Custom Vocabularies @@ -2670,7 +3268,7 @@ type CreateMedicalVocabularyInput struct { // The name of the custom vocabulary. This case-sensitive name must be unique // within an AWS account. If you try to create a vocabulary with the same name - // as a previous vocabulary you will receive a ConflictException error. + // as a previous vocabulary, you get a ConflictException error. // // VocabularyName is a required field VocabularyName *string `min:"1" type:"string" required:"true"` @@ -2736,20 +3334,19 @@ type CreateMedicalVocabularyOutput struct { // why the job failed. FailureReason *string `type:"string"` - // The language code you chose to describe the entries in your custom vocabulary. - // US English (en-US) is the only valid language code for Amazon Transcribe - // Medical. + // The language code for the entries in your custom vocabulary. US English (en-US) + // is the only valid language code for Amazon Transcribe Medical. LanguageCode *string `type:"string" enum:"LanguageCode"` - // The date and time you created the vocabulary. + // The date and time that you created the vocabulary. LastModifiedTime *time.Time `type:"timestamp"` - // The name of the vocabulary. The name must be unique within an AWS account. - // It is also case-sensitive. + // The name of the vocabulary. The name must be unique within an AWS account + // and is case sensitive. VocabularyName *string `min:"1" type:"string"` // The processing state of your custom vocabulary in Amazon Transcribe Medical. - // If the state is READY you can use the vocabulary in a StartMedicalTranscriptionJob + // If the state is READY, you can use the vocabulary in a StartMedicalTranscriptionJob // request. VocabularyState *string `type:"string" enum:"VocabularyState"` } @@ -2816,8 +3413,8 @@ type CreateVocabularyFilterInput struct { VocabularyFilterFileUri *string `min:"1" type:"string"` // The vocabulary filter name. The name must be unique within the account that - // contains it.If you try to create a vocabulary filter with the same name as - // a previous vocabulary filter you will receive a ConflictException error. + // contains it. If you try to create a vocabulary filter with the same name + // as another vocabulary filter, you get a ConflictException error. // // VocabularyFilterName is a required field VocabularyFilterName *string `min:"1" type:"string" required:"true"` @@ -2953,7 +3550,7 @@ type CreateVocabularyInput struct { VocabularyFileUri *string `min:"1" type:"string"` // The name of the vocabulary. The name must be unique within an AWS account. - // The name is case-sensitive. If you try to create a vocabulary with the same + // The name is case sensitive. If you try to create a vocabulary with the same // name as a previous vocabulary you will receive a ConflictException error. // // VocabularyName is a required field @@ -3077,6 +3674,61 @@ func (s *CreateVocabularyOutput) SetVocabularyState(v string) *CreateVocabularyO return s } +type DeleteLanguageModelInput struct { + _ struct{} `type:"structure"` + + // The name of the model you're choosing to delete. + // + // ModelName is a required field + ModelName *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteLanguageModelInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteLanguageModelInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteLanguageModelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteLanguageModelInput"} + if s.ModelName == nil { + invalidParams.Add(request.NewErrParamRequired("ModelName")) + } + if s.ModelName != nil && len(*s.ModelName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ModelName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetModelName sets the ModelName field's value. +func (s *DeleteLanguageModelInput) SetModelName(v string) *DeleteLanguageModelInput { + s.ModelName = &v + return s +} + +type DeleteLanguageModelOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteLanguageModelOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteLanguageModelOutput) GoString() string { + return s.String() +} + type DeleteMedicalTranscriptionJobInput struct { _ struct{} `type:"structure"` @@ -3136,7 +3788,7 @@ func (s DeleteMedicalTranscriptionJobOutput) GoString() string { type DeleteMedicalVocabularyInput struct { _ struct{} `type:"structure"` - // The name of the vocabulary you are choosing to delete. + // The name of the vocabulary that you want to delete. // // VocabularyName is a required field VocabularyName *string `min:"1" type:"string" required:"true"` @@ -3353,6 +4005,70 @@ func (s DeleteVocabularyOutput) GoString() string { return s.String() } +type DescribeLanguageModelInput struct { + _ struct{} `type:"structure"` + + // The name of the custom language model you submit to get more information. + // + // ModelName is a required field + ModelName *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeLanguageModelInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeLanguageModelInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeLanguageModelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeLanguageModelInput"} + if s.ModelName == nil { + invalidParams.Add(request.NewErrParamRequired("ModelName")) + } + if s.ModelName != nil && len(*s.ModelName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ModelName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetModelName sets the ModelName field's value. +func (s *DescribeLanguageModelInput) SetModelName(v string) *DescribeLanguageModelInput { + s.ModelName = &v + return s +} + +type DescribeLanguageModelOutput struct { + _ struct{} `type:"structure"` + + // The name of the custom language model you requested more information about. + LanguageModel *LanguageModel `type:"structure"` +} + +// String returns the string representation +func (s DescribeLanguageModelOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeLanguageModelOutput) GoString() string { + return s.String() +} + +// SetLanguageModel sets the LanguageModel field's value. +func (s *DescribeLanguageModelOutput) SetLanguageModel(v *LanguageModel) *DescribeLanguageModelOutput { + s.LanguageModel = v + return s +} + type GetMedicalTranscriptionJobInput struct { _ struct{} `type:"structure"` @@ -3420,8 +4136,8 @@ func (s *GetMedicalTranscriptionJobOutput) SetMedicalTranscriptionJob(v *Medical type GetMedicalVocabularyInput struct { _ struct{} `type:"structure"` - // The name of the vocabulary you are trying to get information about. The value - // you enter for this request is case-sensitive. + // The name of the vocabulary that you want information about. The value is + // case sensitive. // // VocabularyName is a required field VocabularyName *string `min:"1" type:"string" required:"true"` @@ -3462,26 +4178,27 @@ func (s *GetMedicalVocabularyInput) SetVocabularyName(v string) *GetMedicalVocab type GetMedicalVocabularyOutput struct { _ struct{} `type:"structure"` - // The Amazon S3 location where the vocabulary is stored. Use this URI to get - // the contents of the vocabulary. You can download your vocabulary from the - // URI for a limited time. + // The location in Amazon S3 where the vocabulary is stored. Use this URI to + // get the contents of the vocabulary. You can download your vocabulary from + // the URI for a limited time. DownloadUri *string `min:"1" type:"string"` // If the VocabularyState is FAILED, this field contains information about why // the job failed. FailureReason *string `type:"string"` - // The valid language code returned for your vocabulary entries. + // The valid language code for your vocabulary entries. LanguageCode *string `type:"string" enum:"LanguageCode"` - // The date and time the vocabulary was last modified with a text file different - // from what was previously used. + // The date and time that the vocabulary was last modified with a text file + // different from the one that was previously used. LastModifiedTime *time.Time `type:"timestamp"` - // The valid name that Amazon Transcribe Medical returns. + // The name of the vocabulary returned by Amazon Transcribe Medical. VocabularyName *string `min:"1" type:"string"` - // The processing state of the vocabulary. + // The processing state of the vocabulary. If the VocabularyState is READY then + // you can use it in the StartMedicalTranscriptionJob operation. VocabularyState *string `type:"string" enum:"VocabularyState"` } @@ -3690,7 +4407,8 @@ func (s *GetVocabularyFilterOutput) SetVocabularyFilterName(v string) *GetVocabu type GetVocabularyInput struct { _ struct{} `type:"structure"` - // The name of the vocabulary to return information about. The name is case-sensitive. + // The name of the vocabulary to return information about. The name is case + // sensitive. // // VocabularyName is a required field VocabularyName *string `min:"1" type:"string" required:"true"` @@ -3798,6 +4516,82 @@ func (s *GetVocabularyOutput) SetVocabularyState(v string) *GetVocabularyOutput return s } +// The object that contains the Amazon S3 object location and access role required +// to train and tune your custom language model. +type InputDataConfig struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) that uniquely identifies the permissions you've + // given Amazon Transcribe to access your Amazon S3 buckets containing your + // media files or text data. + // + // DataAccessRoleArn is a required field + DataAccessRoleArn *string `min:"20" type:"string" required:"true"` + + // The Amazon S3 prefix you specify to access the plain text files that you + // use to train your custom language model. + // + // S3Uri is a required field + S3Uri *string `min:"1" type:"string" required:"true"` + + // The Amazon S3 prefix you specify to access the plain text files that you + // use to tune your custom language model. + TuningDataS3Uri *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s InputDataConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InputDataConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *InputDataConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "InputDataConfig"} + if s.DataAccessRoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("DataAccessRoleArn")) + } + if s.DataAccessRoleArn != nil && len(*s.DataAccessRoleArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("DataAccessRoleArn", 20)) + } + if s.S3Uri == nil { + invalidParams.Add(request.NewErrParamRequired("S3Uri")) + } + if s.S3Uri != nil && len(*s.S3Uri) < 1 { + invalidParams.Add(request.NewErrParamMinLen("S3Uri", 1)) + } + if s.TuningDataS3Uri != nil && len(*s.TuningDataS3Uri) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TuningDataS3Uri", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDataAccessRoleArn sets the DataAccessRoleArn field's value. +func (s *InputDataConfig) SetDataAccessRoleArn(v string) *InputDataConfig { + s.DataAccessRoleArn = &v + return s +} + +// SetS3Uri sets the S3Uri field's value. +func (s *InputDataConfig) SetS3Uri(v string) *InputDataConfig { + s.S3Uri = &v + return s +} + +// SetTuningDataS3Uri sets the TuningDataS3Uri field's value. +func (s *InputDataConfig) SetTuningDataS3Uri(v string) *InputDataConfig { + s.TuningDataS3Uri = &v + return s +} + // There was an internal error. Check the error message and try your request // again. type InternalFailureException struct { @@ -3876,7 +4670,7 @@ type JobExecutionSettings struct { // // If you specify the AllowDeferredExecution field, you must specify the DataAccessRoleArn // field. - DataAccessRoleArn *string `type:"string"` + DataAccessRoleArn *string `min:"20" type:"string"` } // String returns the string representation @@ -3889,15 +4683,129 @@ func (s JobExecutionSettings) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *JobExecutionSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "JobExecutionSettings"} + if s.DataAccessRoleArn != nil && len(*s.DataAccessRoleArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("DataAccessRoleArn", 20)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + // SetAllowDeferredExecution sets the AllowDeferredExecution field's value. func (s *JobExecutionSettings) SetAllowDeferredExecution(v bool) *JobExecutionSettings { s.AllowDeferredExecution = &v return s } -// SetDataAccessRoleArn sets the DataAccessRoleArn field's value. -func (s *JobExecutionSettings) SetDataAccessRoleArn(v string) *JobExecutionSettings { - s.DataAccessRoleArn = &v +// SetDataAccessRoleArn sets the DataAccessRoleArn field's value. +func (s *JobExecutionSettings) SetDataAccessRoleArn(v string) *JobExecutionSettings { + s.DataAccessRoleArn = &v + return s +} + +// The structure used to describe a custom language model. +type LanguageModel struct { + _ struct{} `type:"structure"` + + // The Amazon Transcribe standard language model, or base model used to create + // the custom language model. + BaseModelName *string `type:"string" enum:"BaseModelName"` + + // The time the custom language model was created. + CreateTime *time.Time `type:"timestamp"` + + // The reason why the custom language model couldn't be created. + FailureReason *string `type:"string"` + + // The data access role and Amazon S3 prefixes for the input files used to train + // the custom language model. + InputDataConfig *InputDataConfig `type:"structure"` + + // The language code you used to create your custom language model. + LanguageCode *string `type:"string" enum:"CLMLanguageCode"` + + // The most recent time the custom language model was modified. + LastModifiedTime *time.Time `type:"timestamp"` + + // The name of the custom language model. + ModelName *string `min:"1" type:"string"` + + // The creation status of a custom language model. When the status is COMPLETED + // the model is ready for use. + ModelStatus *string `type:"string" enum:"ModelStatus"` + + // Whether the base model used for the custom language model is up to date. + // If this field is true then you are running the most up-to-date version of + // the base model in your custom language model. + UpgradeAvailability *bool `type:"boolean"` +} + +// String returns the string representation +func (s LanguageModel) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LanguageModel) GoString() string { + return s.String() +} + +// SetBaseModelName sets the BaseModelName field's value. +func (s *LanguageModel) SetBaseModelName(v string) *LanguageModel { + s.BaseModelName = &v + return s +} + +// SetCreateTime sets the CreateTime field's value. +func (s *LanguageModel) SetCreateTime(v time.Time) *LanguageModel { + s.CreateTime = &v + return s +} + +// SetFailureReason sets the FailureReason field's value. +func (s *LanguageModel) SetFailureReason(v string) *LanguageModel { + s.FailureReason = &v + return s +} + +// SetInputDataConfig sets the InputDataConfig field's value. +func (s *LanguageModel) SetInputDataConfig(v *InputDataConfig) *LanguageModel { + s.InputDataConfig = v + return s +} + +// SetLanguageCode sets the LanguageCode field's value. +func (s *LanguageModel) SetLanguageCode(v string) *LanguageModel { + s.LanguageCode = &v + return s +} + +// SetLastModifiedTime sets the LastModifiedTime field's value. +func (s *LanguageModel) SetLastModifiedTime(v time.Time) *LanguageModel { + s.LastModifiedTime = &v + return s +} + +// SetModelName sets the ModelName field's value. +func (s *LanguageModel) SetModelName(v string) *LanguageModel { + s.ModelName = &v + return s +} + +// SetModelStatus sets the ModelStatus field's value. +func (s *LanguageModel) SetModelStatus(v string) *LanguageModel { + s.ModelStatus = &v + return s +} + +// SetUpgradeAvailability sets the UpgradeAvailability field's value. +func (s *LanguageModel) SetUpgradeAvailability(v bool) *LanguageModel { + s.UpgradeAvailability = &v return s } @@ -3958,6 +4866,114 @@ func (s *LimitExceededException) RequestID() string { return s.RespMetadata.RequestID } +type ListLanguageModelsInput struct { + _ struct{} `type:"structure"` + + // The maximum number of language models to return in the response. If there + // are fewer results in the list, the response contains only the actual results. + MaxResults *int64 `min:"1" type:"integer"` + + // When specified, the custom language model names returned contain the substring + // you've specified. + NameContains *string `min:"1" type:"string"` + + // When included, fetches the next set of jobs if the result of the previous + // request was truncated. + NextToken *string `type:"string"` + + // When specified, returns only custom language models with the specified status. + // Language models are ordered by creation date, with the newest models first. + // If you don't specify a status, Amazon Transcribe returns all custom language + // models ordered by date. + StatusEquals *string `type:"string" enum:"ModelStatus"` +} + +// String returns the string representation +func (s ListLanguageModelsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListLanguageModelsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListLanguageModelsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListLanguageModelsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NameContains != nil && len(*s.NameContains) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NameContains", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListLanguageModelsInput) SetMaxResults(v int64) *ListLanguageModelsInput { + s.MaxResults = &v + return s +} + +// SetNameContains sets the NameContains field's value. +func (s *ListLanguageModelsInput) SetNameContains(v string) *ListLanguageModelsInput { + s.NameContains = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListLanguageModelsInput) SetNextToken(v string) *ListLanguageModelsInput { + s.NextToken = &v + return s +} + +// SetStatusEquals sets the StatusEquals field's value. +func (s *ListLanguageModelsInput) SetStatusEquals(v string) *ListLanguageModelsInput { + s.StatusEquals = &v + return s +} + +type ListLanguageModelsOutput struct { + _ struct{} `type:"structure"` + + // A list of objects containing information about custom language models. + Models []*LanguageModel `type:"list"` + + // The operation returns a page of jobs at a time. The maximum size of the list + // is set by the MaxResults parameter. If there are more language models in + // the list than the page size, Amazon Transcribe returns the NextPage token. + // Include the token in the next request to the operation to return the next + // page of language models. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s ListLanguageModelsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListLanguageModelsOutput) GoString() string { + return s.String() +} + +// SetModels sets the Models field's value. +func (s *ListLanguageModelsOutput) SetModels(v []*LanguageModel) *ListLanguageModelsOutput { + s.Models = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListLanguageModelsOutput) SetNextToken(v string) *ListLanguageModelsOutput { + s.NextToken = &v + return s +} + type ListMedicalTranscriptionJobsInput struct { _ struct{} `type:"structure"` @@ -4082,17 +5098,18 @@ type ListMedicalVocabulariesInput struct { // The maximum number of vocabularies to return in the response. MaxResults *int64 `min:"1" type:"integer"` - // Returns vocabularies in the list whose name contains the specified string. - // The search is case-insensitive, ListMedicalVocabularies returns both "vocabularyname" - // and "VocabularyName" in the response list. + // Returns vocabularies whose names contain the specified string. The search + // is not case sensitive. ListMedicalVocabularies returns both "vocabularyname" + // and "VocabularyName". NameContains *string `min:"1" type:"string"` // If the result of your previous request to ListMedicalVocabularies was truncated, - // include the NextToken to fetch the next set of jobs. + // include the NextToken to fetch the next set of vocabularies. NextToken *string `type:"string"` - // When specified, only returns vocabularies with the VocabularyState equal - // to the specified vocabulary state. + // When specified, returns only vocabularies with the VocabularyState equal + // to the specified vocabulary state. Use this field to see which vocabularies + // are ready for your medical transcription jobs. StateEquals *string `type:"string" enum:"VocabularyState"` } @@ -4150,17 +5167,17 @@ type ListMedicalVocabulariesOutput struct { _ struct{} `type:"structure"` // The ListMedicalVocabularies operation returns a page of vocabularies at a - // time. The maximum size of the page is set by the MaxResults parameter. If - // there are more jobs in the list than the page size, Amazon Transcribe Medical - // returns the NextPage token. Include the token in the next request to the - // ListMedicalVocabularies operation to return the next page of jobs. + // time. You set the maximum number of vocabularies to return on a page with + // the MaxResults parameter. If there are more jobs in the list will fit on + // a page, Amazon Transcribe Medical returns the NextPage token. To return the + // next page of vocabularies, include the token in the next request to the ListMedicalVocabularies + // operation . NextToken *string `type:"string"` // The requested vocabulary state. Status *string `type:"string" enum:"VocabularyState"` - // A list of objects that describe the vocabularies that match the search criteria - // in the request. + // A list of objects that describe the vocabularies that match your search criteria. Vocabularies []*VocabularyInfo `type:"list"` } @@ -4317,7 +5334,7 @@ type ListVocabulariesInput struct { MaxResults *int64 `min:"1" type:"integer"` // When specified, the vocabularies returned in the list are limited to vocabularies - // whose name contains the specified string. The search is case-insensitive, + // whose name contains the specified string. The search is not case sensitive, // ListVocabularies returns both "vocabularyname" and "VocabularyName" in the // response list. NameContains *string `min:"1" type:"string"` @@ -4385,10 +5402,10 @@ type ListVocabulariesOutput struct { _ struct{} `type:"structure"` // The ListVocabularies operation returns a page of vocabularies at a time. - // The maximum size of the page is set by the MaxResults parameter. If there - // are more jobs in the list than the page size, Amazon Transcribe returns the - // NextPage token. Include the token in the next request to the ListVocabularies - // operation to return in the next page of jobs. + // The maximum size of the page is set in the MaxResults parameter. If there + // are more jobs in the list than will fit on the page, Amazon Transcribe returns + // the NextPage token. To return in the next page of jobs, include the token + // in the next request to the ListVocabularies operation. NextToken *string `type:"string"` // The requested vocabulary state. @@ -4596,7 +5613,7 @@ func (s *MedicalTranscript) SetTranscriptFileUri(v string) *MedicalTranscript { return s } -// The data structure that containts the information for a medical transcription +// The data structure that contains the information for a medical transcription // job. type MedicalTranscriptionJob struct { _ struct{} `type:"structure"` @@ -4632,7 +5649,7 @@ type MedicalTranscriptionJob struct { // // * Invalid file size: file size too large- The size of your audio file // is larger than what Amazon Transcribe Medical can process. For more information, - // see Guidlines and Quotas (https://docs.aws.amazon.com/transcribe/latest/dg/limits-guidelines.html#limits) + // see Guidelines and Quotas (https://docs.aws.amazon.com/transcribe/latest/dg/limits-guidelines.html#limits) // in the Amazon Transcribe Medical Guide // // * Invalid number of channels: number of channels too large- Your audio @@ -4929,7 +5946,7 @@ type MedicalTranscriptionSetting struct { ShowAlternatives *bool `type:"boolean"` // Determines whether the transcription job uses speaker recognition to identify - // different speakers in the input audio. Speaker recongition labels individual + // different speakers in the input audio. Speaker recognition labels individual // speakers in the audio file. If you set the ShowSpeakerLabels field to true, // you must also set the maximum number of speaker labels in the MaxSpeakerLabels // field. @@ -5008,6 +6025,44 @@ func (s *MedicalTranscriptionSetting) SetVocabularyName(v string) *MedicalTransc return s } +// The object used to call your custom language model to your transcription +// job. +type ModelSettings struct { + _ struct{} `type:"structure"` + + // The name of your custom language model. + LanguageModelName *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s ModelSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModelSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModelSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModelSettings"} + if s.LanguageModelName != nil && len(*s.LanguageModelName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LanguageModelName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLanguageModelName sets the LanguageModelName field's value. +func (s *ModelSettings) SetLanguageModelName(v string) *ModelSettings { + s.LanguageModelName = &v + return s +} + // We can't find the requested resource. Check the name and try your request // again. type NotFoundException struct { @@ -5229,7 +6284,7 @@ type StartMedicalTranscriptionJobInput struct { // The name of the medical transcription job. You can't use the strings "." // or ".." by themselves as the job name. The name must also be unique within // an AWS account. If you try to create a medical transcription job with the - // same name as a previous medical transcription job you will receive a ConflictException + // same name as a previous medical transcription job, you get a ConflictException // error. // // MedicalTranscriptionJobName is a required field @@ -5468,6 +6523,10 @@ type StartTranscriptionJobInput struct { // field blank and let Amazon Transcribe determine the sample rate. MediaSampleRateHertz *int64 `min:"8000" type:"integer"` + // Choose the custom language model you use for your transcription job in this + // parameter. + ModelSettings *ModelSettings `type:"structure"` + // The location where the transcription is stored. // // If you set the OutputBucketName, Amazon Transcribe puts the transcript in @@ -5520,10 +6579,10 @@ type StartTranscriptionJobInput struct { // A Settings object that provides optional settings for a transcription job. Settings *Settings `type:"structure"` - // The name of the job. Note that you can't use the strings "." or ".." by themselves + // The name of the job. You can't use the strings "." or ".." by themselves // as the job name. The name must also be unique within an AWS account. If you // try to create a transcription job with the same name as a previous transcription - // job you will receive a ConflictException error. + // job, you get a ConflictException error. // // TranscriptionJobName is a required field TranscriptionJobName *string `min:"1" type:"string" required:"true"` @@ -5565,11 +6624,21 @@ func (s *StartTranscriptionJobInput) Validate() error { invalidParams.AddNested("ContentRedaction", err.(request.ErrInvalidParams)) } } + if s.JobExecutionSettings != nil { + if err := s.JobExecutionSettings.Validate(); err != nil { + invalidParams.AddNested("JobExecutionSettings", err.(request.ErrInvalidParams)) + } + } if s.Media != nil { if err := s.Media.Validate(); err != nil { invalidParams.AddNested("Media", err.(request.ErrInvalidParams)) } } + if s.ModelSettings != nil { + if err := s.ModelSettings.Validate(); err != nil { + invalidParams.AddNested("ModelSettings", err.(request.ErrInvalidParams)) + } + } if s.Settings != nil { if err := s.Settings.Validate(); err != nil { invalidParams.AddNested("Settings", err.(request.ErrInvalidParams)) @@ -5618,6 +6687,12 @@ func (s *StartTranscriptionJobInput) SetMediaSampleRateHertz(v int64) *StartTran return s } +// SetModelSettings sets the ModelSettings field's value. +func (s *StartTranscriptionJobInput) SetModelSettings(v *ModelSettings) *StartTranscriptionJobInput { + s.ModelSettings = v + return s +} + // SetOutputBucketName sets the OutputBucketName field's value. func (s *StartTranscriptionJobInput) SetOutputBucketName(v string) *StartTranscriptionJobInput { s.OutputBucketName = &v @@ -5671,13 +6746,13 @@ type Transcript struct { // The S3 object location of the redacted transcript. // - // Use this URI to access the redacated transcript. If you specified an S3 bucket + // Use this URI to access the redacted transcript. If you specified an S3 bucket // in the OutputBucketName field when you created the job, this is the URI of // that bucket. If you chose to store the transcript in Amazon Transcribe, this // is a shareable URL that provides secure access to that location. RedactedTranscriptFileUri *string `min:"1" type:"string"` - // The S3 object location of the the transcript. + // The S3 object location of the transcript. // // Use this URI to access the transcript. If you specified an S3 bucket in the // OutputBucketName field when you created the job, this is the URI of that @@ -5772,6 +6847,9 @@ type TranscriptionJob struct { // The sample rate, in Hertz, of the audio track in the input media file. MediaSampleRateHertz *int64 `min:"8000" type:"integer"` + // An object containing the details of your custom language model. + ModelSettings *ModelSettings `type:"structure"` + // Optional settings for the transcription job. Use these settings to turn on // speaker recognition, to set the maximum number of speakers that should be // identified and to specify a custom vocabulary to use when processing the @@ -5855,6 +6933,12 @@ func (s *TranscriptionJob) SetMediaSampleRateHertz(v int64) *TranscriptionJob { return s } +// SetModelSettings sets the ModelSettings field's value. +func (s *TranscriptionJob) SetModelSettings(v *ModelSettings) *TranscriptionJob { + s.ModelSettings = v + return s +} + // SetSettings sets the Settings field's value. func (s *TranscriptionJob) SetSettings(v *Settings) *TranscriptionJob { s.Settings = v @@ -5904,6 +6988,10 @@ type TranscriptionJobSummary struct { // The language code for the input speech. LanguageCode *string `type:"string" enum:"LanguageCode"` + // The object used to call your custom language model to your transcription + // job. + ModelSettings *ModelSettings `type:"structure"` + // Indicates the location of the output of the transcription job. // // If the value is CUSTOMER_BUCKET then the location is the S3 bucket specified @@ -5966,6 +7054,12 @@ func (s *TranscriptionJobSummary) SetLanguageCode(v string) *TranscriptionJobSum return s } +// SetModelSettings sets the ModelSettings field's value. +func (s *TranscriptionJobSummary) SetModelSettings(v *ModelSettings) *TranscriptionJobSummary { + s.ModelSettings = v + return s +} + // SetOutputLocationType sets the OutputLocationType field's value. func (s *TranscriptionJobSummary) SetOutputLocationType(v string) *TranscriptionJobSummary { s.OutputLocationType = &v @@ -5993,16 +7087,15 @@ func (s *TranscriptionJobSummary) SetTranscriptionJobStatus(v string) *Transcrip type UpdateMedicalVocabularyInput struct { _ struct{} `type:"structure"` - // The language code of the entries in the updated vocabulary. US English (en-US) - // is the only valid language code in Amazon Transcribe Medical. + // The language code of the language used for the entries in the updated vocabulary. + // US English (en-US) is the only valid language code in Amazon Transcribe Medical. // // LanguageCode is a required field LanguageCode *string `type:"string" required:"true" enum:"LanguageCode"` - // The Amazon S3 location of the text file containing the definition of the - // custom vocabulary. The URI must be in the same AWS region as the API endpoint - // you are calling. You can see the fields you need to enter for you Amazon - // S3 location in the example URI here: + // The location in Amazon S3 of the text file that contains the you use for + // your custom vocabulary. The URI must be in the same AWS Region as the resource + // that you are calling. The following is the format for a URI: // // https://s3..amazonaws.com/// // @@ -6010,16 +7103,16 @@ type UpdateMedicalVocabularyInput struct { // // https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt // - // For more information about S3 object names, see Object Keys (http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys) + // For more information about Amazon S3 object names, see Object Keys (http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys) // in the Amazon S3 Developer Guide. // // For more information about custom vocabularies in Amazon Transcribe Medical, // see Medical Custom Vocabularies (http://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary). VocabularyFileUri *string `min:"1" type:"string"` - // The name of the vocabulary to update. The name is case-sensitive. If you - // try to update a vocabulary with the same name as a previous vocabulary you - // will receive a ConflictException error. + // The name of the vocabulary to update. The name is case sensitive. If you + // try to update a vocabulary with the same name as a vocabulary you've already + // made, you get a ConflictException error. // // VocabularyName is a required field VocabularyName *string `min:"1" type:"string" required:"true"` @@ -6078,18 +7171,19 @@ func (s *UpdateMedicalVocabularyInput) SetVocabularyName(v string) *UpdateMedica type UpdateMedicalVocabularyOutput struct { _ struct{} `type:"structure"` - // The language code for the text file used to update the custom vocabulary. - // US English (en-US) is the only language supported in Amazon Transcribe Medical. + // The language code for the language of the text file used to update the custom + // vocabulary. US English (en-US) is the only language supported in Amazon Transcribe + // Medical. LanguageCode *string `type:"string" enum:"LanguageCode"` - // The date and time the vocabulary was updated. + // The date and time that the vocabulary was updated. LastModifiedTime *time.Time `type:"timestamp"` // The name of the updated vocabulary. VocabularyName *string `min:"1" type:"string"` // The processing state of the update to the vocabulary. When the VocabularyState - // field is READY the vocabulary is ready to be used in a StartMedicalTranscriptionJob + // field is READY, the vocabulary is ready to be used in a StartMedicalTranscriptionJob // request. VocabularyState *string `type:"string" enum:"VocabularyState"` } @@ -6143,8 +7237,8 @@ type UpdateVocabularyFilterInput struct { VocabularyFilterFileUri *string `min:"1" type:"string"` // The name of the vocabulary filter to update. If you try to update a vocabulary - // filter with the same name as a previous vocabulary filter you will receive - // a ConflictException error. + // filter with the same name as another vocabulary filter, you get a ConflictException + // error. // // VocabularyFilterName is a required field VocabularyFilterName *string `min:"1" type:"string" required:"true"` @@ -6272,7 +7366,7 @@ type UpdateVocabularyInput struct { // For more information about custom vocabularies, see Custom Vocabularies (http://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary). VocabularyFileUri *string `min:"1" type:"string"` - // The name of the vocabulary to update. The name is case-sensitive. If you + // The name of the vocabulary to update. The name is case sensitive. If you // try to update a vocabulary with the same name as a previous vocabulary you // will receive a ConflictException error. // @@ -6483,98 +7577,126 @@ func (s *VocabularyInfo) SetVocabularyState(v string) *VocabularyInfo { } const ( - // LanguageCodeEnUs is a LanguageCode enum value - LanguageCodeEnUs = "en-US" + // BaseModelNameNarrowBand is a BaseModelName enum value + BaseModelNameNarrowBand = "NarrowBand" - // LanguageCodeEsUs is a LanguageCode enum value - LanguageCodeEsUs = "es-US" + // BaseModelNameWideBand is a BaseModelName enum value + BaseModelNameWideBand = "WideBand" +) - // LanguageCodeEnAu is a LanguageCode enum value - LanguageCodeEnAu = "en-AU" +const ( + // CLMLanguageCodeEnUs is a CLMLanguageCode enum value + CLMLanguageCodeEnUs = "en-US" +) - // LanguageCodeFrCa is a LanguageCode enum value - LanguageCodeFrCa = "fr-CA" +const ( + // LanguageCodeAfZa is a LanguageCode enum value + LanguageCodeAfZa = "af-ZA" - // LanguageCodeEnGb is a LanguageCode enum value - LanguageCodeEnGb = "en-GB" + // LanguageCodeArAe is a LanguageCode enum value + LanguageCodeArAe = "ar-AE" + + // LanguageCodeArSa is a LanguageCode enum value + LanguageCodeArSa = "ar-SA" + + // LanguageCodeCyGb is a LanguageCode enum value + LanguageCodeCyGb = "cy-GB" + + // LanguageCodeDaDk is a LanguageCode enum value + LanguageCodeDaDk = "da-DK" + + // LanguageCodeDeCh is a LanguageCode enum value + LanguageCodeDeCh = "de-CH" // LanguageCodeDeDe is a LanguageCode enum value LanguageCodeDeDe = "de-DE" - // LanguageCodePtBr is a LanguageCode enum value - LanguageCodePtBr = "pt-BR" + // LanguageCodeEnAb is a LanguageCode enum value + LanguageCodeEnAb = "en-AB" - // LanguageCodeFrFr is a LanguageCode enum value - LanguageCodeFrFr = "fr-FR" + // LanguageCodeEnAu is a LanguageCode enum value + LanguageCodeEnAu = "en-AU" - // LanguageCodeItIt is a LanguageCode enum value - LanguageCodeItIt = "it-IT" + // LanguageCodeEnGb is a LanguageCode enum value + LanguageCodeEnGb = "en-GB" - // LanguageCodeKoKr is a LanguageCode enum value - LanguageCodeKoKr = "ko-KR" + // LanguageCodeEnIe is a LanguageCode enum value + LanguageCodeEnIe = "en-IE" + + // LanguageCodeEnIn is a LanguageCode enum value + LanguageCodeEnIn = "en-IN" + + // LanguageCodeEnUs is a LanguageCode enum value + LanguageCodeEnUs = "en-US" + + // LanguageCodeEnWl is a LanguageCode enum value + LanguageCodeEnWl = "en-WL" // LanguageCodeEsEs is a LanguageCode enum value LanguageCodeEsEs = "es-ES" - // LanguageCodeEnIn is a LanguageCode enum value - LanguageCodeEnIn = "en-IN" + // LanguageCodeEsUs is a LanguageCode enum value + LanguageCodeEsUs = "es-US" - // LanguageCodeHiIn is a LanguageCode enum value - LanguageCodeHiIn = "hi-IN" + // LanguageCodeFaIr is a LanguageCode enum value + LanguageCodeFaIr = "fa-IR" - // LanguageCodeArSa is a LanguageCode enum value - LanguageCodeArSa = "ar-SA" + // LanguageCodeFrCa is a LanguageCode enum value + LanguageCodeFrCa = "fr-CA" - // LanguageCodeRuRu is a LanguageCode enum value - LanguageCodeRuRu = "ru-RU" + // LanguageCodeFrFr is a LanguageCode enum value + LanguageCodeFrFr = "fr-FR" - // LanguageCodeZhCn is a LanguageCode enum value - LanguageCodeZhCn = "zh-CN" + // LanguageCodeGaIe is a LanguageCode enum value + LanguageCodeGaIe = "ga-IE" - // LanguageCodeNlNl is a LanguageCode enum value - LanguageCodeNlNl = "nl-NL" + // LanguageCodeGdGb is a LanguageCode enum value + LanguageCodeGdGb = "gd-GB" + + // LanguageCodeHeIl is a LanguageCode enum value + LanguageCodeHeIl = "he-IL" + + // LanguageCodeHiIn is a LanguageCode enum value + LanguageCodeHiIn = "hi-IN" // LanguageCodeIdId is a LanguageCode enum value LanguageCodeIdId = "id-ID" - // LanguageCodeTaIn is a LanguageCode enum value - LanguageCodeTaIn = "ta-IN" + // LanguageCodeItIt is a LanguageCode enum value + LanguageCodeItIt = "it-IT" - // LanguageCodeFaIr is a LanguageCode enum value - LanguageCodeFaIr = "fa-IR" + // LanguageCodeJaJp is a LanguageCode enum value + LanguageCodeJaJp = "ja-JP" - // LanguageCodeEnIe is a LanguageCode enum value - LanguageCodeEnIe = "en-IE" + // LanguageCodeKoKr is a LanguageCode enum value + LanguageCodeKoKr = "ko-KR" - // LanguageCodeEnAb is a LanguageCode enum value - LanguageCodeEnAb = "en-AB" + // LanguageCodeMsMy is a LanguageCode enum value + LanguageCodeMsMy = "ms-MY" - // LanguageCodeEnWl is a LanguageCode enum value - LanguageCodeEnWl = "en-WL" + // LanguageCodeNlNl is a LanguageCode enum value + LanguageCodeNlNl = "nl-NL" + + // LanguageCodePtBr is a LanguageCode enum value + LanguageCodePtBr = "pt-BR" // LanguageCodePtPt is a LanguageCode enum value LanguageCodePtPt = "pt-PT" + // LanguageCodeRuRu is a LanguageCode enum value + LanguageCodeRuRu = "ru-RU" + + // LanguageCodeTaIn is a LanguageCode enum value + LanguageCodeTaIn = "ta-IN" + // LanguageCodeTeIn is a LanguageCode enum value LanguageCodeTeIn = "te-IN" // LanguageCodeTrTr is a LanguageCode enum value LanguageCodeTrTr = "tr-TR" - // LanguageCodeDeCh is a LanguageCode enum value - LanguageCodeDeCh = "de-CH" - - // LanguageCodeHeIl is a LanguageCode enum value - LanguageCodeHeIl = "he-IL" - - // LanguageCodeMsMy is a LanguageCode enum value - LanguageCodeMsMy = "ms-MY" - - // LanguageCodeJaJp is a LanguageCode enum value - LanguageCodeJaJp = "ja-JP" - - // LanguageCodeArAe is a LanguageCode enum value - LanguageCodeArAe = "ar-AE" + // LanguageCodeZhCn is a LanguageCode enum value + LanguageCodeZhCn = "zh-CN" ) const ( @@ -6591,6 +7713,17 @@ const ( MediaFormatFlac = "flac" ) +const ( + // ModelStatusInProgress is a ModelStatus enum value + ModelStatusInProgress = "IN_PROGRESS" + + // ModelStatusFailed is a ModelStatus enum value + ModelStatusFailed = "FAILED" + + // ModelStatusCompleted is a ModelStatus enum value + ModelStatusCompleted = "COMPLETED" +) + const ( // OutputLocationTypeCustomerBucket is a OutputLocationType enum value OutputLocationTypeCustomerBucket = "CUSTOMER_BUCKET" diff --git a/service/transcribeservice/errors.go b/service/transcribeservice/errors.go index c8a75e4081e..306a541cd6e 100644 --- a/service/transcribeservice/errors.go +++ b/service/transcribeservice/errors.go @@ -12,7 +12,7 @@ const ( // "BadRequestException". // // Your request didn't pass one or more validation tests. For example, if the - // transcription you're trying to delete doesn't exist or if it is in a non-terminal + // entity that you're trying to delete doesn't exist or if it is in a non-terminal // state (for example, it's "in progress"). See the exception Message field // for more information. ErrCodeBadRequestException = "BadRequestException" @@ -20,7 +20,7 @@ const ( // ErrCodeConflictException for service response error code // "ConflictException". // - // The resource name already exists. + // There is already a resource with that name. ErrCodeConflictException = "ConflictException" // ErrCodeInternalFailureException for service response error code diff --git a/service/transcribeservice/transcribeserviceiface/interface.go b/service/transcribeservice/transcribeserviceiface/interface.go index 516d504de57..bad4a7c0795 100644 --- a/service/transcribeservice/transcribeserviceiface/interface.go +++ b/service/transcribeservice/transcribeserviceiface/interface.go @@ -26,7 +26,7 @@ import ( // // myFunc uses an SDK service client to make a request to // // Amazon Transcribe Service. // func myFunc(svc transcribeserviceiface.TranscribeServiceAPI) bool { -// // Make svc.CreateMedicalVocabulary request +// // Make svc.CreateLanguageModel request // } // // func main() { @@ -42,7 +42,7 @@ import ( // type mockTranscribeServiceClient struct { // transcribeserviceiface.TranscribeServiceAPI // } -// func (m *mockTranscribeServiceClient) CreateMedicalVocabulary(input *transcribeservice.CreateMedicalVocabularyInput) (*transcribeservice.CreateMedicalVocabularyOutput, error) { +// func (m *mockTranscribeServiceClient) CreateLanguageModel(input *transcribeservice.CreateLanguageModelInput) (*transcribeservice.CreateLanguageModelOutput, error) { // // mock response/functionality // } // @@ -60,6 +60,10 @@ import ( // and waiters. Its suggested to use the pattern above for testing, or using // tooling to generate mocks to satisfy the interfaces. type TranscribeServiceAPI interface { + CreateLanguageModel(*transcribeservice.CreateLanguageModelInput) (*transcribeservice.CreateLanguageModelOutput, error) + CreateLanguageModelWithContext(aws.Context, *transcribeservice.CreateLanguageModelInput, ...request.Option) (*transcribeservice.CreateLanguageModelOutput, error) + CreateLanguageModelRequest(*transcribeservice.CreateLanguageModelInput) (*request.Request, *transcribeservice.CreateLanguageModelOutput) + CreateMedicalVocabulary(*transcribeservice.CreateMedicalVocabularyInput) (*transcribeservice.CreateMedicalVocabularyOutput, error) CreateMedicalVocabularyWithContext(aws.Context, *transcribeservice.CreateMedicalVocabularyInput, ...request.Option) (*transcribeservice.CreateMedicalVocabularyOutput, error) CreateMedicalVocabularyRequest(*transcribeservice.CreateMedicalVocabularyInput) (*request.Request, *transcribeservice.CreateMedicalVocabularyOutput) @@ -72,6 +76,10 @@ type TranscribeServiceAPI interface { CreateVocabularyFilterWithContext(aws.Context, *transcribeservice.CreateVocabularyFilterInput, ...request.Option) (*transcribeservice.CreateVocabularyFilterOutput, error) CreateVocabularyFilterRequest(*transcribeservice.CreateVocabularyFilterInput) (*request.Request, *transcribeservice.CreateVocabularyFilterOutput) + DeleteLanguageModel(*transcribeservice.DeleteLanguageModelInput) (*transcribeservice.DeleteLanguageModelOutput, error) + DeleteLanguageModelWithContext(aws.Context, *transcribeservice.DeleteLanguageModelInput, ...request.Option) (*transcribeservice.DeleteLanguageModelOutput, error) + DeleteLanguageModelRequest(*transcribeservice.DeleteLanguageModelInput) (*request.Request, *transcribeservice.DeleteLanguageModelOutput) + DeleteMedicalTranscriptionJob(*transcribeservice.DeleteMedicalTranscriptionJobInput) (*transcribeservice.DeleteMedicalTranscriptionJobOutput, error) DeleteMedicalTranscriptionJobWithContext(aws.Context, *transcribeservice.DeleteMedicalTranscriptionJobInput, ...request.Option) (*transcribeservice.DeleteMedicalTranscriptionJobOutput, error) DeleteMedicalTranscriptionJobRequest(*transcribeservice.DeleteMedicalTranscriptionJobInput) (*request.Request, *transcribeservice.DeleteMedicalTranscriptionJobOutput) @@ -92,6 +100,10 @@ type TranscribeServiceAPI interface { DeleteVocabularyFilterWithContext(aws.Context, *transcribeservice.DeleteVocabularyFilterInput, ...request.Option) (*transcribeservice.DeleteVocabularyFilterOutput, error) DeleteVocabularyFilterRequest(*transcribeservice.DeleteVocabularyFilterInput) (*request.Request, *transcribeservice.DeleteVocabularyFilterOutput) + DescribeLanguageModel(*transcribeservice.DescribeLanguageModelInput) (*transcribeservice.DescribeLanguageModelOutput, error) + DescribeLanguageModelWithContext(aws.Context, *transcribeservice.DescribeLanguageModelInput, ...request.Option) (*transcribeservice.DescribeLanguageModelOutput, error) + DescribeLanguageModelRequest(*transcribeservice.DescribeLanguageModelInput) (*request.Request, *transcribeservice.DescribeLanguageModelOutput) + GetMedicalTranscriptionJob(*transcribeservice.GetMedicalTranscriptionJobInput) (*transcribeservice.GetMedicalTranscriptionJobOutput, error) GetMedicalTranscriptionJobWithContext(aws.Context, *transcribeservice.GetMedicalTranscriptionJobInput, ...request.Option) (*transcribeservice.GetMedicalTranscriptionJobOutput, error) GetMedicalTranscriptionJobRequest(*transcribeservice.GetMedicalTranscriptionJobInput) (*request.Request, *transcribeservice.GetMedicalTranscriptionJobOutput) @@ -112,6 +124,13 @@ type TranscribeServiceAPI interface { GetVocabularyFilterWithContext(aws.Context, *transcribeservice.GetVocabularyFilterInput, ...request.Option) (*transcribeservice.GetVocabularyFilterOutput, error) GetVocabularyFilterRequest(*transcribeservice.GetVocabularyFilterInput) (*request.Request, *transcribeservice.GetVocabularyFilterOutput) + ListLanguageModels(*transcribeservice.ListLanguageModelsInput) (*transcribeservice.ListLanguageModelsOutput, error) + ListLanguageModelsWithContext(aws.Context, *transcribeservice.ListLanguageModelsInput, ...request.Option) (*transcribeservice.ListLanguageModelsOutput, error) + ListLanguageModelsRequest(*transcribeservice.ListLanguageModelsInput) (*request.Request, *transcribeservice.ListLanguageModelsOutput) + + ListLanguageModelsPages(*transcribeservice.ListLanguageModelsInput, func(*transcribeservice.ListLanguageModelsOutput, bool) bool) error + ListLanguageModelsPagesWithContext(aws.Context, *transcribeservice.ListLanguageModelsInput, func(*transcribeservice.ListLanguageModelsOutput, bool) bool, ...request.Option) error + ListMedicalTranscriptionJobs(*transcribeservice.ListMedicalTranscriptionJobsInput) (*transcribeservice.ListMedicalTranscriptionJobsOutput, error) ListMedicalTranscriptionJobsWithContext(aws.Context, *transcribeservice.ListMedicalTranscriptionJobsInput, ...request.Option) (*transcribeservice.ListMedicalTranscriptionJobsOutput, error) ListMedicalTranscriptionJobsRequest(*transcribeservice.ListMedicalTranscriptionJobsInput) (*request.Request, *transcribeservice.ListMedicalTranscriptionJobsOutput)