AWS SDK for .NET Documentation
AmazonSQSClient Constructor
AmazonAmazon.SQSAmazonSQSClientAmazonSQSClient()()()() Did this page help you?   Yes   No    Tell us about it...
Members
IconMemberDescription
AmazonSQSClient()()()()
Constructs AmazonSQSClient 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.
CopyC#
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSAccessKey" value="********************"/>
        <add key="AWSSecretKey" value="****************************************"/>
    </appSettings>
</configuration>

AmazonSQSClient(RegionEndpoint)
Constructs AmazonSQSClient 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.
CopyC#
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSAccessKey" value="********************"/>
        <add key="AWSSecretKey" value="****************************************"/>
    </appSettings>
</configuration>

AmazonSQSClient(AmazonSQSConfig)
Constructs AmazonSQSClient 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.
CopyC#
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSAccessKey" value="********************"/>
        <add key="AWSSecretKey" value="****************************************"/>
    </appSettings>
</configuration>

AmazonSQSClient(String, String)
Constructs AmazonSQSClient with AWS Access Key ID and AWS Secret Key

AmazonSQSClient(String, String, RegionEndpoint)
Constructs AmazonSQSClient with AWS Access Key ID and AWS Secret Key

AmazonSQSClient(String, String, AmazonSQSConfig)
Constructs AmazonSQSClient with AWS Access Key ID, AWS Secret Key and an AmazonSQS Configuration object. If the config object's UseSecureStringForAwsSecretKey is false, the AWS Secret Key is stored as a clear-text string. Please use this option only if the application environment doesn't allow the use of SecureStrings.

AmazonSQSClient(String, SecureString, AmazonSQSConfig)
Constructs an AmazonSQSClient with AWS Access Key ID, AWS Secret Key and an AmazonSQS Configuration object

AmazonSQSClient(String, SecureString, RegionEndpoint)
Constructs an AmazonSQSClient with AWS Access Key ID, AWS Secret Key and an AmazonSQS Configuration object

AmazonSQSClient(AWSCredentials)
Constructs AmazonSQSClient with AWSCredentials

AmazonSQSClient(AWSCredentials, RegionEndpoint)
Constructs AmazonSQSClient with AWSCredentials

AmazonSQSClient(AWSCredentials, AmazonSQSConfig)
Constructs AmazonSQSClient with AWSCredentials and an AmazonSQS Configuration object.

AmazonSQSClient(String, String, String)
Constructs AmazonSQSClient with AWS Access Key ID and AWS Secret Key

AmazonSQSClient(String, String, String, RegionEndpoint)
Constructs AmazonSQSClient with AWS Access Key ID and AWS Secret Key

AmazonSQSClient(String, String, String, AmazonSQSConfig)
Constructs AmazonSQSClient with AWS Access Key ID, AWS Secret Key and an AmazonSQSConfig Configuration object. If the config object's UseSecureStringForAwsSecretKey is false, the AWS Secret Key is stored as a clear-text string. Please use this option only if the application environment doesn't allow the use of SecureStrings.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)