Amazon Polly · Arazzo Workflow

Amazon Polly Lexicon Lifecycle

Version 1.0.0

Store a lexicon, list lexicons, read it back, and delete it.

1 workflow 1 source API 1 provider
View Spec View on GitHub Artificial IntelligenceMachine-LearningSpeech SynthesisText-to-SpeechTTSVoiceSSMLNeural EngineGenerative AIArazzoWorkflows

Provider

amazon-polly

Workflows

lexicon-lifecycle
Create, list, read, and delete a pronunciation lexicon.
Stores a PLS lexicon, lists lexicons in the region, reads the stored lexicon back, and deletes it to leave the region clean.
4 steps inputs: amzDate, authorization, content, contentSha256, lexiconName, securityToken outputs: lexiconName, lexicons
1
putLexicon
Store the PLS lexicon under the supplied name.
2
listLexicons
List the lexicons stored in the region to confirm the new one is present.
3
getLexicon
Retrieve the stored lexicon content and attributes.
4
deleteLexicon
Delete the lexicon to remove it from the region.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon Polly Lexicon Lifecycle
  summary: Store a lexicon, list lexicons, read it back, and delete it.
  description: >-
    Exercises the full CRUD lifecycle of an Amazon Polly pronunciation lexicon.
    The workflow stores a PLS lexicon with PutLexicon, lists lexicons to confirm
    it appears in the region, retrieves its content and attributes with
    GetLexicon, and finally removes it with DeleteLexicon. Each step spells out
    its request inline, including the AWS Signature Version 4 signing headers, so
    the flow can be read and executed without opening the underlying OpenAPI
    description.
  version: 1.0.0
sourceDescriptions:
- name: lexiconsApi
  url: ../openapi/amazon-polly-lexicons-api-openapi.yml
  type: openapi
workflows:
- workflowId: lexicon-lifecycle
  summary: Create, list, read, and delete a pronunciation lexicon.
  description: >-
    Stores a PLS lexicon, lists lexicons in the region, reads the stored lexicon
    back, and deletes it to leave the region clean.
  inputs:
    type: object
    required:
    - lexiconName
    - content
    - amzDate
    - authorization
    properties:
      lexiconName:
        type: string
        description: Case-sensitive alphanumeric lexicon name (1-20 chars).
      content:
        type: string
        description: The PLS lexicon content as a string.
      amzDate:
        type: string
        description: The X-Amz-Date timestamp used to sign the requests.
      authorization:
        type: string
        description: The full SigV4 Authorization header value for the request.
      contentSha256:
        type: string
        description: The X-Amz-Content-Sha256 hex digest of the request payload.
      securityToken:
        type: string
        description: Optional X-Amz-Security-Token for temporary credentials.
  steps:
  - stepId: putLexicon
    description: Store the PLS lexicon under the supplied name.
    operationId: PutLexicon
    parameters:
    - name: LexiconName
      in: path
      value: $inputs.lexiconName
    - name: X-Amz-Date
      in: header
      value: $inputs.amzDate
    - name: Authorization
      in: header
      value: $inputs.authorization
    - name: X-Amz-Content-Sha256
      in: header
      value: $inputs.contentSha256
    - name: X-Amz-Security-Token
      in: header
      value: $inputs.securityToken
    requestBody:
      contentType: application/json
      payload:
        Content: $inputs.content
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $statusCode
  - stepId: listLexicons
    description: List the lexicons stored in the region to confirm the new one is present.
    operationId: ListLexicons
    parameters:
    - name: X-Amz-Date
      in: header
      value: $inputs.amzDate
    - name: Authorization
      in: header
      value: $inputs.authorization
    - name: X-Amz-Content-Sha256
      in: header
      value: $inputs.contentSha256
    - name: X-Amz-Security-Token
      in: header
      value: $inputs.securityToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      lexicons: $response.body#/Lexicons
      nextToken: $response.body#/NextToken
  - stepId: getLexicon
    description: Retrieve the stored lexicon content and attributes.
    operationId: GetLexicon
    parameters:
    - name: LexiconName
      in: path
      value: $inputs.lexiconName
    - name: X-Amz-Date
      in: header
      value: $inputs.amzDate
    - name: Authorization
      in: header
      value: $inputs.authorization
    - name: X-Amz-Content-Sha256
      in: header
      value: $inputs.contentSha256
    - name: X-Amz-Security-Token
      in: header
      value: $inputs.securityToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      lexiconName: $response.body#/Lexicon/Name
      lexiconAttributes: $response.body#/LexiconAttributes
  - stepId: deleteLexicon
    description: Delete the lexicon to remove it from the region.
    operationId: DeleteLexicon
    parameters:
    - name: LexiconName
      in: path
      value: $inputs.lexiconName
    - name: X-Amz-Date
      in: header
      value: $inputs.amzDate
    - name: Authorization
      in: header
      value: $inputs.authorization
    - name: X-Amz-Content-Sha256
      in: header
      value: $inputs.contentSha256
    - name: X-Amz-Security-Token
      in: header
      value: $inputs.securityToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $statusCode
  outputs:
    lexiconName: $steps.getLexicon.outputs.lexiconName
    lexicons: $steps.listLexicons.outputs.lexicons

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/amazon-polly-lexicon-lifecycle-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.