Amazon OpenSearch Service API · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Amazon OpenSearch Service Replication API

6 actions 6 updates phrasing extends openapi/amazon-opensearch-replication-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Amazon OpenSearch Service API's API. It is a proposal applied on top of the contract, not a document Amazon OpenSearch Service API publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/2021-01-01/opensearch/domain/{DomainName}/replication/addPeer'].post
$.paths['/2021-01-01/opensearch/domain/{DomainName}/replication'].get
$.paths['/2021-01-01/opensearch/domain/{DomainName}/replication/failover'].post
$.paths['/2021-01-01/opensearch/domain/{DomainName}/replication/removePeer'].post
$.paths['/2021-01-01/opensearch/domain/{DomainName}/replication/switchover'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Amazon OpenSearch Service Replication API
  version: 1.0.0
extends: openapi/amazon-opensearch-replication-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-12-01'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 5
- target: $.paths['/2021-01-01/opensearch/domain/{DomainName}/replication/addPeer'].post
  update:
    x-apievangelist-phrasing:
      intent: Replicate a domain to another Region
      effect: write
      questions:
      - How do I set up cross-Region replication for an OpenSearch domain?
      - Can I make a domain in one Region the secondary of a domain in another Region?
      instructions:
      - text: Replicate domain {DomainName} to peer {PeerDomainArn}.
        slots:
          DomainName: path.DomainName
          PeerDomainArn: requestBody.PeerDomainArn
      - text: Dry-run replication of {DomainName} to {PeerDomainArn} with dry-run {DryRun}.
        slots:
          DomainName: path.DomainName
          PeerDomainArn: requestBody.PeerDomainArn
          DryRun: requestBody.DryRun
      method: generated
      generated: '2026-12-01'
- target: $.paths['/2021-01-01/opensearch/domain/{DomainName}/replication'].get
  update:
    x-apievangelist-phrasing:
      intent: Describe a domain's replication arrangement
      effect: read
      questions:
      - Is my domain replicating to another Region, and what state is it in?
      - Which domain is the primary and which is the secondary in a replication pair?
      instructions:
      - text: Describe replication for domain {DomainName}.
        slots:
          DomainName: path.DomainName
      - text: Show the replication role and state of {DomainName}.
        slots:
          DomainName: path.DomainName
      method: generated
      generated: '2026-12-01'
- target: $.paths['/2021-01-01/opensearch/domain/{DomainName}/replication/failover'].post
  update:
    x-apievangelist-phrasing:
      intent: Promote a secondary to primary without coordination
      effect: destructive
      questions:
      - How do I promote a secondary domain to primary when the primary is unreachable?
      - Will I lose writes when I force a failover of a replication relationship?
      instructions:
      - text: Fail over replication of {DomainName} to peer {PeerDomainArn} with data loss allowed {AllowDataLoss}.
        slots:
          DomainName: path.DomainName
          PeerDomainArn: requestBody.PeerDomainArn
          AllowDataLoss: requestBody.AllowDataLoss
      - text: Promote {DomainName} to primary, acknowledging data loss {AllowDataLoss}, because the primary is unreachable.
        slots:
          DomainName: path.DomainName
          AllowDataLoss: requestBody.AllowDataLoss
      method: generated
      generated: '2026-12-01'
- target: $.paths['/2021-01-01/opensearch/domain/{DomainName}/replication/removePeer'].post
  update:
    x-apievangelist-phrasing:
      intent: Stop replicating a domain to its peer
      effect: write
      questions:
      - How do I stop replicating a domain to its peer without deleting either domain?
      - Does removing a replication peer leave both domains with their data intact?
      instructions:
      - text: Remove peer {PeerDomainArn} from replication of {DomainName}.
        slots:
          PeerDomainArn: requestBody.PeerDomainArn
          DomainName: path.DomainName
      - text: Stop replication between {DomainName} and {PeerDomainArn}.
        slots:
          DomainName: path.DomainName
          PeerDomainArn: requestBody.PeerDomainArn
      method: generated
      generated: '2026-12-01'
- target: $.paths['/2021-01-01/opensearch/domain/{DomainName}/replication/switchover'].post
  update:
    x-apievangelist-phrasing:
      intent: Promote a secondary to primary with no data loss
      effect: write
      questions:
      - How do I promote a secondary domain to primary without losing writes?
      - Can I switch roles between replication domains for a planned change?
      instructions:
      - text: Switchover replication of {DomainName} to peer {PeerDomainArn}.
        slots:
          DomainName: path.DomainName
          PeerDomainArn: requestBody.PeerDomainArn
      - text: Promote {DomainName} to primary while the current primary is reachable.
        slots:
          DomainName: path.DomainName
      method: generated
      generated: '2026-12-01'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay 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 overlay
curl "https://apis.io/api/v1/overlays/amazon-opensearch-replication-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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