Client Options

Each client class accepts a set of options when constructed, most of which are common to all clients. Options allow you to specify such details as credentials to use and retry strategies etc. 

Each client has an accompanying options interface and class e.g. ISQSOptions and TSQSOptions respectively for use with the TSQSOptions class. 

The following example demonstrates setting static credentials via options:

var Options := TSQSOptions.Create as ISQSOptions; Options.AccessKeyId := '...'; Options.SecretAccessKey := '...'; SQS := TSQSClient.Create(Options);
Copyright © 2019-2021 Appercept Ltd. All rights reserved.