Create Storage Bucket

Acquire storage bucket on AWS

1435

Overview

In this procedure, you will create a storage bucket that we can use to temporarily store exposure data on Amazon S3. Once we have uploaded our exposure data to this storage bucket using AWS SDK, we can use Risk Modeler API operations to import that data into an EDM.

A storage bucket is a public resource for storing objects on Amazon S3. MRI leverage Amazon Web Services to upload and temporarily store exposure data in to a storage bucket prior to importing that data into an EDM. When the MRI process is complete, the storage bucket and the source files uploaded to it are automatically deleted.

Create storage bucket

The Create storage bucket operation creates an Amazon S3 storage bucket that we can use to temporarily store exposure data prior to importing that data into an EDM.

The operation takes no parameters.

curl --location --request POST 'https://{host}/riskmodeler/v1/storage' \
--header 'Authorization: Bearer XXXXXXXXXXXXXXXXXXX'

If successful, the operation returns a 201 status code and the bucketId of the storage bucket in Location HTTP response header.

We will use this bucketId to identify the storage bucket in all subsequent calls during the MRI workflow.


Next steps

Now that you have created a storage bucket, you can upload flat files of account, location, reinsurance data and a mapping file to that storage bucket.