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
 
Creates or updates a Destination. A destination encapsulates a physical resource (such as a Kinesis stream) and allows you to subscribe to a real-time stream of log events of a different account, ingested through PutLogEvents requests. Currently, the only supported physical resource is a Amazon Kinesis stream belonging to the same account as the destination.

A destination controls what is written to its Amazon Kinesis stream through an access policy. By default, PutDestination does not set any access policy with the destination, which means a cross-account user will not be able to call PutSubscriptionFilter against this destination. To enable that, the destination owner must call PutDestinationPolicy after PutDestination.

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

Syntax

C#
public virtual PutDestinationResponse PutDestination(
         PutDestinationRequest request
)

Parameters

request
Type: Amazon.CloudWatchLogs.Model.PutDestinationRequest

Container for the necessary parameters to execute the PutDestination service method.

Return Value
Type: Amazon.CloudWatchLogs.Model.PutDestinationResponse
The response from the PutDestination service method, as returned by CloudWatchLogs.

Exceptions

ExceptionCondition
InvalidParameterException Returned if a parameter of the request is incorrectly specified.
OperationAbortedException Returned if multiple requests to update the same resource were in conflict.
ServiceUnavailableException Returned if the service cannot complete the request.

Version Information

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