{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-dms/json-schema/amazon-dms-start-replication-task-assessment-run-message-schema.json",
  "title": "StartReplicationTaskAssessmentRunMessage",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-dms-aws-database-migration-service-api-openapi.yml#/components/schemas/StartReplicationTaskAssessmentRunMessage",
  "type": "object",
  "properties": {
    "ReplicationTaskArn": {
      "type": "string",
      "description": "Amazon Resource Name (ARN) of the migration task associated with the premigration assessment run that you want to start."
    },
    "ServiceAccessRoleArn": {
      "type": "string",
      "description": "ARN of the service role needed to start the assessment run. The role must allow the iam:PassRole action."
    },
    "ResultLocationBucket": {
      "type": "string",
      "description": "Amazon S3 bucket where you want DMS to store the results of this assessment run."
    },
    "ResultLocationFolder": {
      "type": "string",
      "description": "Folder within an Amazon S3 bucket where you want DMS to store the results of this assessment run."
    },
    "ResultEncryptionMode": {
      "type": "string",
      "description": "Encryption mode that you can specify to encrypt the results of this assessment run. If you don't specify this request parameter, DMS stores the assessment run results without encryption. You can specify one of the options following: \"SSE_S3\" – The server-side encryption provided as a default by Amazon S3. \"SSE_KMS\" – Key Management Service (KMS) encryption. This encryption can use either a custom KMS encryption key that you specify or the default KMS encryption key that DMS provides."
    },
    "ResultKmsKeyArn": {
      "type": "string",
      "description": "ARN of a custom KMS encryption key that you specify when you set ResultEncryptionMode to \"SSE_KMS\"."
    },
    "AssessmentRunName": {
      "type": "string",
      "description": "Unique name to identify the assessment run."
    },
    "IncludeOnly": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Space-separated list of names for specific individual assessments that you want to include. These names come from the default list of individual assessments that DMS supports for the associated migration task. This task is specified by ReplicationTaskArn. You can't set a value for IncludeOnly if you also set a value for Exclude in the API operation. To identify the names of the default individual assessments that DMS supports for the associated migration task, run the DescribeApplicableIndividualAssessments operation using its own ReplicationTaskArn request parameter."
    },
    "Exclude": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Space-separated list of names for specific individual assessments that you want to exclude. These names come from the default list of individual assessments that DMS supports for the associated migration task. This task is specified by ReplicationTaskArn. You can't set a value for Exclude if you also set a value for IncludeOnly in the API operation. To identify the names of the default individual assessments that DMS supports for the associated migration task, run the DescribeApplicableIndividualAssessments operation using its own ReplicationTaskArn request parameter."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "One or more tags to be assigned to the premigration assessment run that you want to start."
    }
  },
  "required": [
    "ReplicationTaskArn",
    "ServiceAccessRoleArn",
    "ResultLocationBucket",
    "AssessmentRunName"
  ],
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed with \"aws:\" or \"dms:\". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regular expressions: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-]*)$\")."
        },
        "Value": {
          "type": "string",
          "description": "A value is the optional value of the tag. The string value can be 1-256 Unicode characters in length and can't be prefixed with \"aws:\" or \"dms:\". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regular expressions: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-]*)$\")."
        },
        "ResourceArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created."
        }
      }
    }
  }
}