docs: @Deprecated
      public <T extends AmazonWebServiceClient> T createClient(Class<T> serviceClass,
                                                               AWSCredentialsProvider credentials,
                                                               ClientConfiguration config) {
          Constructor<T> constructor;
          T client;
          try {
              if (credentials == null && config == null) {
                  constructor = serviceClass.getConstructor();
                  client = constructor.newInstance();
              } else if (credentials == null) {
                  constructor = serviceClass.getConstructor(ClientConfiguration.class);
                  client = constructor.newInstance(config);
              } else if (config == null) {
                  constructor = serviceClass.getConstructor(AWSCredentialsProvider.class);
                  client = constructor.newInstance(credentials);
              } else {
                  constructor = serviceClass.getConstructor(AWSCredentialsProvider.class, ClientConfiguration.class);
                  client = constructor.newInstance(credentials, config);
              }
  
              client.setRegion(this);
              return client;
          } catch (Exception e) {
              throw new RuntimeException("Couldn't instantiate instance of " + serviceClass, e);
          }
      }