/// <summary> /// Create a service client for the specified service interface using the options set in this instance. /// For example if T is set to IAmazonS3 then the AmazonS3ServiceClient which implements IAmazonS3 is created /// and returned. /// </summary> /// <typeparam name="T">The service interface that a service client will be created for.</typeparam> /// <returns>The service client that implements the service interface.</returns> public T CreateServiceClient <T>() where T : IAmazonService { return((T)ClientFactory.CreateServiceClient(null, typeof(T), this)); }