AWS SDK for .NET Documentation
AmazonStorageGatewayClient Constructor
AmazonAmazon.StorageGatewayAmazonStorageGatewayClientAmazonStorageGatewayClient()()()() Did this page help you?   Yes   No    Tell us about it...
Members
IconMemberDescription
AmazonStorageGatewayClient()()()()
Constructs AmazonStorageGatewayClient 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>

AmazonStorageGatewayClient(RegionEndpoint)
Constructs AmazonStorageGatewayClient 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>

AmazonStorageGatewayClient(AmazonStorageGatewayConfig)
Constructs AmazonStorageGatewayClient 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>

AmazonStorageGatewayClient(AWSCredentials)
Constructs AmazonStorageGatewayClient with AWS Credentials

AmazonStorageGatewayClient(AWSCredentials, RegionEndpoint)
Constructs AmazonStorageGatewayClient with AWS Credentials

AmazonStorageGatewayClient(AWSCredentials, AmazonStorageGatewayConfig)
Constructs AmazonStorageGatewayClient with AWS Credentials and an AmazonStorageGatewayClient Configuration object.

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

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

AmazonStorageGatewayClient(String, String, AmazonStorageGatewayConfig)
Constructs AmazonStorageGatewayClient with AWS Access Key ID, AWS Secret Key and an AmazonStorageGatewayClient 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.

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

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

AmazonStorageGatewayClient(String, String, String, AmazonStorageGatewayConfig)
Constructs AmazonStorageGatewayClient with AWS Access Key ID, AWS Secret Key and an AmazonStorageGatewayClient 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)