r/Unity3D•
dtopps

Using AWS SDK for DynamoDB

Question

I'm trying to get the AWS SDK setup in Unity to save data to DynamoDB.

I'm following the tutorial here but I'm a bit lost!

When I imported the unity package for DynamoDB I didn't have an awsconfig.xml file or the link.xml file - should I have?

If not and I create from scratch where in the folder structure should these be saved?

Thanks in advance :)

Posted Oct 3, 2016, 8:15 PM UTC

11
Micocrates•

Yes

Here is an example:

<linker>
    <!-- if you are using AWSConfigs.HttpClient.UnityWebRequest option-->
<assembly fullname="UnityEngine">
    <type fullname="UnityEngine.Experimental.Networking.UnityWebRequest" preserve="all" />
    <type fullname="UnityEngine.Experimental.Networking.UploadHandlerRaw" preserve="all" />
    <type fullname="UnityEngine.Experimental.Networking.UploadHandler" preserve="all" />
    <type fullname="UnityEngine.Experimental.Networking.DownloadHandler" preserve="all" />
    <type fullname="UnityEngine.Experimental.Networking.DownloadHandlerBuffer" preserve="all" />
</assembly>
<assembly fullname="mscorlib">
    <namespace fullname="System.Security.Cryptography" preserve="all"/>
</assembly>

<assembly fullname="System">
    <namespace fullname="System.Security.Cryptography" preserve="all"/>
</assembly>
<assembly fullname="AWSSDK.Core" preserve="all"/>
<assembly fullname="AWSSDK.CognitoIdentity" preserve="all"/>
<assembly fullname="AWSSDK.SecurityToken" preserve="all"/>
<assembly fullname="AWSSDK.S3" preserve="all"/>
<assembly fullname="AWSSDK.DynamoDBv2" preserve="all"/>
</linker>

The Bottom part is where you put the services you need, AWSSDK.DynamoDBv2. Here is the link to Docs Just put it in the Assets folder in Unity

1