createRelatedItem
Creates a related item (comments, tasks, and contacts) and associates it with a case.
A Related Item is a resource that is associated with a case. It may or may not have an external identifier linking it to an external resource (for example, a
contactArn). All Related Items have their own internal identifier, therelatedItemArn. Examples of related items includecommentsandcontacts.If you provide a value for
performedBy.userArnyou must also have DescribeUser permission on the ARN of the user that you provide.The
typefield is reserved for internal use only.