UpdateDataRetentionInput

Amazon Web ServicesIoTMachine LearningMediaVideo Streaming

Properties

Name Type Description
StreamName string The name of the stream whose retention period you want to change.
StreamARN string The Amazon Resource Name (ARN) of the stream whose retention period you want to change.
CurrentVersion string The version of the stream whose retention period you want to change. To get the version, call either the DescribeStream or the ListStreams API.
Operation string Indicates whether you want to increase or decrease the retention period.
DataRetentionChangeInHours integer The number of hours to adjust the current retention by. The value you specify is added to or subtracted from the current value, depending on the operation. The minimum value for data retention is 0 an
View JSON Schema on GitHub

JSON Schema

amazon-kinesis-video-streams-update-data-retention-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-kinesis-video-streams/json-schema/amazon-kinesis-video-streams-update-data-retention-input-schema.json",
  "title": "UpdateDataRetentionInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-kinesis-video-streams-operations-api-openapi.yml#/components/schemas/UpdateDataRetentionInput",
  "type": "object",
  "properties": {
    "StreamName": {
      "type": "string",
      "description": "The name of the stream whose retention period you want to change."
    },
    "StreamARN": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the stream whose retention period you want to change."
    },
    "CurrentVersion": {
      "type": "string",
      "description": "The version of the stream whose retention period you want to change. To get the version, call either the DescribeStream or the ListStreams API."
    },
    "Operation": {
      "type": "string",
      "enum": [
        "INCREASE_DATA_RETENTION",
        "DECREASE_DATA_RETENTION"
      ],
      "description": "Indicates whether you want to increase or decrease the retention period."
    },
    "DataRetentionChangeInHours": {
      "type": "integer",
      "description": "The number of hours to adjust the current retention by. The value you specify is added to or subtracted from the current value, depending on the operation. The minimum value for data retention is 0 and the maximum value is 87600 (ten years)."
    }
  },
  "required": [
    "CurrentVersion",
    "Operation",
    "DataRetentionChangeInHours"
  ]
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-kinesis-video-streams-update-data-retention-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.