---
title: "PUT /v1/lexicons/{LexiconName}"
method: PUT
path: "/v1/lexicons/{LexiconName}"
---

# PUT /v1/lexicons/{LexiconName}

`PUT /v1/lexicons/{LexiconName}`

Stores a pronunciation lexicon in an Amazon Web Services Region. If a lexicon with the same name already exists in the region, it is overwritten by the new lexicon. Lexicon operations have eventual consistency, therefore, it might take some time before the lexicon is available to the SynthesizeSpeech operation.

For more information, see [Managing Lexicons](https://docs.aws.amazon.com/polly/latest/dg/managing-lexicons.html).

## Path parameters

- `LexiconName` string, required

## Request body

- object
  - `Content` string, password, required — Content of the PLS lexicon as string data.

## Response `200`

Success

- PutLexiconOutput

## Other responses

- `480` — InvalidLexiconException
- `481` — UnsupportedPlsAlphabetException
- `482` — UnsupportedPlsLanguageException
- `483` — LexiconSizeExceededException
- `484` — MaxLexemeLengthExceededException
- `485` — MaxLexiconsNumberExceededException
- `486` — ServiceFailureException

---

[API](https://skmtc.net/aws/apis/polly.md) · [All operations](https://skmtc.net/aws/apis/polly/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/polly/versions/0cd8445cb96a/schema)
