{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-backup/json-schema/aws-backup-update-tiering-configuration-input-schema.json",
  "title": "UpdateTieringConfigurationInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-backup-tiering-configurations-api-openapi.yml#/components/schemas/UpdateTieringConfigurationInput",
  "type": "object",
  "properties": {
    "TieringConfigurationName": {
      "type": "string",
      "description": "The name of a tiering configuration to update."
    },
    "TieringConfiguration": {
      "$ref": "#/$defs/TieringConfigurationInputForUpdate"
    }
  },
  "required": [
    "TieringConfigurationName",
    "TieringConfiguration"
  ],
  "$defs": {
    "ResourceSelection": {
      "type": "object",
      "properties": {
        "Resources": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An array of strings that either contains ARNs of the associated resources or contains a wildcard * to specify all resources. You can specify up to 100 specific resources per tiering configuration."
        },
        "TieringDownSettingsInDays": {
          "type": "integer",
          "description": "The number of days after creation within a backup vault that an object can transition to the low cost warm storage tier. Must be a positive integer between 60 and 36500 days."
        },
        "ResourceType": {
          "type": "string",
          "description": "The type of Amazon Web Services resource; for example, S3 for Amazon S3. For tiering configurations, this is currently limited to S3."
        }
      },
      "required": [
        "Resources",
        "TieringDownSettingsInDays",
        "ResourceType"
      ]
    },
    "TieringConfigurationInputForUpdate": {
      "type": "object",
      "properties": {
        "ResourceSelection": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ResourceSelection"
          },
          "description": "An array of resource selection objects that specify which resources are included in the tiering configuration and their tiering settings."
        },
        "BackupVaultName": {
          "type": "string",
          "description": "The name of the backup vault where the tiering configuration applies. Use * to apply to all backup vaults."
        }
      },
      "required": [
        "ResourceSelection",
        "BackupVaultName"
      ]
    }
  }
}