{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-transfer-family/json-schema/amazon-transfer-family-update-web-app-request-schema.json",
  "title": "UpdateWebAppRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-transfer-family-updatewebapp-api-openapi.yml#/components/schemas/UpdateWebAppRequest",
  "type": "object",
  "properties": {
    "WebAppId": {
      "type": "string",
      "description": "Provide the identifier of the web app that you are updating."
    },
    "IdentityProviderDetails": {
      "$ref": "#/$defs/UpdateWebAppIdentityProviderDetails"
    },
    "AccessEndpoint": {
      "type": "string",
      "description": "The AccessEndpoint is the URL that you provide to your users for them to interact with the Transfer Family web app. You can specify a custom URL or use the default value."
    },
    "WebAppUnits": {
      "$ref": "#/$defs/WebAppUnits"
    },
    "EndpointDetails": {
      "$ref": "#/$defs/UpdateWebAppEndpointDetails"
    }
  },
  "required": [
    "WebAppId"
  ],
  "$defs": {
    "UpdateWebAppEndpointDetails": {
      "type": "object",
      "properties": {
        "Vpc": {
          "$ref": "#/$defs/UpdateWebAppVpcConfig"
        }
      },
      "description": "Exactly one member is set."
    },
    "UpdateWebAppIdentityCenterConfig": {
      "type": "object",
      "properties": {
        "Role": {
          "type": "string",
          "description": "The IAM role used to access IAM Identity Center."
        }
      }
    },
    "UpdateWebAppIdentityProviderDetails": {
      "type": "object",
      "properties": {
        "IdentityCenterConfig": {
          "$ref": "#/$defs/UpdateWebAppIdentityCenterConfig"
        }
      },
      "description": "Exactly one member is set."
    },
    "UpdateWebAppVpcConfig": {
      "type": "object",
      "properties": {
        "SubnetIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of subnet IDs within the VPC where the web app endpoint should be deployed during the update operation."
        },
        "IpAddressType": {
          "type": "string",
          "enum": [
            "IPV4",
            "DUALSTACK"
          ],
          "description": "The IP address type for the web app's VPC endpoint. This determines whether the endpoint is accessible over IPv4 only, or over both IPv4 and IPv6."
        }
      }
    },
    "WebAppUnits": {
      "type": "object",
      "properties": {
        "Provisioned": {
          "type": "integer",
          "description": "An integer that represents the number of units for your desired number of concurrent connections, or the number of user sessions on your web app at the same time. Each increment allows an additional 250 concurrent sessions: a value of 1 sets the number of concurrent sessions to 250; 2 sets a value of 500, and so on."
        }
      },
      "description": "Exactly one member is set."
    }
  }
}