{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kinesis/json-schema/kinesis-start-stream-encryption-input-schema.json",
  "title": "StartStreamEncryptionInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kinesis-amazon-kinesis-api-openapi.yml#/components/schemas/StartStreamEncryptionInput",
  "type": "object",
  "properties": {
    "StreamName": {
      "type": "string",
      "description": "The name of the stream for which to start encrypting records."
    },
    "EncryptionType": {
      "type": "string",
      "enum": [
        "NONE",
        "KMS"
      ],
      "description": "The encryption type to use. The only valid value is KMS."
    },
    "KeyId": {
      "type": "string",
      "description": "The GUID for the customer-managed Amazon Web Services KMS key to use for encryption. This value can be a globally unique identifier, a fully specified Amazon Resource Name (ARN) to either an alias or a key, or an alias name prefixed by \"alias/\".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis. Key ARN example: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 Alias ARN example: arn:aws:kms:us-east-1:123456789012:alias/MyAliasName Globally unique key ID example: 12345678-1234-1234-1234-123456789012 Alias name example: alia"
    },
    "StreamARN": {
      "type": "string",
      "description": "The ARN of the stream."
    },
    "StreamId": {
      "type": "string",
      "description": "Not Implemented. Reserved for future use."
    }
  },
  "required": [
    "EncryptionType",
    "KeyId"
  ]
}