AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Create a client for the Amazon CloudWatchLogs Service with AWSCredentials and an AmazonCloudWatchLogs Configuration object.

Namespace: Amazon
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public IAmazonCloudWatchLogs CreateAmazonCloudWatchLogsClient(
         AWSCredentials credentials,
         AmazonCloudWatchLogsConfig config
)

Parameters

credentials
Type: Amazon.Runtime.AWSCredentials

AWS Credentials

config
Type: Amazon.CloudWatchLogs.AmazonCloudWatchLogsConfig

Configuration options for the service like HTTP Proxy, # of connections, etc

Return Value
Type: Amazon.CloudWatchLogs.IAmazonCloudWatchLogs
An Amazon CloudWatchLogs client

Remarks

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5