C# Класс Amazon.Extensions.NETCore.Setup.ClientFactory

The factory class for creating AWS service clients from the AWS SDK for .NET.
Показать файл Открыть проект Примеры использования класса

Приватные методы

Метод Описание
ClientFactory ( Type type, AWSOptions awsOptions ) : System

Constructs an instance of the ClientFactory

CreateClient ( Type serviceInterfaceType, AWSCredentials credentials, ClientConfig config ) : AmazonServiceClient

Creates the service client using the credentials and client config.

CreateConfig ( Type serviceInterfaceType, AWSOptions options ) : ClientConfig

Creates the ClientConfig object for the service client.

CreateCredentials ( AWSOptions options ) : AWSCredentials

Creates the AWSCredentials using either the profile indicated from the AWSOptions object of the SDK fallback credentials search.

CreateServiceClient ( IServiceProvider provider ) : object

Creates the AWS service client that implements the service client interface. The AWSOptions object will be searched for in the IServiceProvider.

CreateServiceClient ( Type serviceInterfaceType, AWSOptions options ) : object

Creates the AWS service client that implements the service client interface. The AWSOptions object will be searched for in the IServiceProvider.