AWS SDK for .NET Documentation
CreateAmazonCloudTrailClient Method (awsAccessKey, awsSecretAccessKey, region)
Amazon ► Amazon ► AWSClientFactory ► CreateAmazonCloudTrailClient(String, String, RegionEndpoint)
Did this page help you? Yes No Tell us about it...
Create a client for the Amazon CloudTrail Service with the specified region
Declaration Syntax

C#

    public static AmazonCloudTrail CreateAmazonCloudTrailClient(
    	string awsAccessKey,
    	string awsSecretAccessKey,
    	RegionEndpoint region
    )

Parameters

awsAccessKey (String)
  The AWS Access Key associated with the account

awsSecretAccessKey (String)
  The AWS Secret Access Key associated with the account

region (RegionEndpoint)
  The region to connect to.

Return Value
An Amazon CloudTrail client
Remarks

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