{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-gamelift/json-schema/amazon-gamelift-list-stream-urls-output-schema.json",
  "title": "ListStreamUrlsOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-gamelift-streamurls-api-openapi.yml#/components/schemas/ListStreamUrlsOutput",
  "type": "object",
  "properties": {
    "Items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/StreamUrlSummary"
      },
      "description": "A collection of stream URL summaries. Each summary includes the identity, status, and usage of the stream URL, but not its full configuration."
    },
    "NextToken": {
      "type": "string",
      "description": "A token that marks the start of the next sequential page of results. If an operation doesn't return a token, you've reached the end of the list."
    }
  },
  "$defs": {
    "StreamUrlSummary": {
      "type": "object",
      "properties": {
        "Arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) that uniquely identifies the stream URL across all Amazon Web Services Regions. Format is arn:aws:gameliftstreams:[AWS Region]:[AWS account]:streamurl/[stream group resource ID]/[stream URL resource ID]."
        },
        "StreamUrlId": {
          "type": "string",
          "description": "The unique identifier for the stream URL resource, for example su-1AB2C3De4."
        },
        "StreamUrl": {
          "type": "string",
          "description": "The shareable stream URL. Distribute this URL to end users so that they can start and play a stream session in a hosted web player. Treat the stream URL as a secret. Anyone who has it can start a stream session until the stream URL expires, is revoked, or reaches its usage limit."
        },
        "Status": {
          "type": "string",
          "enum": [
            "ACTIVE",
            "EXPIRED",
            "REVOKED",
            "LIMIT_REACHED"
          ],
          "description": "The current status of the stream URL. Possible statuses include the following: ACTIVE: The stream URL is valid and can start stream sessions. EXPIRED: The stream URL has passed its expiration time and can no longer start stream sessions. REVOKED: The stream URL was revoked and can no longer start stream sessions. LIMIT_REACHED: The stream URL has been used the maximum number of times and can no longer start stream sessions."
        },
        "StatusReason": {
          "type": "string",
          "enum": [
            "userRevoked",
            "revokedAndTerminatingSessions",
            "revokedAndSessionsTerminated",
            "streamGroupDeleted",
            "applicationDeleted"
          ],
          "description": "Additional information about why the stream URL is in its current status. Amazon GameLift Streams populates this value when the status is REVOKED. Possible values include the following: userRevoked: You revoked the stream URL. revokedAndTerminatingSessions: You revoked the stream URL and Amazon GameLift Streams is ending its running stream sessions. revokedAndSessionsTerminated: You revoked the stream URL and its running stream sessions have ended. streamGroupDeleted: The stream group was deleted, which revoked the stream URL. applicationDeleted: The application was deleted, which revoked the "
        },
        "ExpiresAt": {
          "type": "string",
          "description": "The date and time when the stream URL expires and stops accepting new stream sessions. Timestamps are expressed using in ISO8601 format, such as: 2022-12-27T22:29:40+00:00 (UTC)."
        },
        "CreatedAt": {
          "type": "string",
          "description": "A timestamp that indicates when this resource was created. Timestamps are expressed using in ISO8601 format, such as: 2022-12-27T22:29:40+00:00 (UTC)."
        },
        "UsageLimit": {
          "type": "integer",
          "description": "The maximum number of times the stream URL can start a stream session."
        },
        "RemainingUses": {
          "type": "integer",
          "description": "The number of times the stream URL can still be used to start a stream session."
        },
        "StreamGroupArn": {
          "type": "string",
          "description": "The stream group that runs the stream sessions. This value is an Amazon Resource Name (ARN) that uniquely identifies the stream group resource. Example ARN: arn:aws:gameliftstreams:us-west-2:111122223333:streamgroup/sg-1AB2C3De4."
        },
        "ApplicationArn": {
          "type": "string",
          "description": "The application that runs in the stream sessions. This value is an Amazon Resource Name (ARN) that uniquely identifies the application resource. Example ARN: arn:aws:gameliftstreams:us-west-2:111122223333:application/a-9ZY8X7Wv6."
        },
        "SessionLengthSeconds": {
          "type": "integer",
          "description": "The maximum length of time, in seconds, that a stream session started from this stream URL can run."
        },
        "Description": {
          "type": "string",
          "description": "The descriptive label for the stream URL."
        }
      },
      "required": [
        "Arn"
      ]
    }
  }
}