By Admin on Tuesday, 24 May 2022
Category: All

Delphi Amazon AWS SDK

Amazon AWS provides on-demand cloud computing platforms and APIs to individuals, companies, and governments, on a metered pay-as-you-go basis. These cloud computing web services provide distributed computing processing capacity and software tools via AWS server farms.

Our sgcOpenAPI Client Parser can read the OpenAPI / Swagger Amazon AWS specifications and create automatically client interfaces in 100% pascal code, so it can be integrated in any Delphi, CBuilder or Laza​rus Application.

You can check here the full list of more than 280 Amazon AWS Services:

https://www.esegece.com/openapi/apis/amazon-aws-sdk

The list includes popular services like:

Amazon AWS Client 

The sgcOpenAPI Amazon AWS Client (TsgcOpenAPI_Amazon_Client) has it's own OpenAPI Client which inherits from TsgcOpenAPI_Client.

This component has a property called AmazonOptions that includes all required configurations to connect to Amazon AWS Servers. 

AmazonOptions

In AmazonOptions you can define the required AccessKey and SecretKey (which must be generated previously from your Amazon Account), to authenticate against the Amazon AWS Servers.

An access key grants programmatic access to your resources. This means that you must guard the access key as carefully as the AWS account root user sign-in credentials.

It's a best practice to do the following:

  1. Create an IAM user, and then define that user's permissions as narrowly as possible.
  2. Create the access key under that IAM user.

Once you've the credentials, set in the following properties:

The AmazonOptions.JSON property allows to define if the responses are in JSON or XML.

Credentials 

​AWS requires different types of security credentials depending on how you access AWS. For example, you need a user name and password to sign in to the AWS Management Console and you need access keys to make programmatic calls to AWS.

Once you have your own AWS Access Keys, you must configure in the OpenAPI Amazon Client before you do any Request to the Amazon AWS Servers.

Simple Storage Service (S3) 

​Amazon Simple Storage Service (Amazon S3) is an object storage service that offers industry-leading scalability, data availability, security, and performance. Customers of all sizes and industries can use Amazon S3 to store and protect any amount of data for a range of use cases, such as data lakes, websites, mobile applications, backup and restore, archive, enterprise applications, IoT devices, and big data analytics. Amazon S3 provides management features so that you can optimize, organize, and configure access to your data to meet your specific business, organizational, and compliance requirements.

Delphi Amazon AWS SDK Video 

Delphi Amazon AWS SDK Client

Related Posts