Amazon S3 Glacier · Schema

SetDataRetrievalPolicyInput

ArchivesAmazon Web ServicesBackupStorage

Properties

Name Type Description
accountId string The AccountId value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a s
Policy object
View JSON Schema on GitHub

JSON Schema

amazon-s3-glacier-set-data-retrieval-policy-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-s3-glacier/json-schema/amazon-s3-glacier-set-data-retrieval-policy-input-schema.json",
  "title": "SetDataRetrievalPolicyInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-s3-glacier-operations-api-openapi.yml#/components/schemas/SetDataRetrievalPolicyInput",
  "type": "object",
  "properties": {
    "accountId": {
      "type": "string",
      "description": "The AccountId value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID."
    },
    "Policy": {
      "$ref": "#/$defs/DataRetrievalPolicy"
    }
  },
  "required": [
    "accountId"
  ],
  "$defs": {
    "DataRetrievalPolicy": {
      "type": "object",
      "properties": {
        "Rules": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DataRetrievalRule"
          },
          "description": "The policy rule. Although this is a list type, currently there must be only one rule, which contains a Strategy field and optionally a BytesPerHour field."
        }
      }
    },
    "DataRetrievalRule": {
      "type": "object",
      "properties": {
        "Strategy": {
          "type": "string",
          "description": "The type of data retrieval policy to set. Valid values: BytesPerHour|FreeTier|None"
        },
        "BytesPerHour": {
          "type": "integer",
          "description": "The maximum number of bytes that can be retrieved in an hour. This field is required only if the value of the Strategy field is BytesPerHour. Your PUT operation will be rejected if the Strategy field is not set to BytesPerHour and you set this field."
        }
      }
    }
  }
}

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-s3-glacier-set-data-retrieval-policy-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.