Using service client classes in the Amazon SDK for C++
The Amazon SDK for C++ includes client classes that provide interfaces to the Amazon services. Each
client class supports a particular Amazon service. For example, the S3Client
provides an
interface to the Amazon S3 service.
The namespace for a client class follows the convention
Aws::Service::ServiceClient
. For
example, the client class for Amazon Identity and Access Management (IAM) is Aws::IAM::IAMClient
and the Amazon
S3 client class is Aws::S3::S3Client
.
All client classes for all Amazon services are thread-safe.
When instantiating a client class, Amazon credentials must be supplied. Credentials can be
supplied from your code, the environment, or the shared Amazon config
file and shared credentials
file. For more
information about credentials, see instructions for setting up the
recommended IAM Identity Center authentication or use another
credential provider that is available.