{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-list-instance-storage-configs-response-schema.json",
  "title": "ListInstanceStorageConfigsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-storage-config-api-openapi.yml#/components/schemas/ListInstanceStorageConfigsResponse",
  "type": "object",
  "properties": {
    "StorageConfigs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/InstanceStorageConfig"
      },
      "description": "A valid storage type."
    },
    "NextToken": {
      "type": "string",
      "description": "If there are additional results, this is the token for the next set of results."
    }
  },
  "$defs": {
    "EncryptionConfig": {
      "type": "object",
      "properties": {
        "EncryptionType": {
          "type": "string",
          "enum": [
            "KMS"
          ],
          "description": "The type of encryption."
        },
        "KeyId": {
          "type": "string",
          "description": "The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID. Connect Customer supports only KMS keys with the default key spec of SYMMETRIC_DEFAULT ."
        }
      },
      "required": [
        "EncryptionType",
        "KeyId"
      ]
    },
    "InstanceStorageConfig": {
      "type": "object",
      "properties": {
        "AssociationId": {
          "type": "string",
          "description": "The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID."
        },
        "StorageType": {
          "type": "string",
          "enum": [
            "S3",
            "KINESIS_VIDEO_STREAM",
            "KINESIS_STREAM",
            "KINESIS_FIREHOSE"
          ],
          "description": "A valid storage type."
        },
        "S3Config": {
          "$ref": "#/$defs/S3Config"
        },
        "KinesisVideoStreamConfig": {
          "$ref": "#/$defs/KinesisVideoStreamConfig"
        },
        "KinesisStreamConfig": {
          "$ref": "#/$defs/KinesisStreamConfig"
        },
        "KinesisFirehoseConfig": {
          "$ref": "#/$defs/KinesisFirehoseConfig"
        }
      },
      "required": [
        "StorageType"
      ]
    },
    "KinesisFirehoseConfig": {
      "type": "object",
      "properties": {
        "FirehoseArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the delivery stream."
        }
      },
      "required": [
        "FirehoseArn"
      ]
    },
    "KinesisStreamConfig": {
      "type": "object",
      "properties": {
        "StreamArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the data stream."
        }
      },
      "required": [
        "StreamArn"
      ]
    },
    "KinesisVideoStreamConfig": {
      "type": "object",
      "properties": {
        "Prefix": {
          "type": "string",
          "description": "The prefix of the video stream."
        },
        "RetentionPeriodHours": {
          "type": "integer",
          "description": "The number of hours data is retained in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream. The default value is 0, indicating that the stream does not persist data."
        },
        "EncryptionConfig": {
          "$ref": "#/$defs/EncryptionConfig"
        }
      },
      "required": [
        "Prefix",
        "RetentionPeriodHours",
        "EncryptionConfig"
      ]
    },
    "S3Config": {
      "type": "object",
      "properties": {
        "BucketName": {
          "type": "string",
          "description": "The S3 bucket name."
        },
        "BucketPrefix": {
          "type": "string",
          "description": "The S3 bucket prefix."
        },
        "EncryptionConfig": {
          "$ref": "#/$defs/EncryptionConfig"
        }
      },
      "required": [
        "BucketName",
        "BucketPrefix"
      ]
    }
  }
}