{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-gamelift/json-schema/amazon-gamelift-revoke-stream-url-input-schema.json",
  "title": "RevokeStreamUrlInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-gamelift-operations-api-openapi.yml#/components/schemas/RevokeStreamUrlInput",
  "type": "object",
  "properties": {
    "Identifier": {
      "type": "string",
      "description": "An Amazon Resource Name (ARN) or ID that uniquely identifies the stream group resource. Example ARN: arn:aws:gameliftstreams:us-west-2:111122223333:streamgroup/sg-1AB2C3De4. Example ID: sg-1AB2C3De4. This is the stream group that owns the stream URL."
    },
    "StreamUrlIdentifier": {
      "type": "string",
      "description": "The unique identifier of the stream URL to revoke. Specify a stream URL ID or Amazon Resource Name (ARN). Example ARN: arn:aws:gameliftstreams:us-west-2:111122223333:streamurl/sg-1AB2C3De4/su-1AB2C3De4. Example ID: su-1AB2C3De4."
    },
    "RevocationMode": {
      "type": "string",
      "enum": [
        "REVOKE_URL",
        "REVOKE_AND_TERMINATE_SESSIONS"
      ],
      "description": "Controls what happens to running stream sessions when you revoke the stream URL. If you do not specify a value, the default is REVOKE_URL. Possible values include the following: REVOKE_URL: Stops the stream URL from starting new stream sessions. Running sessions continue until they end. REVOKE_AND_TERMINATE_SESSIONS: Stops new stream sessions and ends any running stream sessions."
    }
  },
  "required": [
    "Identifier",
    "StreamUrlIdentifier"
  ]
}