Amazon.AWSClientFactory.CreateAmazonStorageGatewayClient C# (CSharp) Метод

CreateAmazonStorageGatewayClient() публичный статический Метод

Create a client for the Amazon StorageGateway Service with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSAccessKey" value="********************"/> <add key="AWSSecretKey" value="****************************************"/> </appSettings> </configuration>
public static CreateAmazonStorageGatewayClient ( RegionEndpoint region ) : IAmazonStorageGateway
region RegionEndpoint The region to connect to.
Результат IAmazonStorageGateway
        public static IAmazonStorageGateway CreateAmazonStorageGatewayClient(RegionEndpoint region)
        {
            return new AmazonStorageGatewayClient(region);
        }

Same methods

AWSClientFactory::CreateAmazonStorageGatewayClient ( ) : IAmazonStorageGateway
AWSClientFactory::CreateAmazonStorageGatewayClient ( AWSCredentials credentials ) : IAmazonStorageGateway
AWSClientFactory::CreateAmazonStorageGatewayClient ( AWSCredentials credentials, AmazonStorageGatewayConfig config ) : IAmazonStorageGateway
AWSClientFactory::CreateAmazonStorageGatewayClient ( AWSCredentials credentials, RegionEndpoint region ) : IAmazonStorageGateway
AWSClientFactory::CreateAmazonStorageGatewayClient ( AmazonStorageGatewayConfig config ) : IAmazonStorageGateway
AWSClientFactory::CreateAmazonStorageGatewayClient ( string awsAccessKey, string awsSecretAccessKey ) : IAmazonStorageGateway
AWSClientFactory::CreateAmazonStorageGatewayClient ( string awsAccessKey, string awsSecretAccessKey, AmazonStorageGatewayConfig config ) : IAmazonStorageGateway
AWSClientFactory::CreateAmazonStorageGatewayClient ( string awsAccessKey, string awsSecretAccessKey, RegionEndpoint region ) : IAmazonStorageGateway