Creates an import folder.
An import folder is a temporary storage location and a logical path on Amazon S3. Resource data uploaded to an import folder, can be imported into the Intelligent Risk Platform.
This operation can create the following import folder types: ACCOUNT_VARIATION, AGGREGATE_PORTFOLIO_VARIATION, CEDE, EDM, EXPOSURE_BULK_EDIT MRI, OED, PORTFOLIO_VARIATION RDM.
Depending on the import folder type, an import folder may accept uploads of resource data in one or more file formats:
| Folder Type | File Type | Description |
|---|---|---|
CEDE | bak, mdf | Accepts uploads of CEDE data in BAK or MDF format. |
EDM | bak, mdf | Accepts uploads of an EDM in BAK or MDF format. |
EXPOSURE_BULK_EDIT | json, gz | Accepts uploads of exposure data in JSON or compressed JSON format. |
MRI | csv, txt, xlsx | Accepts uploads of exposure data in CSV, TXT, or XLSX format. |
OED | csv, txt | Accepts uploads of exposure data in CSV or TXT format. format. |
RDM | bak, mdf | Accepts uploads of result data in BAK or MDF format. |
ACCOUNT_VARIATION | parquet | Accepts uploads of account variation in Parquet format. |
PORTFOLIO_VARIATION | parquet | Accepts uploads of portfolio variation in Parquet format. |
AGGREGATE_PORTFOLIO_VARIATION | parquet | Accepts uploads of aggregate portfolio in Parquet format. |
If successful, returns 201 Created HTTP Status code.
The response object returns the folderType, folderId, and a presignParms object that defines the pre-signed credentials (accessKeyId, secretAccessKey, sessionToken, path, region) that can be used to to upload resource data to the import folder.
Upload Data to Import Folder
The Import API does not support operations for uploading data to the import folder on Amazon S3.
To do that, Intelligent Risk Platform tenants must create a AWS client using an AWS SDK. To learn more, see Download and Upload Objects with Presigned URLs in the Amazon Simple Storage Service User Guide.
The pre-signed credentials can be used to upload data to the import folder (an Amazon S3 bucket) on Amazon S3. The uploadUrl specifies the path needed to upload the exposure data to the import folder including the name of the Parquet file, which must follow a specifice pattern: .parquet.
Import Data from Import Folder
Once resource data has been uploaded to an import folder using the AWS client, use the Create Import Job operation to import the data into the Intelligent Risk Platform.
/platform/import/v1/folders, CEDE, EDM, EXPOSURE_BULK_EDIT MRI, OED, RDM, accessKeyId, accountsFile, createimportfolder, fileUri, folderId, folderType, import folder, locationsFile, mappingFile, path, presignParams, properties, region, reinsuranceFile, secretAccessKey, sessionToken, uploadUri
