{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-update-device-fleet-request-schema.json",
  "title": "UpdateDeviceFleetRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-device-fleet-api-openapi.yml#/components/schemas/UpdateDeviceFleetRequest",
  "type": "object",
  "properties": {
    "DeviceFleetName": {
      "type": "string",
      "description": "The name of the fleet."
    },
    "RoleArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the device."
    },
    "Description": {
      "type": "string",
      "description": "Description of the fleet."
    },
    "OutputConfig": {
      "$ref": "#/$defs/EdgeOutputConfig"
    },
    "EnableIotRoleAlias": {
      "type": "boolean",
      "description": "Whether to create an Amazon Web Services IoT Role Alias during device fleet creation. The name of the role alias generated will match this pattern: \"SageMakerEdge-{DeviceFleetName}\". For example, if your device fleet is called \"demo-fleet\", the name of the role alias will be \"SageMakerEdge-demo-fleet\"."
    }
  },
  "required": [
    "DeviceFleetName",
    "OutputConfig"
  ],
  "$defs": {
    "EdgeOutputConfig": {
      "type": "object",
      "properties": {
        "S3OutputLocation": {
          "type": "string",
          "description": "The Amazon Simple Storage (S3) bucker URI."
        },
        "KmsKeyId": {
          "type": "string",
          "description": "The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume after compilation job. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account."
        },
        "PresetDeploymentType": {
          "type": "string",
          "enum": [
            "GreengrassV2Component"
          ],
          "description": "The deployment type SageMaker Edge Manager will create. Currently only supports Amazon Web Services IoT Greengrass Version 2 components."
        },
        "PresetDeploymentConfig": {
          "type": "string",
          "description": "The configuration used to create deployment artifacts. Specify configuration options with a JSON string. The available configuration options for each type are: ComponentName (optional) - Name of the GreenGrass V2 component. If not specified, the default name generated consists of \"SagemakerEdgeManager\" and the name of your SageMaker Edge Manager packaging job. ComponentDescription (optional) - Description of the component. ComponentVersion (optional) - The version of the component. Amazon Web Services IoT Greengrass uses semantic versions for components. Semantic versions follow a major.minor."
        }
      },
      "required": [
        "S3OutputLocation"
      ]
    }
  }
}