Amazon RDS · Arazzo Workflow

Amazon RDS Enable Backup Retention

Version 1.0.0

Set an instance backup retention period immediately and poll until stable.

1 workflow 1 source API 1 provider
View Spec View on GitHub Amazon Web ServicesCloud DatabasesDatabase ServiceDatabase-as-a-ServiceManaged DatabaseRelational DatabasesDatabaseArazzoWorkflows

Provider

amazon-rds

Workflows

enable-backup-retention
Set a DB instance backup retention period and wait for it to apply.
Confirms the instance is available, modifies the backup retention period with ApplyImmediately, then polls until DescribeDBInstances reports the instance available again.
3 steps inputs: backupRetentionPeriod, dbInstanceIdentifier outputs: appliedRetention, status
1
confirmInstance
Describe the DB instance to confirm it is available before changing the backup retention period.
2
modifyRetention
Submit the modify request setting the backup retention period with the change applied immediately.
3
pollInstance
Describe the DB instance and inspect its status. While the instance is still modifying or backing-up the workflow loops back to poll again; once it is available the flow ends.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon RDS Enable Backup Retention
  summary: Set an instance backup retention period immediately and poll until stable.
  description: >-
    Turns on (or extends) automated backups for a DB instance by setting its
    backup retention period and waiting for the change to apply. The workflow
    confirms the instance is available, submits a modify request that sets the
    BackupRetentionPeriod with ApplyImmediately, and polls DescribeDBInstances
    until the status settles back to available, looping while the instance is
    still modifying or backing-up. Every step spells out its request inline so
    the flow can be read and executed without opening the underlying OpenAPI
    description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-600.50
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-600.50
      capability_name: IT Infrastructure Management
      spec: amazon-rds-db-instances-api-openapi.yml
      confidence: 0.85
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: dbInstancesApi
  url: ../openapi/amazon-rds-db-instances-api-openapi.yml
  type: openapi
workflows:
- workflowId: enable-backup-retention
  summary: Set a DB instance backup retention period and wait for it to apply.
  description: >-
    Confirms the instance is available, modifies the backup retention period
    with ApplyImmediately, then polls until DescribeDBInstances reports the
    instance available again.
  inputs:
    type: object
    required:
    - dbInstanceIdentifier
    - backupRetentionPeriod
    properties:
      dbInstanceIdentifier:
        type: string
        description: The identifier of the DB instance to configure backups for.
      backupRetentionPeriod:
        type: integer
        description: The number of days to retain automated backups (0-35).
  steps:
  - stepId: confirmInstance
    description: >-
      Describe the DB instance to confirm it is available before changing the
      backup retention period.
    operationId: DescribeDBInstances
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        Action: DescribeDBInstances
        Version: '2014-10-31'
        DBInstanceIdentifier: $inputs.dbInstanceIdentifier
    successCriteria:
    - condition: $statusCode == 200
    - condition: $response.body#/dBInstances/0/dBInstanceStatus == 'available'
    outputs:
      currentRetention: $response.body#/dBInstances/0/backupRetentionPeriod
  - stepId: modifyRetention
    description: >-
      Submit the modify request setting the backup retention period with the
      change applied immediately.
    operationId: ModifyDBInstance
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        Action: ModifyDBInstance
        Version: '2014-10-31'
        DBInstanceIdentifier: $inputs.dbInstanceIdentifier
        BackupRetentionPeriod: $inputs.backupRetentionPeriod
        ApplyImmediately: true
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      pendingStatus: $response.body#/dBInstance/dBInstanceStatus
  - stepId: pollInstance
    description: >-
      Describe the DB instance and inspect its status. While the instance is
      still modifying or backing-up the workflow loops back to poll again; once
      it is available the flow ends.
    operationId: DescribeDBInstances
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        Action: DescribeDBInstances
        Version: '2014-10-31'
        DBInstanceIdentifier: $inputs.dbInstanceIdentifier
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/dBInstances/0/dBInstanceStatus
      appliedRetention: $response.body#/dBInstances/0/backupRetentionPeriod
    onSuccess:
    - name: stillApplying
      type: goto
      stepId: pollInstance
      criteria:
      - condition: $response.body#/dBInstances/0/dBInstanceStatus != 'available'
    - name: available
      type: end
      criteria:
      - condition: $response.body#/dBInstances/0/dBInstanceStatus == 'available'
  outputs:
    status: $steps.pollInstance.outputs.status
    appliedRetention: $steps.pollInstance.outputs.appliedRetention

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-rds-enable-backup-retention-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?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.