{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-interactive-video-service/json-schema/amazon-interactive-video-service-get-recording-configuration-response-schema.json",
  "title": "GetRecordingConfigurationResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-interactive-video-service-getrecordingconfiguration-api-openapi.yml#/components/schemas/GetRecordingConfigurationResponse",
  "type": "object",
  "properties": {
    "recordingConfiguration": {
      "$ref": "#/$defs/RecordingConfiguration"
    }
  },
  "$defs": {
    "DestinationConfiguration": {
      "type": "object",
      "properties": {
        "s3": {
          "$ref": "#/$defs/S3DestinationConfiguration"
        }
      }
    },
    "RecordingConfiguration": {
      "type": "object",
      "properties": {
        "arn": {
          "type": "string",
          "description": "Recording-configuration ARN."
        },
        "name": {
          "type": "string",
          "description": "Recording-configuration name. The value does not need to be unique."
        },
        "destinationConfiguration": {
          "$ref": "#/$defs/DestinationConfiguration"
        },
        "state": {
          "type": "string",
          "description": "Indicates the current state of the recording configuration. When the state is ACTIVE, the configuration is ready for recording a channel stream."
        },
        "tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value). See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there."
        },
        "thumbnailConfiguration": {
          "$ref": "#/$defs/ThumbnailConfiguration"
        },
        "recordingReconnectWindowSeconds": {
          "type": "integer",
          "description": "If a broadcast disconnects and then reconnects within the specified interval, the multiple streams will be considered a single broadcast and merged together. Default: 0."
        },
        "renditionConfiguration": {
          "$ref": "#/$defs/RenditionConfiguration"
        }
      },
      "required": [
        "arn",
        "destinationConfiguration",
        "state"
      ]
    },
    "RenditionConfiguration": {
      "type": "object",
      "properties": {
        "renditionSelection": {
          "type": "string",
          "description": "Indicates which set of renditions are recorded for a stream. For BASIC channels, the CUSTOM value has no effect. If CUSTOM is specified, a set of renditions must be specified in the renditions field. Default: ALL."
        },
        "renditions": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "SD",
              "HD",
              "FULL_HD",
              "LOWEST_RESOLUTION"
            ]
          },
          "description": "Indicates which renditions are recorded for a stream, if renditionSelection is CUSTOM; otherwise, this field is irrelevant. The selected renditions are recorded if they are available during the stream. If a selected rendition is unavailable, the best available rendition is recorded. For details on the resolution dimensions of each rendition, see Auto-Record to Amazon S3."
        }
      }
    },
    "S3DestinationConfiguration": {
      "type": "object",
      "properties": {
        "bucketName": {
          "type": "string",
          "description": "Location (S3 bucket name) where recorded videos will be stored."
        }
      },
      "required": [
        "bucketName"
      ]
    },
    "ThumbnailConfiguration": {
      "type": "object",
      "properties": {
        "recordingMode": {
          "type": "string",
          "description": "Thumbnail recording mode. Default: INTERVAL."
        },
        "targetIntervalSeconds": {
          "type": "integer",
          "description": "The targeted thumbnail-generation interval in seconds. This is configurable (and required) only if recordingMode is INTERVAL. Default: 60. Important: For the BASIC channel type, or the STANDARD channel type with multitrack input, setting a value for targetIntervalSeconds does not guarantee that thumbnails are generated at the specified interval. For thumbnails to be generated at the targetIntervalSeconds interval, the IDR/Keyframe value for the input video must be less than the targetIntervalSeconds value. See Amazon IVS Streaming Configuration for information on setting IDR/Keyframe to the re"
        },
        "resolution": {
          "type": "string",
          "enum": [
            "SD",
            "HD",
            "FULL_HD",
            "LOWEST_RESOLUTION"
          ],
          "description": "Indicates the desired resolution of recorded thumbnails. Thumbnails are recorded at the selected resolution if the corresponding rendition is available during the stream; otherwise, they are recorded at source resolution. For more information about resolution values and their corresponding height and width dimensions, see Auto-Record to Amazon S3. Default: Null (source resolution is returned)."
        },
        "storage": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Indicates the format in which thumbnails are recorded. SEQUENTIAL records all generated thumbnails in a serial manner, to the media/thumbnails directory. LATEST saves the latest thumbnail in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified by targetIntervalSeconds. You can enable both SEQUENTIAL and LATEST. Default: SEQUENTIAL."
        }
      }
    }
  }
}