published on Thursday, Nov 5, 2026 by jschady
published on Thursday, Nov 5, 2026 by jschady
An AS2IncomingMessage is a single record created for each individual AS2 file transfer incoming from a Partner. It contains the message details and tracks the lifecycle status with milestones of the transfer.
Replaying a retained message creates a new incoming message. Its replayedFromMessageId identifies the incoming-message record that was replayed. The original AS2 messageId is preserved. The source record ID remains available after that record is removed by message retention.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as filescom from "pulumi-filescom";
const exampleAs2IncomingMessage = filescom.getAs2IncomingMessage({
id: 1,
});
import pulumi
import pulumi_filescom as filescom
example_as2_incoming_message = filescom.get_as2_incoming_message(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.GetAs2IncomingMessage(ctx, &filescom.GetAs2IncomingMessageArgs{
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 exampleAs2IncomingMessage = Filescom.GetAs2IncomingMessage.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.GetAs2IncomingMessageArgs;
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 exampleAs2IncomingMessage = FilescomFunctions.getAs2IncomingMessage(GetAs2IncomingMessageArgs.builder()
.id(1)
.build());
}
}
variables:
exampleAs2IncomingMessage:
fn::invoke:
function: filescom:getAs2IncomingMessage
arguments:
id: 1
terraform {
required_providers {
filescom = {
source = "pulumi/filescom"
}
}
}
data "filescom_as2_incoming_message" "exampleAs2IncomingMessage" {
id = 1
}
Using getAs2IncomingMessage
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 getAs2IncomingMessage(args: GetAs2IncomingMessageArgs, opts?: InvokeOptions): Promise<GetAs2IncomingMessageResult>
function getAs2IncomingMessageOutput(args: GetAs2IncomingMessageOutputArgs, opts?: InvokeOutputOptions): Output<GetAs2IncomingMessageResult>def get_as2_incoming_message(id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetAs2IncomingMessageResult
def get_as2_incoming_message_output(id: pulumi.Input[Optional[int]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetAs2IncomingMessageResult]func GetAs2IncomingMessage(ctx *Context, args *GetAs2IncomingMessageArgs, opts ...InvokeOption) (*GetAs2IncomingMessageResult, error)
func GetAs2IncomingMessageOutput(ctx *Context, args *GetAs2IncomingMessageOutputArgs, opts ...InvokeOption) GetAs2IncomingMessageResultOutput> Note: This function is named GetAs2IncomingMessage in the Go SDK.
public static class GetAs2IncomingMessage
{
public static Task<GetAs2IncomingMessageResult> InvokeAsync(GetAs2IncomingMessageArgs args, InvokeOptions? opts = null)
public static Output<GetAs2IncomingMessageResult> Invoke(GetAs2IncomingMessageInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetAs2IncomingMessageResult> Invoke(GetAs2IncomingMessageInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetAs2IncomingMessageResult> getAs2IncomingMessage(GetAs2IncomingMessageArgs args, InvokeOptions options)
public static Output<GetAs2IncomingMessageResult> getAs2IncomingMessage(GetAs2IncomingMessageArgs args, InvokeOptions options)
public static Output<GetAs2IncomingMessageResult> getAs2IncomingMessage(GetAs2IncomingMessageArgs args, InvokeOutputOptions options)
fn::invoke:
function: filescom:index/getAs2IncomingMessage:getAs2IncomingMessage
arguments:
# arguments dictionarydata "filescom_get_as2_incoming_message" "name" {
# arguments
}The following arguments are supported:
- Id int
- ID of this AS2 incoming message record.
- Id int
- ID of this AS2 incoming message record.
- id number
- ID of this AS2 incoming message record.
- id Integer
- ID of this AS2 incoming message record.
- id number
- ID of this AS2 incoming message record.
- id int
- ID of this AS2 incoming message record.
- id Number
- ID of this AS2 incoming message record.
getAs2IncomingMessage Result
The following output properties are available:
- As2From string
- AS2 FROM header of message
- As2Partner
Id int - Id of the AS2 Partner associated with this message.
- As2Station
Id int - Id of the AS2 Station associated with this message.
- As2To string
- AS2 TO header of message
- Attachment
Filename string - Filename of the file being received.
- Body
Size string - Encrypted Payload Body Size
- Content
Type string - Content Type header of the incoming message.
- Created
At string - Message creation date/time
- Date string
- Date Header
- Encrypted
Uri string - URL to download the encrypted signed smime that is to sent as AS2 body
- Hex
Recipient stringSerial - Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial in hex format.
- Http
Headers object - HTTP Headers sent with this message.
- Http
Response stringCode - HTTP Response Code sent for this message
- Http
Response objectHeaders - HTTP Headers sent for this message.
- Id int
- ID of this AS2 incoming message record.
- Ip string
- IP Address of the Sender
- Mdn
Response stringUri - URL to download the http response body
- Message
Decrypted bool - Message decrypted successfully?
- Message
Id string - AS2 Message Id
- Message
Mdn boolReturned - MDN returned?
- Message
Processing boolSuccess - Message processed successfully?
- Message
Received bool - Message body received?
- Message
Signature boolVerified - Message signature verified?
- Mic string
- AS2 Message Integrity Check
- Mic
Algo string - AS2 Message Integrity Check Algorithm Used
- Processing
Result string - Result of processing.
- Processing
Result stringDescription - Result of processing description.
- Raw
Uri string - URL to download the original file contents
- Recipient
Issuer string - Incoming Message Recipient(the Client Cert used to encrypt this message)'s issuer
- Recipient
Serial string - Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial
- Replayed
From intMessage Id - ID of the incoming message record this message was replayed from. Empty for messages received directly from a trading partner.
- Smime
Signed stringUri - URL to download the file contents as smime with signature
- Smime
Uri string - URL to download the file contents encoded as smime
- Subject string
- AS2 Subject Header
- Uuid string
- UUID assigned to this message.
- Workspace
Id int - ID of the Workspace associated with this AS2 Incoming Message.
- As2From string
- AS2 FROM header of message
- As2Partner
Id int - Id of the AS2 Partner associated with this message.
- As2Station
Id int - Id of the AS2 Station associated with this message.
- As2To string
- AS2 TO header of message
- Attachment
Filename string - Filename of the file being received.
- Body
Size string - Encrypted Payload Body Size
- Content
Type string - Content Type header of the incoming message.
- Created
At string - Message creation date/time
- Date string
- Date Header
- Encrypted
Uri string - URL to download the encrypted signed smime that is to sent as AS2 body
- Hex
Recipient stringSerial - Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial in hex format.
- Http
Headers interface{} - HTTP Headers sent with this message.
- Http
Response stringCode - HTTP Response Code sent for this message
- Http
Response interface{}Headers - HTTP Headers sent for this message.
- Id int
- ID of this AS2 incoming message record.
- Ip string
- IP Address of the Sender
- Mdn
Response stringUri - URL to download the http response body
- Message
Decrypted bool - Message decrypted successfully?
- Message
Id string - AS2 Message Id
- Message
Mdn boolReturned - MDN returned?
- Message
Processing boolSuccess - Message processed successfully?
- Message
Received bool - Message body received?
- Message
Signature boolVerified - Message signature verified?
- Mic string
- AS2 Message Integrity Check
- Mic
Algo string - AS2 Message Integrity Check Algorithm Used
- Processing
Result string - Result of processing.
- Processing
Result stringDescription - Result of processing description.
- Raw
Uri string - URL to download the original file contents
- Recipient
Issuer string - Incoming Message Recipient(the Client Cert used to encrypt this message)'s issuer
- Recipient
Serial string - Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial
- Replayed
From intMessage Id - ID of the incoming message record this message was replayed from. Empty for messages received directly from a trading partner.
- Smime
Signed stringUri - URL to download the file contents as smime with signature
- Smime
Uri string - URL to download the file contents encoded as smime
- Subject string
- AS2 Subject Header
- Uuid string
- UUID assigned to this message.
- Workspace
Id int - ID of the Workspace associated with this AS2 Incoming Message.
- as2_
from string - AS2 FROM header of message
- as2_
partner_ numberid - Id of the AS2 Partner associated with this message.
- as2_
station_ numberid - Id of the AS2 Station associated with this message.
- as2_
to string - AS2 TO header of message
- attachment_
filename string - Filename of the file being received.
- body_
size string - Encrypted Payload Body Size
- content_
type string - Content Type header of the incoming message.
- created_
at string - Message creation date/time
- date string
- Date Header
- encrypted_
uri string - URL to download the encrypted signed smime that is to sent as AS2 body
- hex_
recipient_ stringserial - Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial in hex format.
- http_
headers any - HTTP Headers sent with this message.
- http_
response_ stringcode - HTTP Response Code sent for this message
- http_
response_ anyheaders - HTTP Headers sent for this message.
- id number
- ID of this AS2 incoming message record.
- ip string
- IP Address of the Sender
- mdn_
response_ stringuri - URL to download the http response body
- message_
decrypted bool - Message decrypted successfully?
- message_
id string - AS2 Message Id
- message_
mdn_ boolreturned - MDN returned?
- message_
processing_ boolsuccess - Message processed successfully?
- message_
received bool - Message body received?
- message_
signature_ boolverified - Message signature verified?
- mic string
- AS2 Message Integrity Check
- mic_
algo string - AS2 Message Integrity Check Algorithm Used
- processing_
result string - Result of processing.
- processing_
result_ stringdescription - Result of processing description.
- raw_
uri string - URL to download the original file contents
- recipient_
issuer string - Incoming Message Recipient(the Client Cert used to encrypt this message)'s issuer
- recipient_
serial string - Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial
- replayed_
from_ numbermessage_ id - ID of the incoming message record this message was replayed from. Empty for messages received directly from a trading partner.
- smime_
signed_ stringuri - URL to download the file contents as smime with signature
- smime_
uri string - URL to download the file contents encoded as smime
- subject string
- AS2 Subject Header
- uuid string
- UUID assigned to this message.
- workspace_
id number - ID of the Workspace associated with this AS2 Incoming Message.
- as2From String
- AS2 FROM header of message
- as2Partner
Id Integer - Id of the AS2 Partner associated with this message.
- as2Station
Id Integer - Id of the AS2 Station associated with this message.
- as2To String
- AS2 TO header of message
- attachment
Filename String - Filename of the file being received.
- body
Size String - Encrypted Payload Body Size
- content
Type String - Content Type header of the incoming message.
- created
At String - Message creation date/time
- date String
- Date Header
- encrypted
Uri String - URL to download the encrypted signed smime that is to sent as AS2 body
- hex
Recipient StringSerial - Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial in hex format.
- http
Headers Object - HTTP Headers sent with this message.
- http
Response StringCode - HTTP Response Code sent for this message
- http
Response ObjectHeaders - HTTP Headers sent for this message.
- id Integer
- ID of this AS2 incoming message record.
- ip String
- IP Address of the Sender
- mdn
Response StringUri - URL to download the http response body
- message
Decrypted Boolean - Message decrypted successfully?
- message
Id String - AS2 Message Id
- message
Mdn BooleanReturned - MDN returned?
- message
Processing BooleanSuccess - Message processed successfully?
- message
Received Boolean - Message body received?
- message
Signature BooleanVerified - Message signature verified?
- mic String
- AS2 Message Integrity Check
- mic
Algo String - AS2 Message Integrity Check Algorithm Used
- processing
Result String - Result of processing.
- processing
Result StringDescription - Result of processing description.
- raw
Uri String - URL to download the original file contents
- recipient
Issuer String - Incoming Message Recipient(the Client Cert used to encrypt this message)'s issuer
- recipient
Serial String - Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial
- replayed
From IntegerMessage Id - ID of the incoming message record this message was replayed from. Empty for messages received directly from a trading partner.
- smime
Signed StringUri - URL to download the file contents as smime with signature
- smime
Uri String - URL to download the file contents encoded as smime
- subject String
- AS2 Subject Header
- uuid String
- UUID assigned to this message.
- workspace
Id Integer - ID of the Workspace associated with this AS2 Incoming Message.
- as2From string
- AS2 FROM header of message
- as2Partner
Id number - Id of the AS2 Partner associated with this message.
- as2Station
Id number - Id of the AS2 Station associated with this message.
- as2To string
- AS2 TO header of message
- attachment
Filename string - Filename of the file being received.
- body
Size string - Encrypted Payload Body Size
- content
Type string - Content Type header of the incoming message.
- created
At string - Message creation date/time
- date string
- Date Header
- encrypted
Uri string - URL to download the encrypted signed smime that is to sent as AS2 body
- hex
Recipient stringSerial - Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial in hex format.
- http
Headers any - HTTP Headers sent with this message.
- http
Response stringCode - HTTP Response Code sent for this message
- http
Response anyHeaders - HTTP Headers sent for this message.
- id number
- ID of this AS2 incoming message record.
- ip string
- IP Address of the Sender
- mdn
Response stringUri - URL to download the http response body
- message
Decrypted boolean - Message decrypted successfully?
- message
Id string - AS2 Message Id
- message
Mdn booleanReturned - MDN returned?
- message
Processing booleanSuccess - Message processed successfully?
- message
Received boolean - Message body received?
- message
Signature booleanVerified - Message signature verified?
- mic string
- AS2 Message Integrity Check
- mic
Algo string - AS2 Message Integrity Check Algorithm Used
- processing
Result string - Result of processing.
- processing
Result stringDescription - Result of processing description.
- raw
Uri string - URL to download the original file contents
- recipient
Issuer string - Incoming Message Recipient(the Client Cert used to encrypt this message)'s issuer
- recipient
Serial string - Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial
- replayed
From numberMessage Id - ID of the incoming message record this message was replayed from. Empty for messages received directly from a trading partner.
- smime
Signed stringUri - URL to download the file contents as smime with signature
- smime
Uri string - URL to download the file contents encoded as smime
- subject string
- AS2 Subject Header
- uuid string
- UUID assigned to this message.
- workspace
Id number - ID of the Workspace associated with this AS2 Incoming Message.
- as2_
from str - AS2 FROM header of message
- as2_
partner_ intid - Id of the AS2 Partner associated with this message.
- as2_
station_ intid - Id of the AS2 Station associated with this message.
- as2_
to str - AS2 TO header of message
- attachment_
filename str - Filename of the file being received.
- body_
size str - Encrypted Payload Body Size
- content_
type str - Content Type header of the incoming message.
- created_
at str - Message creation date/time
- date str
- Date Header
- encrypted_
uri str - URL to download the encrypted signed smime that is to sent as AS2 body
- hex_
recipient_ strserial - Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial in hex format.
- http_
headers Any - HTTP Headers sent with this message.
- http_
response_ strcode - HTTP Response Code sent for this message
- http_
response_ Anyheaders - HTTP Headers sent for this message.
- id int
- ID of this AS2 incoming message record.
- ip str
- IP Address of the Sender
- mdn_
response_ struri - URL to download the http response body
- message_
decrypted bool - Message decrypted successfully?
- message_
id str - AS2 Message Id
- message_
mdn_ boolreturned - MDN returned?
- message_
processing_ boolsuccess - Message processed successfully?
- message_
received bool - Message body received?
- message_
signature_ boolverified - Message signature verified?
- mic str
- AS2 Message Integrity Check
- mic_
algo str - AS2 Message Integrity Check Algorithm Used
- processing_
result str - Result of processing.
- processing_
result_ strdescription - Result of processing description.
- raw_
uri str - URL to download the original file contents
- recipient_
issuer str - Incoming Message Recipient(the Client Cert used to encrypt this message)'s issuer
- recipient_
serial str - Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial
- replayed_
from_ intmessage_ id - ID of the incoming message record this message was replayed from. Empty for messages received directly from a trading partner.
- smime_
signed_ struri - URL to download the file contents as smime with signature
- smime_
uri str - URL to download the file contents encoded as smime
- subject str
- AS2 Subject Header
- uuid str
- UUID assigned to this message.
- workspace_
id int - ID of the Workspace associated with this AS2 Incoming Message.
- as2From String
- AS2 FROM header of message
- as2Partner
Id Number - Id of the AS2 Partner associated with this message.
- as2Station
Id Number - Id of the AS2 Station associated with this message.
- as2To String
- AS2 TO header of message
- attachment
Filename String - Filename of the file being received.
- body
Size String - Encrypted Payload Body Size
- content
Type String - Content Type header of the incoming message.
- created
At String - Message creation date/time
- date String
- Date Header
- encrypted
Uri String - URL to download the encrypted signed smime that is to sent as AS2 body
- hex
Recipient StringSerial - Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial in hex format.
- http
Headers Any - HTTP Headers sent with this message.
- http
Response StringCode - HTTP Response Code sent for this message
- http
Response AnyHeaders - HTTP Headers sent for this message.
- id Number
- ID of this AS2 incoming message record.
- ip String
- IP Address of the Sender
- mdn
Response StringUri - URL to download the http response body
- message
Decrypted Boolean - Message decrypted successfully?
- message
Id String - AS2 Message Id
- message
Mdn BooleanReturned - MDN returned?
- message
Processing BooleanSuccess - Message processed successfully?
- message
Received Boolean - Message body received?
- message
Signature BooleanVerified - Message signature verified?
- mic String
- AS2 Message Integrity Check
- mic
Algo String - AS2 Message Integrity Check Algorithm Used
- processing
Result String - Result of processing.
- processing
Result StringDescription - Result of processing description.
- raw
Uri String - URL to download the original file contents
- recipient
Issuer String - Incoming Message Recipient(the Client Cert used to encrypt this message)'s issuer
- recipient
Serial String - Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial
- replayed
From NumberMessage Id - ID of the incoming message record this message was replayed from. Empty for messages received directly from a trading partner.
- smime
Signed StringUri - URL to download the file contents as smime with signature
- smime
Uri String - URL to download the file contents encoded as smime
- subject String
- AS2 Subject Header
- uuid String
- UUID assigned to this message.
- workspace
Id Number - ID of the Workspace associated with this AS2 Incoming Message.
Package Details
- Repository
- filescom jschady/pulumi-filescom
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
filescomTerraform Provider.
published on Thursday, Nov 5, 2026 by jschady