{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-gamelift/json-schema/amazon-gamelift-update-stream-group-input-schema.json",
  "title": "UpdateStreamGroupInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-gamelift-streamgroups-api-openapi.yml#/components/schemas/UpdateStreamGroupInput",
  "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."
    },
    "LocationConfigurations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GameliftstreamsLocationConfiguration"
      },
      "description": "A set of one or more locations and the streaming capacity for each location."
    },
    "Description": {
      "type": "string",
      "description": "A descriptive label for the stream group."
    },
    "DefaultApplicationIdentifier": {
      "type": "string",
      "description": "The unique identifier of the Amazon GameLift Streams application that you want to set as the default application in a stream group. The application that you specify must be in READY status. The default application is pre-cached on always-on compute resources, reducing stream startup times. Other applications are automatically cached as needed. Note that this parameter only sets the default application in a stream group. To associate a new application to an existing stream group, you must use AssociateApplications. When you switch default applications in a stream group, it can take up to a few "
    }
  },
  "required": [
    "Identifier"
  ],
  "$defs": {
    "GameliftstreamsLocationConfiguration": {
      "type": "object",
      "properties": {
        "LocationName": {
          "type": "string",
          "description": "A location's name. For example, us-east-1. For a complete list of locations that Amazon GameLift Streams supports, refer to Regions, quotas, and limitations in the Amazon GameLift Streams Developer Guide."
        },
        "AlwaysOnCapacity": {
          "type": "integer",
          "description": "This setting, if non-zero, indicates minimum streaming capacity which is allocated to you and is never released back to the service. You pay for this base level of capacity at all times, whether used or idle."
        },
        "OnDemandCapacity": {
          "type": "integer",
          "description": "This field is deprecated. Use MaximumCapacity instead. This parameter cannot be used with MaximumCapacity or TargetIdleCapacity in the same location configuration. The streaming capacity that Amazon GameLift Streams can allocate in response to stream requests, and then de-allocate when the session has terminated. This offers a cost control measure at the expense of a greater startup time (typically under 5 minutes). Default is 0 when creating a stream group or adding a location."
        },
        "TargetIdleCapacity": {
          "type": "integer",
          "description": "This indicates idle capacity which the service pre-allocates and holds for you in anticipation of future activity. This helps to insulate your users from capacity-allocation delays. You pay for capacity which is held in this intentional idle state."
        },
        "MaximumCapacity": {
          "type": "integer",
          "description": "This indicates the maximum capacity that the service can allocate for you. Newly created streams may take a few minutes to start. Capacity is released back to the service when idle. You pay for capacity that is allocated to you until it is released."
        },
        "VpcTransitConfiguration": {
          "$ref": "#/$defs/VpcTransitConfiguration"
        }
      },
      "required": [
        "LocationName"
      ]
    },
    "VpcTransitConfiguration": {
      "type": "object",
      "properties": {
        "VpcId": {
          "type": "string",
          "description": "The ID of the Amazon VPC that you want to connect to the stream group. The VPC must be in the same Amazon Web Services account as the stream group. This value cannot be changed after the stream group is created."
        },
        "Ipv4CidrBlocks": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of IPv4 CIDR blocks in your VPC that you want the stream group to be able to access. You can specify up to 5 CIDR blocks. The CIDR blocks must be valid subsets of the VPC's CIDR blocks and cannot overlap with the service VPC CIDR block."
        }
      },
      "required": [
        "VpcId",
        "Ipv4CidrBlocks"
      ]
    }
  }
}