ballerinax/aws.simpledb

2.0.0

Overview

The Ballerina AWS SimpleDB provides the capability to manage domains in AWS SimpleDB.

This module supports Amazon SimpleDB REST API 2009-04-15 version.

Prerequisites

Before using this connector in your Ballerina application, complete the following:

  1. Create an AWS account
  2. Obtain tokens

Quickstart

To use the AWS SimpleDB connector in your Ballerina application, update the .bal file as follows:

Step 1: Import connector

Import the ballerinax/aws.simpledb module into the Ballerina project.

Copy

Step 2: Create a new connector instance

You can now enter the credentials in the SimpleDB client configuration and create the SimpleDB client by passing the configuration as follows.

Copy

Step 3: Invoke connector operation

  1. You can create a domain in Amazon SimpleDB as follows with createDomain method for a preferred domain name.

    Copy
  2. Use bal run command to compile and run the Ballerina program.

You can find more samples here

Other versions