Builder

class Builder

Properties

Link copied to clipboard

The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files (in this case, your custom vocabulary). If the role that you specify doesn’t have the appropriate permissions to access the specified Amazon S3 location, your request fails.

Link copied to clipboard

The language code that represents the language of the entries in your custom vocabulary. Each custom vocabulary must contain terms in only one language.

Link copied to clipboard

Use this parameter if you want to create your custom vocabulary by including all desired terms, as comma-separated values, within your request. The other option for creating your custom vocabulary is to save your entries in a text file and upload them to an Amazon S3 bucket, then specify the location of your file using the VocabularyFileUri parameter.

Link copied to clipboard
var tags: List<Tag>?

Adds one or more custom tags, each in the form of a key:value pair, to a new custom vocabulary at the time you create this new custom vocabulary.

Link copied to clipboard

The Amazon S3 location of the text file that contains your custom vocabulary. The URI must be located in the same Amazon Web Services Region as the resource you're calling.

Link copied to clipboard

A unique name, chosen by you, for your new custom vocabulary.