Amazon.CloudTrail.AmazonCloudTrailClient.AmazonCloudTrailClient C# (CSharp) Method

AmazonCloudTrailClient() public method

Constructs AmazonCloudTrailClient 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="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonCloudTrailClient ( RegionEndpoint region ) : System
region RegionEndpoint The region to connect.
return System
        public AmazonCloudTrailClient(RegionEndpoint region)
            : base(FallbackCredentialsFactory.GetCredentials(), new AmazonCloudTrailConfig{RegionEndpoint = region}) { }

Same methods

AmazonCloudTrailClient::AmazonCloudTrailClient ( ) : System
AmazonCloudTrailClient::AmazonCloudTrailClient ( AWSCredentials credentials ) : System
AmazonCloudTrailClient::AmazonCloudTrailClient ( AWSCredentials credentials, AmazonCloudTrailConfig clientConfig ) : System
AmazonCloudTrailClient::AmazonCloudTrailClient ( AWSCredentials credentials, RegionEndpoint region ) : System
AmazonCloudTrailClient::AmazonCloudTrailClient ( AmazonCloudTrailConfig config ) : System
AmazonCloudTrailClient::AmazonCloudTrailClient ( string awsAccessKeyId, string awsSecretAccessKey ) : System
AmazonCloudTrailClient::AmazonCloudTrailClient ( string awsAccessKeyId, string awsSecretAccessKey, AmazonCloudTrailConfig clientConfig ) : System
AmazonCloudTrailClient::AmazonCloudTrailClient ( string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region ) : System
AmazonCloudTrailClient::AmazonCloudTrailClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken ) : System
AmazonCloudTrailClient::AmazonCloudTrailClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonCloudTrailConfig clientConfig ) : System
AmazonCloudTrailClient::AmazonCloudTrailClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region ) : System