Amazon.AWSClientFactory.CreateAmazonSimpleNotificationServiceClient C# (CSharp) Method

CreateAmazonSimpleNotificationServiceClient() public static method

Create a client for the Amazon SimpleNotificationService 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 CreateAmazonSimpleNotificationServiceClient ( RegionEndpoint region ) : IAmazonSimpleNotificationService
region RegionEndpoint The region to connect to.
return IAmazonSimpleNotificationService
        public static IAmazonSimpleNotificationService CreateAmazonSimpleNotificationServiceClient(RegionEndpoint region)
        {
            return new AmazonSimpleNotificationServiceClient(region);
        }

Same methods

AWSClientFactory::CreateAmazonSimpleNotificationServiceClient ( ) : IAmazonSimpleNotificationService
AWSClientFactory::CreateAmazonSimpleNotificationServiceClient ( AWSCredentials credentials ) : IAmazonSimpleNotificationService
AWSClientFactory::CreateAmazonSimpleNotificationServiceClient ( AWSCredentials credentials, AmazonSimpleNotificationServiceConfig config ) : IAmazonSimpleNotificationService
AWSClientFactory::CreateAmazonSimpleNotificationServiceClient ( AWSCredentials credentials, RegionEndpoint region ) : IAmazonSimpleNotificationService
AWSClientFactory::CreateAmazonSimpleNotificationServiceClient ( AmazonSimpleNotificationServiceConfig config ) : IAmazonSimpleNotificationService
AWSClientFactory::CreateAmazonSimpleNotificationServiceClient ( string awsAccessKey, string awsSecretAccessKey ) : IAmazonSimpleNotificationService
AWSClientFactory::CreateAmazonSimpleNotificationServiceClient ( string awsAccessKey, string awsSecretAccessKey, AmazonSimpleNotificationServiceConfig config ) : IAmazonSimpleNotificationService
AWSClientFactory::CreateAmazonSimpleNotificationServiceClient ( string awsAccessKey, string awsSecretAccessKey, RegionEndpoint region ) : IAmazonSimpleNotificationService