PutTwinDocumentRequest: {
    data?: Record<string, unknown>;
    documentName: string;
    region?: Region;
    twinId: string;
    version?: number;
}

Type declaration

  • Optionaldata?: Record<string, unknown>

    New data that will replace the contents of the document.

  • documentName: string

    Name of the document.

  • Optionalregion?: Region

    Region to target. If none is passed will use default region from the config.

  • twinId: string

    Twin ID.

  • Optionalversion?: number

    If set, ensures that the current version of the document matches before persisting the update.