1. Registry
  2. Packages
  3. Files.com
  4. API Docs
  5. getEventRecord
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady
filescom logo
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady

    An EventRecord is a durable event emitted by Files.com for routing through Event Channels.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as filescom from "pulumi-filescom";
    
    const exampleEventRecord = filescom.getEventRecord({
        id: 1,
    });
    
    import pulumi
    import pulumi_filescom as filescom
    
    example_event_record = filescom.get_event_record(id=1)
    
    package main
    
    import (
    	"github.com/jschady/pulumi-filescom/sdk/go/filescom"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := filescom.GetEventRecord(ctx, &filescom.GetEventRecordArgs{
    			Id: 1,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Filescom = Jschady.Filescom;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleEventRecord = Filescom.GetEventRecord.Invoke(new()
        {
            Id = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.filescom.FilescomFunctions;
    import com.pulumi.filescom.inputs.GetEventRecordArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var exampleEventRecord = FilescomFunctions.getEventRecord(GetEventRecordArgs.builder()
                .id(1)
                .build());
    
        }
    }
    
    variables:
      exampleEventRecord:
        fn::invoke:
          function: filescom:getEventRecord
          arguments:
            id: 1
    
    pulumi {
      required_providers {
        filescom = {
          source = "pulumi/filescom"
        }
      }
    }
    
    data "filescom_geteventrecord" "exampleEventRecord" {
      id = 1
    }
    

    Using getEventRecord

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getEventRecord(args: GetEventRecordArgs, opts?: InvokeOptions): Promise<GetEventRecordResult>
    function getEventRecordOutput(args: GetEventRecordOutputArgs, opts?: InvokeOutputOptions): Output<GetEventRecordResult>
    def get_event_record(id: Optional[int] = None,
                         opts: Optional[InvokeOptions] = None) -> GetEventRecordResult
    def get_event_record_output(id: pulumi.Input[Optional[int]] = None,
                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetEventRecordResult]
    func GetEventRecord(ctx *Context, args *GetEventRecordArgs, opts ...InvokeOption) (*GetEventRecordResult, error)
    func GetEventRecordOutput(ctx *Context, args *GetEventRecordOutputArgs, opts ...InvokeOption) GetEventRecordResultOutput

    > Note: This function is named GetEventRecord in the Go SDK.

    public static class GetEventRecord 
    {
        public static Task<GetEventRecordResult> InvokeAsync(GetEventRecordArgs args, InvokeOptions? opts = null)
        public static Output<GetEventRecordResult> Invoke(GetEventRecordInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetEventRecordResult> Invoke(GetEventRecordInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetEventRecordResult> getEventRecord(GetEventRecordArgs args, InvokeOptions options)
    public static Output<GetEventRecordResult> getEventRecord(GetEventRecordArgs args, InvokeOptions options)
    public static Output<GetEventRecordResult> getEventRecord(GetEventRecordArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: filescom:index/getEventRecord:getEventRecord
      arguments:
        # arguments dictionary
    data "filescom_get_event_record" "name" {
        # arguments
    }

    The following arguments are supported:

    Id int
    Event Record ID
    Id int
    Event Record ID
    id number
    Event Record ID
    id Integer
    Event Record ID
    id number
    Event Record ID
    id int
    Event Record ID
    id Number
    Event Record ID

    getEventRecord Result

    The following output properties are available:

    Actor object
    Actor associated with the event.
    CreatedAt string
    Event Record create date/time.
    EventType string
    Versioned event type string.
    EventUuid string
    Stable event UUID.
    HumanFields object
    Human-readable event detail fields.
    HumanSummary string
    Human-readable event summary.
    HumanTitle string
    Human-readable event title.
    Id int
    Event Record ID
    OccurredAt string
    Event occurrence date/time.
    Payload object
    Event payload.
    Resources object
    Resources associated with the event.
    Severity string
    Event severity.
    SourceId int
    Source record ID.
    SourceType string
    Source record type.
    WorkspaceId int
    Workspace ID. 0 means the default workspace or site-wide.
    Actor interface{}
    Actor associated with the event.
    CreatedAt string
    Event Record create date/time.
    EventType string
    Versioned event type string.
    EventUuid string
    Stable event UUID.
    HumanFields interface{}
    Human-readable event detail fields.
    HumanSummary string
    Human-readable event summary.
    HumanTitle string
    Human-readable event title.
    Id int
    Event Record ID
    OccurredAt string
    Event occurrence date/time.
    Payload interface{}
    Event payload.
    Resources interface{}
    Resources associated with the event.
    Severity string
    Event severity.
    SourceId int
    Source record ID.
    SourceType string
    Source record type.
    WorkspaceId int
    Workspace ID. 0 means the default workspace or site-wide.
    actor any
    Actor associated with the event.
    created_at string
    Event Record create date/time.
    event_type string
    Versioned event type string.
    event_uuid string
    Stable event UUID.
    human_fields any
    Human-readable event detail fields.
    human_summary string
    Human-readable event summary.
    human_title string
    Human-readable event title.
    id number
    Event Record ID
    occurred_at string
    Event occurrence date/time.
    payload any
    Event payload.
    resources any
    Resources associated with the event.
    severity string
    Event severity.
    source_id number
    Source record ID.
    source_type string
    Source record type.
    workspace_id number
    Workspace ID. 0 means the default workspace or site-wide.
    actor Object
    Actor associated with the event.
    createdAt String
    Event Record create date/time.
    eventType String
    Versioned event type string.
    eventUuid String
    Stable event UUID.
    humanFields Object
    Human-readable event detail fields.
    humanSummary String
    Human-readable event summary.
    humanTitle String
    Human-readable event title.
    id Integer
    Event Record ID
    occurredAt String
    Event occurrence date/time.
    payload Object
    Event payload.
    resources Object
    Resources associated with the event.
    severity String
    Event severity.
    sourceId Integer
    Source record ID.
    sourceType String
    Source record type.
    workspaceId Integer
    Workspace ID. 0 means the default workspace or site-wide.
    actor any
    Actor associated with the event.
    createdAt string
    Event Record create date/time.
    eventType string
    Versioned event type string.
    eventUuid string
    Stable event UUID.
    humanFields any
    Human-readable event detail fields.
    humanSummary string
    Human-readable event summary.
    humanTitle string
    Human-readable event title.
    id number
    Event Record ID
    occurredAt string
    Event occurrence date/time.
    payload any
    Event payload.
    resources any
    Resources associated with the event.
    severity string
    Event severity.
    sourceId number
    Source record ID.
    sourceType string
    Source record type.
    workspaceId number
    Workspace ID. 0 means the default workspace or site-wide.
    actor Any
    Actor associated with the event.
    created_at str
    Event Record create date/time.
    event_type str
    Versioned event type string.
    event_uuid str
    Stable event UUID.
    human_fields Any
    Human-readable event detail fields.
    human_summary str
    Human-readable event summary.
    human_title str
    Human-readable event title.
    id int
    Event Record ID
    occurred_at str
    Event occurrence date/time.
    payload Any
    Event payload.
    resources Any
    Resources associated with the event.
    severity str
    Event severity.
    source_id int
    Source record ID.
    source_type str
    Source record type.
    workspace_id int
    Workspace ID. 0 means the default workspace or site-wide.
    actor Any
    Actor associated with the event.
    createdAt String
    Event Record create date/time.
    eventType String
    Versioned event type string.
    eventUuid String
    Stable event UUID.
    humanFields Any
    Human-readable event detail fields.
    humanSummary String
    Human-readable event summary.
    humanTitle String
    Human-readable event title.
    id Number
    Event Record ID
    occurredAt String
    Event occurrence date/time.
    payload Any
    Event payload.
    resources Any
    Resources associated with the event.
    severity String
    Event severity.
    sourceId Number
    Source record ID.
    sourceType String
    Source record type.
    workspaceId Number
    Workspace ID. 0 means the default workspace or site-wide.

    Package Details

    Repository
    filescom jschady/pulumi-filescom
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the filescom Terraform Provider.
    filescom logo
    Viewing docs for Files.com v0.1.1
    published on Thursday, Aug 20, 2026 by jschady

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial